Repository navigation
test(desktop): align assistant prompt bounds - #11504
Merged
Git-on-my-level merged 1 commit intoAug 13, 2026
Merged
Git-on-my-level merged 1 commit into
Git-on-my-level merged 1 commit into
Conversation
38d3b8e added tests asserting that the shipped default task prompt fits its sync bound and that task syncs above the legacy 10k — neither has ever been true (the default prompt has exceeded 10k code points since at least June 2026 and is deliberately omitted from sync; backend and client bounds are both 10000), so the desktop Swift suite was red on main and blocked the release train. Restore the tests to the real contract: the oversized shipped prompt is omitted, and all three assistants share the 10k backend bound. The intended bound raise (backend limit must deploy before the client constant moves) is tracked in BasedHardware#11481. Also lowers the down-only source-inspection baselines to current debt (55/148 -> 54/147), per the checker's note. Verification: xcrun swift test --filter APIClientAssistantSettingsTests now 10/10 (was 2 failures on clean main); check_desktop_test_quality.py OK.
kodjima33
added a commit
that referenced
this pull request
Aug 13, 2026
The prompt-bound test repair landed on main via #11504; what remains here is the down-only test-quality ratchet the checker asked for (55/148 -> 54/147). Verification: python3 scripts/check_desktop_test_quality.py -> OK at 54/147.
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
Verification
xcrun swift test --package-path desktop/macos/Desktop --filter APIClientAssistantSettingsTests(10/10 passed)python3 desktop/macos/scripts/check_desktop_test_quality.pyThe future backend-first prompt limit increase remains tracked separately in #11481.
Failure-Class: FC-test-contract-ahead-of-deployed-boundary