Repository navigation
feat(caching): add provider cache writes toggle #2407
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
steebchen
merged 12 commits into
theopenco:main
from
RATCHAW:RATCHAW/api-timeout-cache-toggle
May 28, 2026
Merged
Changes from 2 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
e3921bd
feat(caching): add provider cache writes toggle
RATCHAW efa836c
feat(caching): strip caller-supplied cache_control when disabled
RATCHAW aa1e7b6
fix(caching): gate Bedrock turn-boundary and retry path
RATCHAW 1312b8f
Merge upstream/main into RATCHAW/api-timeout-cache-toggle
RATCHAW 8e490e5
test(caching): narrow cache_control checks without as any
RATCHAW 5304003
chore(db): reset migrations to main before merge
steebchen 169bc62
Merge remote-tracking branch 'origin/main' into RATCHAW/api-timeout-c…
steebchen 6d85e13
chore(db): regenerate migrations after merge
steebchen 45711ca
chore(db): reset migrations to main before merge
steebchen edfe186
Merge remote-tracking branch 'origin/main' into RATCHAW/api-timeout-c…
steebchen 27ffeb9
chore(db): regenerate migrations after merge
steebchen eb5a2c0
test(caching): align prepareRequestBody call with updated signature
steebchen 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
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For dev-plan organizations this new unconditional
isCachingEnabled(project.id)call adds a second project DB dependency even thoughcachingEnabledis forced tofalseon the next line. If Postgres is unavailable and the existingswr:project:<id>mirror used byfindProjectByIdis populated but the newly requiredswr:project:cachingEnabled:<id>mirror is not, dev-plan chat requests that previously proceeded will now fail before reaching the provider becauseisCachingEnabledrethrows on a fallback miss. The provider cache flag is already available on the fetchedproject, so the dev-plan branch can avoid this lookup or default from that row.Useful? React with 👍 / 👎.