Skip to content

fix(manifest-guard): classify generated Go checksums as metadata - #11

Merged
antoinetoussaint-byte merged 1 commit into
mainfrom
fix/generated-go-checksum-metadata
Oct 27, 2026
Merged

antoinetoussaint-byte merged 1 commit into
mainfrom
fix/generated-go-checksum-metadata

Conversation

@antoinetoussaint-byte

@antoinetoussaint-byte antoinetoussaint-byte commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

The manifest guard rejects a generated go.sum.tmpl containing checksums for a transitive test dependency, even when the generated service imports no GitHub client. service-go #128 reproduces this with Core's resources tests pulling go-github/v89.

Classify the exact go.sum.tmpl basename as checksum metadata, matching the scanner's existing treatment of plain go.sum. Generated runtime source and go.mod.tmpl remain scanned. This is a fix at the shared scanner owner, reusing its existing source-type classification; no consumer exclusion, dependency deletion, or second scanner is introduced. Documentation updated: docs/manifest-guard.md.

Validation: all scanner behavioral tests and conformance verification/run/workflow tests pass. New cases accept checksum metadata and still reject GitHub client references in both generated Go source and dependency declarations. Against the exact tracked service-go candidate, the old scanner fails on two checksum lines and the corrected scanner passes. No generated consumer files were edited. Fresh independent architecture/implementation review found no blocking findings at 9928ba2; it independently reproduced the consumer before/after and verified generated Git/GitHub/Argo violations remain detected. Hosted scan-test passed in run 40574673354.

This is the required owner correction for codefly-dev/service-go#128. The consumer will pin the reviewed merged commit; no other owner repository changes are included.

@antoinetoussaint-byte
antoinetoussaint-byte merged commit 26878fe into main Oct 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant