Repository navigation
refactor(runner): share secret selection for command errors and artifacts - #185
Merged
Merged
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
marked this pull request as ready for review
November 20, 2026 09:30
* commit '69d4832': refactor(runner): share Cisco and AIG report file handling (#183) test(runner): share stdout scanner contract cases (#178) refactor(runner): build SkillSpector evidence results once (#172) refactor(profiles): share YAML field definitions for scanners and mounts (#171) ci: skip the Go cache when submissions are unchanged (#175) ci: reuse each submission score for its summary (#174)
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
Command error reporting and artifact redaction selected secret environment names in two places. Use a single selection function, and share the scan setup across the three judge redaction tests.
Scope and trust impact
The selection predicate and value replacement code stay the same. The tests still check stderr, failed stdout and successful JSON keys separately and inspect the serialized artifact for leaks.
Verification
The combined tree passed
go test -count=1 -p=1 ./...,go vet ./...,go run ./cmd/clawscan --help, and the leaderboard Space smoke. The focused redaction tests passed. The submission validator wrote the expected mode-0600 score file against two local fixture rows after the shared writer repair in #186.