Skip to content

feat(release): Require previous beta upgrade evidence#1370

Merged
leumor merged 12 commits into
developfrom
feature/public-beta-upgrade-path-from-previous-candidate
Jun 29, 2026
Merged

feat(release): Require previous beta upgrade evidence#1370
leumor merged 12 commits into
developfrom
feature/public-beta-upgrade-path-from-previous-candidate

Conversation

@leumor

@leumor leumor commented Jun 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add the previous beta candidate summary schema, normalizer, strict validator, and redaction/public-artifact/freshness checks used by production-beta promotion.
  • Require production-beta runs to bind previous-candidate upgrade evidence to the supplied previous beta summary, previous release-certification history, current release version, and current catalog channel/edition.
  • Carry compact previous-candidate upgrade metadata through release certification and go/no-go evidence so stale, mismatched, non-public, or malformed attached evidence fails closed.
  • Restore tracked root Gradle defaults and install them in CI paths, including dependency submission, so local and CI Gradle invocations keep strict dependency verification.
  • Update release-certification, production-beta, multi-node upgrade drill, and go/no-go docs/fixtures for the new previous-candidate evidence flow.

How to test

  • ./gradlew spotlessApply
  • git diff --check
  • python3 -m py_compile tools/release-certification/production_beta_release.py tools/release-certification/multi_node_beta_soak.py
  • python3 tools/release-certification/production_beta_release.py --self-test
  • python3 tools/release-certification/multi_node_beta_soak.py --self-test

Notes

No local pull request template was present in the repository when this PR was created.

leumor added 10 commits June 28, 2026 09:35
Keep repository Gradle defaults in gradle.properties.example and install them into Gradle User Home for CI jobs. This lets local gradle.properties remain machine-specific while preserving strict verification and daemon settings in automated runs.
Read current production catalog editions from previousCandidateMetadata.catalog when attached to the multi-node upgrade drill. Fail attached current summaries that omit catalog editions instead of synthesizing a previous+1 value, and update production beta self-test fixtures to match the emitted summary shape.
Apply production-style public artifact URI validation when strict previous beta candidate summaries are verified. Also avoid printing unsupported JSON field names so malformed summaries cannot leak secret-looking keys into logs.
Reject mismatched previous-summary source identities before generating normalized previous beta candidate evidence. In production-beta mode, require the supplied or restored previous release-certification history summary to match the digest and available identity recorded in the previous candidate summary.

Add self-test coverage for mismatched source summaries, stale explicit history, and stale restored history.
Install Gradle defaults before dependency submission so CI dependency graph generation keeps strict dependency verification.

Require exact pass statuses when validating previous beta candidate summaries so strict production validation matches the generated schema.
Reject future-dated previous beta candidate summaries when production freshness validation is active.

Fail attached current production summaries whose selected catalog channel edition does not advance beyond the previous candidate.
Bind production-beta multi-node upgrade evidence to the current release version before promotion.

Inject the verified previous-candidate summary into generated multi-node soak configs so runner-local restored inputs are used.

Restore tracked root Gradle defaults so local wrapper runs and CI setup keep strict dependency verification.
Validate artifact URI authority syntax before accepting production release evidence.

Reject malformed hosts, empty or invalid ports, and invalid DNS labels for previous-candidate summaries and current artifact bases.
Require production-beta previous-candidate upgrade evidence to match the current run's catalog channel and edition.

Reject attached multi-node summaries from stale or wrong-channel catalog runs before marking promotion ready.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a591535d04

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tools/release-certification/production_beta_go_no_go_dashboard.py
leumor added 2 commits June 29, 2026 04:33
Reject attached multi-node previous-candidate upgrade evidence when its current version, catalog channel, or catalog edition does not match the production beta summary being evaluated.

Update the pass fixture to describe the current 270 candidate and cover stale upgrade evidence with dashboard self-tests.
Refresh rejects same-timestamp catalog bytes with a different content digest as ambiguous. Advance the catalog refresh fixture timestamp so the integration test exercises a valid newer revision.

This fixes the PlatformApiAppsIntegrationTest refresh path that returned 502 in CI.
@sonarqubecloud

Copy link
Copy Markdown

@leumor leumor merged commit 1c2ff9a into develop Jun 29, 2026
21 checks passed
@leumor leumor deleted the feature/public-beta-upgrade-path-from-previous-candidate branch June 29, 2026 05:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant