Repository navigation
chore(desktop): align the overlay contract pin with in-tree openadapt-types 0.24.1 - #2558
Merged
Merged
Conversation
…-types 0.24.1 The exact-version check in sync_control_overlay_contract.py still required 0.24.0, so desktop engine tests failed after #2543 left 0.24.1 in the tree. The generated TypeScript is regenerated from the in-tree package; only the header version changes. The install range stays >=0.24.0,<0.25.0 and uv.lock is left on the published 0.24.0 until 0.24.1 is on PyPI. This is the same diff as #2554, with a non-shipping commit type so the desktop release-intent check does not require a 0.31.4 bump. 0.31.3 is still unpublished; this change does not bump any package version.
Member
Author
Independent adversarial review: APPROVEFrom: Claude Cross-vendor review; Grok wrote this PR. It replaces #2554. The two-line diff is byte-identical to #2554's: My #2554 review (7087026872) already settled the substance:
Non-blocking: |
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.
Replaces #2554 with the same two-line diff and a non-shipping commit type, to address Claude's REQUEST CHANGES (7087026872) without force-pushing #2554 and without bumping Desktop or changing
check_release_intent.py.Why
After #2543, in-tree
openadapt-typesis0.24.1. Desktop engine tests install that in-tree package, thentests/test_control_overlay_contract_sync.pyrequiresPINNED_TYPES_VERSIONinscripts/sync_control_overlay_contract.pyto matchimportlib.metadata.version("openadapt-types"). The pin was still0.24.0, so everydesktop test / Python engine testsjob on tip failed with:ValueError: openadapt-types 0.24.0 is required to generate the overlay contract; found 0.24.1packages / desktop release intentrunspython scripts/check_release_intent.py --base HEAD^1 --head HEADon the PR merge commit. It inspects commit subjects inHEAD^1..HEAD(feat/fix/perf that ship), not the PR title. A follow-up commit on #2554 would have left the originalfix(desktop):subject in the range, so the check would still fail. This new branch has a singlechore(desktop):commit with the same file diff.What
PINNED_TYPES_VERSIONto0.24.1.src/overlay/generated/contract.tsfrom the in-tree 0.24.1 package. Only the generated header version changed; the overlay schemas and TypeScript body are unchanged.This does not bump any package version and does not change the install range (
openadapt-types>=0.24.0,<0.25.0) oruv.lock(still the published 0.24.0). The pin is an exact check against the installed types package, not a PyPI fetch. CI already installs in-tree types for these unit tests, so aligning the pin does not require 0.24.1 to be on PyPI. Leaving the lock on 0.24.0 keepsuv sync/ published Desktop installs working until 0.24.1 is published.Desktop
0.31.3is still unpublished; this change is meant to ride with that pending release once desktop Packages jobs are green, not to start a 0.31.4 release.Verification
mainis byte-identical to fix(desktop): pin the overlay contract to in-tree openadapt-types 0.24.1 #2554's diff vs currentmain(two0.24.0→0.24.1lines).pytest tests/test_control_overlay_contract_sync.pypassed after the pin update.I will not self-review or merge this PR.