Skip to content

release: require green checks and promote only tested immutable artifacts #632

Description

@defangdevs

Audit baseline: 0cc18b8, verified against current master on 2026-09-10.

Trigger and impact. The branch rules API returned only a pull-request rule with zero required approvals and resolved conversations; it returned no required status checks. The public-template workflow runs on pushes to master independently of CI and deployment tests. Thus broken or insufficiently reviewed code can become the public install default. Self-update also follows the repository branch rather than a separately promoted release.

Evidence. The rule snapshot is included in the evidence bundle. See publication trigger, independent deploy-test trigger, and update target resolution. Publication also resolves an external unstable channel during the publishing job; an immutable source commit alone is not a complete release manifest.

Smallest useful fix. Require a stable aggregate CI status and one independent approving review for release-impacting changes. Ensure path-filtered jobs cannot leave the required aggregate pending forever. Build a candidate once, record its exact source/dependency/template identities, run deployment tests against that candidate, then explicitly promote those same artifacts. Point supported installation and update paths to that promoted release. Start with explicit promotion this week; a new release orchestration framework is unnecessary.

Acceptance. A failing or missing check blocks merge/promotion; a failed fresh-boot test leaves public defaults unchanged; an installed box reports the same revision and dependency pins as the tested candidate. Demonstrate rollback.

Priority: P1, a release blocker for the affected supported capability.

Scope: agent-box owns this integration and its fix. Do not change vendored/upstream behavior that already matches its documented contract.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1Fix next: silent data loss or capability already degradedsecurityAuthentication, authorization, credentials, or other security riskstaskGeneral task / chore

Projects

  • Status
    Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions