feat: add early-access build pipeline for main branch#398
Conversation
Adds a Stage workflow that automatically produces a rolling GitHub pre-release tagged `early-access` on every push to main, giving users a way to test latest changes without waiting for a formal release. Resolves guacsec#397 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Review Summary by QodoAdd early-access build pipeline for main branch
WalkthroughsDescription• Adds automated early-access build pipeline for main branch • Builds project with Maven and uploads JAR artifacts • Creates rolling GitHub pre-release with checksums • Enables users to test latest changes without formal release Diagramflowchart LR
push["Push to main"] --> build["Build with Maven"]
build --> upload["Upload JAR artifacts"]
upload --> check["Check existing release"]
check --> delete["Delete old release"]
delete --> sleep["Sleep 5 seconds"]
sleep --> create["Create new pre-release"]
create --> checksum["Generate SHA256 checksums"]
checksum --> assets["Upload assets to release"]
File Changes1. .github/workflows/stage.yml
|
Code Review by Qodo
1.
|
- Split concurrency to job level: build is cancelable, release is not, preventing incomplete early-access releases from mid-flight cancellation - Replace blanket continue-on-error with explicit 404 handling when checking for existing releases, so real API failures are surfaced - Add set -euo pipefail and curl --fail-with-body --retry to asset uploads so server errors fail the workflow instead of passing silently Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
/review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
Adds a Stage workflow that automatically produces a rolling GitHub pre-release tagged
early-accesson every push to main, giving QE a way to test latest changes without waiting for a formal release.Resolves #397