Development record
release/indexregions_test.go checks that no generated region's source directory is one the release cut writes by comparing against a hard-coded list of the cut's write paths, so a new write path added to the cut is not noticed unless someone also updates the list.
issueresolvednitpickiss-2610150749068082
release/indexregions_test.go checks that no generated region's source directory is one the release cut writes by comparing against a hard-coded list of the cut's write paths, so a new write path added to the cut is not noticed unless someone also updates the list.
Grounds
- pursued: a generated index over the directory of any path the release writer writes is reported as one a cut makes stale; TestRegionCheckCoversEveryCutWrite would show it wrong by failing for any written path whose directory the check does not report (it failed on the old list for internal/core/releasedigest/digest.json).
Frontmatter
| id | iss-2610150749068082 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | nitpick |
.abcd/work/issues/resolved/iss-2610150749068082-release-indexregions-test-go-checks-that.md
open on GitHub ↗ · commit history ↗