Repository navigation
feat(windows): record the source commit and require notices in deploy - #22
Merged
Merged
Conversation
deploy.ps1 now writes SOURCE.txt (commit, dirty flag, source tree URL) into every install, and fails when LICENSE-AGPL, LICENSE-MIT, the fork notice or resources/THIRD_PARTY_LICENSES.txt is missing from staging. The notices used to be optional copies, and the prepare_bundled_resources fallback dropped the third-party attributions without failing. Tests: script/windows/test_deploy_compliance.ps1 (8 checks). Refs warp-8hfey Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…parameters prepare_bundled_resources.ps1 no longer takes -CargoProfile; it needs SETTINGS_SCHEMA_EXECUTABLE (or _SOURCE) for the settings schema, as bundle.ps1 sets. deploy.ps1 still passed -CargoProfile, so the call threw and the fallback copied resources\bundled only, without THIRD_PARTY_LICENSES.txt or settings_schema.json. The new compliance check caught it on the first real deploy. Pass the built binary as the schema executable instead. Refs warp-8hfey Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…se-compliance-in-deploy-ps1
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.
Implements T-13 of the Synth Term epic (
specs/SYNTH-TERM/ondocs/synth-term-epic).deploy.ps1writesSOURCE.txtinto every install with the commit, a dirty flag and thesynthet/warpsource tree URL, so each AGPL binary points at its corresponding source.LICENSE-AGPL,LICENSE-MIT,synth-warp-notice.mdorresources/THIRD_PARTY_LICENSES.txtis missing from staging.deploy.ps1still passed-CargoProfile, whichprepare_bundled_resources.ps1no longer accepts. The call threw, and the fallback copiedresources\bundledwithout the third-party licenses orsettings_schema.json. Deploy now passes the built binary asSETTINGS_SCHEMA_EXECUTABLE, asbundle.ps1does.Verification
script/windows/test_deploy_compliance.ps1: 8/8 pass.deploy.ps1,deploy_compliance.ps1and the test, after merging master (fix(ci): cargo-deny 0.22 config and rustfmt on master #17's lint renames).-NoShortcut -NoContextMenu -NoRestart):THIRD_PARTY_LICENSES.txt, as designed.SOURCE.txt, all four notices (THIRD_PARTY_LICENSES.txtis 1.37 MB) andsettings_schema.json.Known gap, filed as warp-61145: with
-SkipBuild,SOURCE.txtrecords HEAD at deploy time, which can differ from the commit the installed binary was built from.Refs warp-8hfey
🤖 Generated with Claude Code