Skip to content

Select published Python SDKs no newer than the CCF release - #8938

Merged
Amaury Chamayou (achamayou) merged 4 commits into
mainfrom
agents/release-prerelease-sdk
Dec 4, 2026
Merged

Amaury Chamayou (achamayou) merged 4 commits into
mainfrom
agents/release-prerelease-sdk

Conversation

@eddyashton

@eddyashton Eddy Ashton (eddyashton) commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Release tests should select the highest published Python SDK no newer than the CCF version under test, including prereleases. Older-major SDKs remain eligible; newer SDKs must not be used.

The 8.0.0-dev1 release run failed verifying an ML-DSA recovery endorsement with an older stable SDK, while PR CI passed using the source SDK. Prerelease eligibility lets the release tests use an ML-DSA-aware SDK once published; the upper bound prevents older CCF releases from selecting newer SDKs.

For example, CCF 7.0.50 may use SDK 6.x or 7.0.49, but not 7.0.51 or 8.x. CCF 8.0.0.dev2 may use SDK 8.0.0.dev1, but not 8.0.0 final.

Validation

Manually exercised all four installation commands against local wheels: older-major fallback, rejection of newer patch and major versions, development and final release ordering, and explicit failure when no eligible SDK exists. Also checked version normalization and the publishing helper default rejection of local versions. The temporary test harness is not included in this PR.

The workflow version-derivation command, shell syntax, ShellCheck, Black, Prettier, prose layout, ASCII, copyright, disallowed-comment and whitespace checks passed. Independent review found no significant issues.

The full Release workflow has not been rerun and still requires publishing the updated SDK.

Include published SDK prereleases when testing release builds and installed packages, while preserving editable SDK installs for normal CI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@eddyashton
Eddy Ashton (eddyashton) requested a review from a team as a code owner December 3, 2026 16:04
Copilot AI balanced review requested due to automatic review settings December 3, 2026 16:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified in the prerelease SDK selection changes.

No open issues 🎉

What changed in this PR

Allows release tests to select prerelease Python SDKs, avoiding fallback to older stable SDKs that lack support for newer CCF features.

Changes:

  • Adds --prerelease allow to all four released-SDK installation commands.
  • Updates sandbox messages and documentation while preserving local SDK behavior for normal development and CI.

Custom instructions used: No repository instruction files loaded.

File Description
tests/​tests.sh Allows prerelease SDKs in release tests.
tests/​test_install.sh Allows prerelease SDKs in installed-package tests.
tests/​sandbox/​sandbox.sh Updates both SDK installation paths and messages.
.pipelines/​README.md Documents prerelease SDK selection.
.github/​workflows/​README.md Clarifies release-test SDK behavior.
.github/​skills/​testing/​SKILL.md Updates testing guidance and installation command.

Review effort: Balanced

Normalize the build version into a job-wide SDK upper bound. Permit prereleases and older-major SDKs, but never select an SDK newer than the CCF version being tested. Add local-wheel resolver regressions for all release install paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings December 3, 2026 16:17
@eddyashton Eddy Ashton (eddyashton) changed the title Allow prerelease Python SDKs in release tests Select published Python SDKs no newer than the CCF release Dec 3, 2026
Keep local resolver checks as manual validation rather than adding a wheel-generation test framework for release scripts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The new SDK-selection and --public regression tests are not collected or explicitly invoked by CI, leaving these cases unprotected in PR checks.

No open issues 🎉

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings December 3, 2026 16:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new --public compatibility-bound path lacks CI regression coverage for public-version normalization and local-suffix stripping while preserving default local-version rejection.

1 open issue

Review effort: Balanced

Comment thread scripts/derive_python_version.py Resolved
@achamayou
Amaury Chamayou (achamayou) added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit 3507b1c Dec 4, 2026
22 checks passed
@achamayou
Amaury Chamayou (achamayou) deleted the agents/release-prerelease-sdk branch December 4, 2026 09:38
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.

3 participants