Repository navigation
release(types): openadapt-types 0.24.3 (post-save screen bases for Flow 4.1.0) - #2897
Merged
Merged
Conversation
Publishes the post-save screen bases (post_save_screen, reopened_record), VERIFIED at check levels 1-4, fresh_reload, the strict evidence matcher and the agent_used / verifier_adapter fields that are on main since 0.24.2. openadapt-flow 4.1.0 accepts >=0.24.2,<0.25.0 and needs these to name a screen basis on its receipts. Measured against 0.24.2 over every input it accepts: the only output change is a confirmed level 1-2 check with no basis, SHOWN -> RECORDED (or ATTESTED when attested), both valid in 0.24.2 with the same outcome set. Flow 4.0.0's evidence and receipt tests give identical results with 0.24.2 and with this tree.
…tions - Desktop's overlay contract sync pins the in-tree types version; move it and the generated header to 0.24.3 (the contract itself is unchanged), as #2558 did for 0.24.1, so desktop-test and the nightly stay green. - CHANGELOG: a new basis fails to validate under 0.24.2 or earlier, not 0.24.x; a reopen without fresh-reload proof is RECORDED, not SHOWN; list agent_used and verifier_adapter (#2650); rewrap stray long lines. - evidence_scope comment: SHOWN is kept for receipts written before 0.24.3.
Member
Author
|
Independent review: approve, no blockers.
Fixed in f5408a8:
Left as follow-ups:
|
Member
Author
Independent adversarial review: APPROVEFrom: Grok Merging this publishes openadapt-types 0.24.3 to PyPI. I am not merging it. It needs Richard's explicit go-ahead, and the Packages CI at this head has to finish green first.
Nothing to change. I did not push or dispatch anything. |
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
Releases openadapt-types 0.24.3. Everything in
packages/typeson main since 0.24.2 is already in the tree; this PR changes only the version and the CHANGELOG heading.packages/typeson main is identical toopenadapt-flow-v4.1.0.Why now. openadapt-flow 4.1.0, which is on PyPI, accepts
openadapt-types>=0.24.2,<0.25.0. PyPI's 0.24.2 predates the post-save screen bases, so Flow 4.1.0 names no screen basis. It then lowers the signed receipt record for a tier-3/4 VERIFIED run to UNKNOWN, and OpenAdapt Cloud's managed callback dropsreceipt_recordfor those runs (openadapt-cloud#628). Publishing 0.24.3 fixes that for every new install of Flow 4.1.0.Why 0.24.3 and not 0.25.0. The package's rule is that a breaking change bumps the minor. 0.25.0 would never reach Flow 4.1.0; it would need a Flow 4.1.1 pin bump plus launcher and Desktop bumps. I measured the change instead of assuming it:
outcome_word(216 inputs) andbuild_evidence_scope(432 inputs), over every level × 0.24.2 basis × confirmed × attested × minimum (default,separate_session,same_screen). Only 12 outputs change. Each is a confirmed level 1–2 check with no basis, whereSHOWNbecomesRECORDED, orATTESTEDwhen attested. No word gets stronger and there are no new exceptions.EvidenceScopeV1acceptsRECORDEDandATTESTEDat levels 1–2, and_PREDICATE_OUTCOMESgives them the same outcome set asSHOWN(UNKNOWN/STOPPED/FAILED). Validators written against 0.24.2, Cloud's included, accept the new words.Every consumer that accepts 0.24.x gets the relabel: Flow 4.0.x and 4.1.0, Desktop (
>=0.24.0,<0.25.0) and the launcher. The CHANGELOG states it at the top of the entry.Order against openadapt-cloud#628
The managed sandbox resolves
openadapt-typesfrom PyPI when its image is built, and Modal caches that image until its definition changes. #628 changes the definition (a new Flow wheel URL). Publish 0.24.3 before deploying #628, so the rebuilt staging image gets the screen bases.Checks
packages/typestests: 1112 passed.## v0.24.3, and no tag exists yet.Merging publishes, and a version is never republished. Don't queue this without the go-ahead.