Repository navigation
chore(golden): retire the TS golden capture tool (RIG-5901) - #100
Merged
rigel-nemo[bot] merged 1 commit intoNov 22, 2026
Merged
rigel-nemo[bot] merged 1 commit into
rigel-nemo[bot] merged 1 commit into
Conversation
The TS scanners that tools/golden/capture.ts loaded were removed in e33ea85 (RIG-8120), and the goldens were hand-edited after capture in 7c11e6b (RIG-8633). Re-running the tool would undo that edit and cannot load its oracle, so it is dead code. Remove the tool and its moon golden-capture task. Co-authored-by: Matt Wilkinson <matt@rigel.build>
Contributor
Author
|
All-clear at b70549a |
|
Checks read:
|
rigel-nemo
Bot
deleted the
go-migration/rig-5901-retire-the-ts-golden-capture-tool
branch
November 22, 2026 22:42
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.
What does this do
Deletes
tools/golden/capture.tsand the moongolden-capturetask inmoon.yml.Why do we need it
The goldens are frozen. RIG-8633 (7c11e6b) hand-edited the ts-golden JSON files and corpus inputs after capture, so re-running the tool would undo that edit. The tool also loads
packages/comment-scan/<module>, which RIG-8120 (e33ea85) removed, so it cannot run on main. The only caller is the moon task itself. Refs RIG-5901.Summary
golden-captureandtools/goldenappear only in the two files this commit changes.Verification
jj git fetch: no change on origin.git grepon main 58fbf74 forgolden-captureandtools/golden: onlymoon.ymlandtools/golden/capture.ts.Risks
None known. Six in-flight bookmarks still carry the old moon task; their owners rebase.
Spec impact
Spec-impact: none
Refs RIG-5901
Co-authored-by: Matt Wilkinson matt@rigel.build