Skip to content

chore(memory): name the guard tests of the 2 #104 corrections in promoted_to - #111

Merged
bketelsen merged 1 commit into
mainfrom
chore/corrections-promoted-to-pr104
Nov 14, 2026
Merged

bketelsen merged 1 commit into
mainfrom
chore/corrections-promoted-to-pr104

Conversation

@frostyard-machines

Copy link
Copy Markdown

Summary

The 2 correction records from #104 named their guard tests in evidence but left promoted_to empty. The corrections report (core scripts/corrections-report.mjs at 3d3d5c7, --ref origin/main --json) counted them as pending. This PR fills promoted_to with the guard file, as the other records name their guard files (core ADR-0018, ADR-0081).

Record Guard test (in internal/releaseasset/sysext_write_guard_test.go)
.memory/corrections/2026-11-13-pr-104-first-412-conflict.json TestUploadGuardFirstAttemptConflictWithIdenticalBytesFails (line 1028)
.memory/corrections/2026-11-13-pr-104-first-publish-ext.json TestFirstPublishRestoreGenerateUpload (line 1078)

Only promoted_to changes; the other 4 fields stay unchanged.

Checks

  • make check scope: make verify passed inside make ci (tidy, vet, gofmt, lint 0 issues, docs integrity, unit tests; baseline reads 25 corrections records)
  • make ci partly: verify, vuln (No vulnerabilities found.), test-race and build-cross passed locally. This host has no Docker, so test-packages-docker and test-integration run in CI only.
  • Both guard tests pass (--- PASS in the make ci log).
  • core scripts/check-corrections.mjs (origin/main 433f9e6): ok corrections: 25 records, append-only vs origin/main
  • core scripts/corrections-report.mjs on the branch: pending: 0 (it was 2 at origin/main 5f0d181).

Risk tier

  • Tier 1: Low

Rationale: A records-only change under .memory/corrections/. No code, no workflow, and no path in .github/risk-paths.json changes. Revert test: exempt (records-only, no new behavior).

…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).
@github-actions github-actions Bot added the level:L3 Skim label Nov 14, 2026
@frostyard-machines

Copy link
Copy Markdown
Author

Cross-review: Ready, Blocking: none, findings: none.

  • Reviewer: openai/gpt-6.1-sol; coder: anthropic/claude-opus-5-5.
  • Reviewed base 5f0d1811a1c0274d46c2309a410f7cd0a70924f4, head ec16be38ab48d9f7a765fa97b7e79657c7397aa5 (the current PR head).
  • Verified: only promoted_to changes; the 5-field order, 2-space form and final newline stay; the value matches the repository's convention; both named tests exist in internal/releaseasset/sysext_write_guard_test.go and guard the behavior their records state.
  • Revert test: exempt (records-only, no new behavior).
  • CI at this head: make ci pass, pr-triage pass.

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 14, 2026
@codecov

codecov Bot commented Nov 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@bketelsen
bketelsen added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 0534bfd Nov 14, 2026
4 checks passed
@bketelsen
bketelsen deleted the chore/corrections-promoted-to-pr104 branch November 14, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L3 Skim ready-for-human Reviewed, CI green: ready for Brian to review and merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants