Repository navigation
Add post-deploy verification judgment, selector, and polling helpers - #121
Open
winnerdebest wants to merge 1 commit into
Open
winnerdebest wants to merge 1 commit into
winnerdebest wants to merge 1 commit into
Conversation
This branch has not been deployed
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
Brings post-deploy verification judgment, deploy filtering, and polling parity with
proofline ci deploytoproofline-sdkfor teams driving post-deploy progression, canary checks, or automated rollback workflows from Python (such as Argo Rollouts hooks, AWS Lambda/Step Functions, Dagster/Prefect pipelines, or custom release controllers):
- Top-level exports for
- Documentation & Tests:
- Documented deploy verification waiting, filtering, and single-read judgment in
- Added synchronous and asynchronous HTTP tests in
`). first staart with a review firstproofline/deploys.py:DeploySelector,DeployReading, andDeployVerificationOutcomefrozen dataclasses.judge_deploy_verifications()evaluatingCommitDeployVerificationsthrough a target checkpoint (LANDING,MINUTES_20,HOUR_1,DAY_1) intoNO_REGRESSION,REGRESSED,INCOMPLETE, orTIMED_OUTfollowing the same rules and vocabulary ascli/src/deploy.rs.proofline/client.py&proofline/__init__.py:get_commit_deploy_verifications()with 40-character lowercase hexadecimalcommit_shavalidation before sending a request.wait_for_deploy_verifications()on bothProoflineClientandAsyncProoflineClientwith deadline-bounded exponential backoff (5sto60s).CommitDeploy,CommitDeployVerifications,DeployCheckpoint,DeployReading,DeploySelector,DeployVerificationOutcome, andjudge_deploy_verifications.README.md.tests/test_http.pyexercising all checkpoints, selector combinations, polling backoff, timeouts, pre-request validation, and malformed payload handling.-->