build(wasm): add release-please WASM update, staleness detection, and Go CI#95
Closed
aepfli wants to merge 0 commit into
Closed
build(wasm): add release-please WASM update, staleness detection, and Go CI#95aepfli wants to merge 0 commit into
aepfli wants to merge 0 commit into
Conversation
9c595af to
7638db9
Compare
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
flagd_evaluator.wasm) as the canonical committed binarygo/.gitignoreto exclude local WASM copies from git trackingwasm-staleness.yml) that compares SHA256 hashes on PRs touchingsrc/orCargo.tomltest-goCI job that downloads the WASM artifact and runs Go tests (conditional ongo/go.modexisting)infratype to release-please changelog config and PR title validationRelease flow
mainCargo.tomlupdate-wasm-on-release-prjob builds WASM from the version-bumped source and commits the binary into the release PRStaleness detection
A CI job on PRs that touch
src/,Cargo.toml, orCargo.lockrebuilds the WASM and compares the SHA256 hash to the committed binary. Warns if they differ (non-blocking since staleness during development is expected).Go package CI
The
test-gojob depends on thebuild-wasmjob. It downloads the freshly built WASM artifact intogo/and runsgo test. The job is conditional ongo/go.modexisting, so it will activate when the Go package from #71 is merged.Closes #83
Test plan
cargo test)wasm-staleness.ymlruns on PRs touchingsrc/test-gojob is skipped (nogo/go.modyet)update-wasm-on-release-prjob structure🤖 Generated with Claude Code