Repository navigation
ci: harden QPK GitHub App control-plane health and secondary key failover - #632
Merged
Merged
Conversation
…ry key Add a read-only scheduled App health workflow and primary/secondary private-key failover for pin sync, keeping PAT only as a migration fallback. Co-authored-by: Cursor <cursoragent@cursor.com> Co-Authored-By: Codex <noreply@openai.com>
Pigbibi
force-pushed
the
codex/qpk-app-health-check-20260920
branch
from
September 19, 2026 22:50
18d4bb1 to
41becff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
qpk-github-app-healthworkflow that mints a short-lived installation token (primary key first, secondary only if needed), verifies the 15 QuantStrategyLab sync repos plusQPK_PINreadback, and fails closed with a sanitized summary.open-downstream-qpk-pin-prsto the same primary/secondary App token selection while retainingQSL_REPO_SYNC_TOKENonly as a migration fallback.QSL_GITHUB_APP_PRIVATE_KEY_SECONDARY, rotation/failover, action dual-key limitation (continue-on-error, no key concatenation), and that Binance authority PATs stay separate.Test plan
python3 -m pytest tests/test_qpk_github_app_health_workflow.py tests/test_update_qpk_pin_workflow.py -q --tb=short→ 11 passedgit diff --checkactionlint .github/workflows/qpk-github-app-health.yml .github/workflows/open-downstream-qpk-pin-prs.ymlqpk-github-app-healthand confirmtoken_source/result: passwithout secret leakageMade with Cursor