Repository navigation
AI-3516: finish retried syncs and claims, save configs only over what they read #2276
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
martinmitrevski
merged 6 commits into
main
from
martinmitrevski/ai-3516-a-retried-sync-or-guest-claim-is
Nov 23, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
90b14ff
fix(api): save an agent config onto its locked row, not a copy
martinmitrevski 309e1ff
fix(sync): store a directory's hash after its skills and simulations
martinmitrevski 36d9f1f
fix(guests): finish a claim sent again rather than answer it done
martinmitrevski 595c782
fix(api): save an agent config only over the copy it was made from
martinmitrevski 39fe595
fix(guests): mark a claim finished once its last step ran
martinmitrevski 97593ea
chore(sdks): regenerate .NET, PHP, Rust and Ruby models for updated_at
martinmitrevski 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| `AgentConfigPatch` has a new optional field, `updated_at` (a date-time): the `updated_at` of the config a patch was made from (AI-3516). Sent, `PATCH /v1/agents/configs/{id}` refuses the patch with a 409 `conflict` when the config was saved after it; left out, nothing changes for the caller, and the router now makes the patch on the row as it stands, so two patches at once to different fields both land. Go has it through the regenerated `acceleration.AgentConfigPatch.UpdatedAt` (`sdks/go/acceleration/generated.go`), Python through the regenerated `AgentConfigPatch.updated_at` and JavaScript through the regenerated `Schemas["AgentConfigPatch"]`. Other SDKs need to update: .NET, Ruby, Rust and PHP add the field to their `AgentConfigPatch` model when they regenerate, serialised as RFC 3339 and left out when unset. Swift, Kotlin and Dart have no patch operation, which is server-side only. No SDK sends it on its own: a helper that patches a config (`UpdateConfig` in Go, `updateConfig` in JavaScript) passes it through only when its caller set it. |
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.
Uh oh!
There was an error while loading. Please reload this page.