Repository navigation
chore(memory): name the guard tests of the 2 #104 corrections in promoted_to - #111
Merged
Merged
Conversation
…oted_to Both records from #104 name their guard test in evidence, but left promoted_to empty, so the corrections report counted them as pending. The guards exist in internal/releaseasset/sysext_write_guard_test.go (TestUploadGuardFirstAttemptConflictWithIdenticalBytesFails and TestFirstPublishRestoreGenerateUpload); promoted_to now names that file, as the other records name their guard files (core ADR-0018, ADR-0081).
Author
|
Cross-review: Ready, Blocking: none, findings: none.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
bketelsen
approved these changes
Nov 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The 2 correction records from #104 named their guard tests in
evidencebut leftpromoted_toempty. The corrections report (corescripts/corrections-report.mjsat3d3d5c7,--ref origin/main --json) counted them as pending. This PR fillspromoted_towith the guard file, as the other records name their guard files (core ADR-0018, ADR-0081).internal/releaseasset/sysext_write_guard_test.go).memory/corrections/2026-11-13-pr-104-first-412-conflict.jsonTestUploadGuardFirstAttemptConflictWithIdenticalBytesFails(line 1028).memory/corrections/2026-11-13-pr-104-first-publish-ext.jsonTestFirstPublishRestoreGenerateUpload(line 1078)Only
promoted_tochanges; the other 4 fields stay unchanged.Checks
make checkscope:make verifypassed insidemake ci(tidy, vet, gofmt, lint0 issues, docs integrity, unit tests; baseline reads 25 corrections records)make cipartly:verify,vuln(No vulnerabilities found.),test-raceandbuild-crosspassed locally. This host has no Docker, sotest-packages-dockerandtest-integrationrun in CI only.--- PASSin themake cilog).scripts/check-corrections.mjs(origin/main433f9e6):ok corrections: 25 records, append-only vs origin/mainscripts/corrections-report.mjson the branch:pending: 0(it was2at origin/main5f0d181).Risk tier
Rationale: A records-only change under
.memory/corrections/. No code, no workflow, and no path in.github/risk-paths.jsonchanges. Revert test: exempt (records-only, no new behavior).