Repository navigation
fix: type safety, defensive defaults, and unbounded retry prevention #1553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
kevincodex1
merged 25 commits into
Twigpine:main
from
skyhighbg22-jpg:fix/code-quality-and-defensive-defaults
Jun 22, 2026
Merged
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
4d54d5d
fix: type safety, defensive defaults, and unbounded retry prevention
skyhighbg22-jpg aed3744
test: enable UNATTENDED_RETRY feature in bun test scripts
skyhighbg22-jpg 0243028
test: cover persistent retry cap driven through real gate
skyhighbg22-jpg 3d0b227
test: defensively clear leaked env vars in client.test.ts
skyhighbg22-jpg cd2dac6
test: isolate countMcpToolTokens tests from mcp.ts env-var side effect
skyhighbg22-jpg 9e1d401
fix: validate against EXTERNAL_PERMISSION_MODES; confine persistent r…
skyhighbg22-jpg d61b253
feat: emit telemetry when persistent retry cap is reached
skyhighbg22-jpg ff28014
fix: surface changelog cache-write failures in migration
skyhighbg22-jpg 2d44e7c
fix: split mkdir and writeFile in changelog migration
skyhighbg22-jpg 33f9ed9
fix: stop overriding getGlobalConfig in user.test.ts mock
skyhighbg22-jpg aa9f9fd
Merge branch 'main' into fix/code-quality-and-defensive-defaults
skyhighbg22-jpg ab5a7a7
Merge branch 'main' into fix/code-quality-and-defensive-defaults
skyhighbg22-jpg fc870de
Fix leftover conflict marker in QueryEngine.ts
skyhighbg22-jpg 8eb7219
fix: remove stale retry guard and handle mkdir EEXIST
skyhighbg22-jpg 3b9032e
test: don't restore OPENAI auth header env vars in afterEach
skyhighbg22-jpg e542390
fix: remove duplicate OPENAI_AUTH_* keys in originalEnv (TS1117)
skyhighbg22-jpg 1414b6c
fix: restore OPENAI auth header snapshot and move MCP lock to top-level
skyhighbg22-jpg 79072d8
fix: use splice for atomic array replacement in snip replay
skyhighbg22-jpg 197dd22
ci: add UNATTENDED_RETRY feature flag to release workflow test command
skyhighbg22-jpg 38b953c
fix: clear auth env vars in shared setup; add telemetry at persistent…
skyhighbg22-jpg bac72d6
fix: make persistent retry cap test pass without --feature=UNATTENDED…
skyhighbg22-jpg c034103
fix: normalize REPL bridge permissionMode against EXTERNAL_PERMISSION…
skyhighbg22-jpg a6fb1d2
fix: export isPersistentRetryEnabled for test-side feature-gate asser…
skyhighbg22-jpg 85ea136
fix: use isPersistentRetryEnabled() as real feature gate in retry cap…
skyhighbg22-jpg d287c2f
fix: restore missing retryableRateLimit declaration in persistent ret…
skyhighbg22-jpg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.