Skip to content

fix: keep generated release outputs out of VCS dirtiness - #1078

Merged
intel352 merged 1 commit into
mainfrom
fix/release-output-provenance-20261016
Oct 16, 2026
Merged

intel352 merged 1 commit into
mainfrom
fix/release-output-provenance-20261016

Conversation

@intel352

Copy link
Copy Markdown
Contributor

Snapshot builds the Windows server executable before the Linux CLI. The root .gitignore has an early *.exe rule followed by !*.*, so generated release files become untracked and the CLI records vcs.modified=true.

Add root /dist/ after the allow-list rules. This preserves generated files and Go VCS stamping, limits the change to the generated release directory, and leaves all source/build commands, workflows, authority maps, dependencies and security settings unchanged. Exact base b8385b7914cd8e94fb5657ff8c63a999bbba365a, head c2fc267a9bcd1f2431cda8d387b621327bc46af7, tree 8c08d644d8441bca6c644c0ca0a14c3290ce4ee3; only .gitignore changes and the other 3,551 tracked blobs/modes match.

Validation: a Git fixture reproduces the original generated-output dirtiness, verifies clean status with all 12 representative release outputs under the candidate rule, and still detects tracked source changes and new Go source. Reverting the rule reproduces the defect; restoring it passes. Both independent source reviews have no blocking findings, and the configured commit hook passes. This PR's own CI and actual merged-main snapshot/release artifact metadata remain required. Known vulnerability reports and incomplete security coverage remain separately recorded; advisory performance is not an acceptance veto. No deployment or credential issuance.

Ignore the root dist directory after the extension allow-list rules.
The snapshot builds a Windows server executable before wfctl, and the
later !*.* rule otherwise makes that generated binary appear untracked.
Keep Go VCS stamping enabled and preserve all generated artifacts.
@intel352
intel352 merged commit b12aff3 into main Oct 16, 2026
23 of 24 checks passed
@intel352
intel352 deleted the fix/release-output-provenance-20261016 branch October 16, 2026 18:52
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