Skip to content

ci: fail closed on aggregate QPK pin conflicts - #296

Merged
Pigbibi merged 2 commits into
mainfrom
codex/qsl-qpk-aggregate-pin-writer-fail-closed-20260805
Aug 5, 2026
Merged

ci: fail closed on aggregate QPK pin conflicts#296
Pigbibi merged 2 commits into
mainfrom
codex/qsl-qpk-aggregate-pin-writer-fail-closed-20260805

Conversation

@Pigbibi

@Pigbibi Pigbibi commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • keep strategy refs unchanged when the QPK pin writer updates its own revision
  • require an isolated dependency-enabled aggregate install and pip check before PR creation
  • fail closed with sanitized reasons; cover conflict and success paths with static workflow tests

Validation

  • focused workflow tests: 3 passed
  • full QPK tests: 896 passed, 1 skipped
  • actionlint, Ruff, compile, package, scope2, secret and diff gates passed

No pin manifest, production Python, provider, runtime, deployment, or downstream workflow dispatch change.

Pigbibi and others added 2 commits August 5, 2026 17:29
Co-Authored-By: Codex <noreply@openai.com>
Co-Authored-By: Codex <noreply@openai.com>
@Pigbibi
Pigbibi merged commit 2f75b59 into main Aug 5, 2026
1 check passed
@Pigbibi
Pigbibi deleted the codex/qsl-qpk-aggregate-pin-writer-fail-closed-20260805 branch August 5, 2026 09:35

@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: 6ff886f4dc

ℹ️ 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".

src/quant_platform_kit.egg-info/PKG-INFO \
src/quant_platform_kit.egg-info/SOURCES.txt
resolver_python="$resolver_env/bin/python"
if ! "$resolver_python" -m pip install -r qsl-pins.txt >"$resolver_log" 2>&1; then

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Publish QPK_PIN before enforcing aggregate resolution

When the strategy repos still declare their previous direct QPK pin—the normal state until downstream sync runs—pip install -r qsl-pins.txt installs both the newly rewritten QPK requirement and those strategy packages as top-level requirements (pip install --help describes -r as installing from the requirements file), so pip rejects the aggregate before the PR step can run. Because scripts/open_downstream_qpk_pin_prs.py reads the landed QPK_PIN to open downstream alignment PRs, this ordering deadlocks ordinary QPK pushes: the pin PR never opens, so downstream never gets the canonical SHA needed to resolve the conflict.

Useful? React with 👍 / 👎.

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