Conversation
…rtifacts
Replace DownloadPipelineArtifact@2 tasks (pipeline 2437, project 4x4) in both
standalone and 1ES templates with curl downloads from GitHub Releases, verified
via SHA256 checksums. The compiler embeds its own CARGO_PKG_VERSION at compile
time so generated pipelines always fetch the matching release.
Changes:
- Add .github/workflows/release.yml (triggered on v* tags)
- Update templates/base.yml and templates/1es-base.yml (6 download sites)
- Add {{ compiler_version }} marker replacement in both compilers
- Add integration test assertions for new download mechanism
- Document {{ compiler_version }} marker in AGENTS.md
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Replace manual tag-triggered release with release-please automation: - On push to main, release-please maintains a Release PR with changelog and Cargo.toml version bump (based on conventional commits) - Merging the Release PR creates the git tag and GitHub Release - Build job then compiles the binary and uploads assets to the release Bump logic: fix: → Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Rust PR ReviewSummary: Has a critical bug — checksum verification will always fail in generated pipelines due to filename mismatch. Findings🐛 Bugs / Logic Issues
|
Fix critical bug where sha256sum --check would always fail because the binary was downloaded as 'ado-aw' but the checksum file references 'ado-aw-linux-x64'. Now downloads as 'ado-aw-linux-x64', verifies the checksum, then renames to 'ado-aw'. Fixed in all 6 download blocks across both templates. Also: - Pin GitHub Actions to commit SHAs for supply-chain security - Add set -euo pipefail to release asset preparation step Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Rust PR ReviewSummary: Looks good — clean migration from internal ADO artifact to public GitHub Releases with checksum verification. Two minor issues worth addressing. Findings
|
- Add --clobber to gh release upload for idempotent retries
- Add integration test that compiles a fixture through the binary and
verifies no unreplaced {{ markers }} remain in the output, confirming
{{ compiler_version }} is correctly substituted
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
🔍 Rust PR ReviewSummary: Looks good — clean migration from ADO pipeline artifacts to GitHub Releases with SHA256 verification. One actionable concern worth fixing before merge. Findings
|
No description provided.