Skip to content

fix(agents): pin GitHub reads to HEAD so new agents appear - #524

Merged
ryw merged 1 commit into
mainfrom
tembo/fix-agent-sync-after-commit
Sep 10, 2026
Merged

fix(agents): pin GitHub reads to HEAD so new agents appear#524
ryw merged 1 commit into
mainfrom
tembo/fix-agent-sync-after-commit

Conversation

@ryw

@ryw ryw commented Sep 10, 2026

Copy link
Copy Markdown
Member

Fixes #493.

New agents committed outside TAS (Tembo CAP, a direct push, YOLO mode) could 404 and stay missing from the Agents list and search for minutes. GitHub Contents reads were cached for 60s against the branch name, including 404s, and nothing busted that cache on an external commit.

Contents reads now pin to the current HEAD sha (5s in-process debounce, coalesced per replica). A new commit is a new cache key, so the next page load sees the file within a few seconds instead of serving a stale listing or cached 404.

TAS writes still call updateTag and pin HEAD to the write’s commit sha for read-your-own-writes.


Want tembo to make any changes? Add a comment with @tembo and i'll get back to work!

View on Tembo  Review in Tembo  View Agent Settings

Co-authored-by: Ry <4283+ryw@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 10, 2026 17:04
@tembo tembo Bot added the tembo Pull request created by Tembo label Sep 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ryw
ryw merged commit c3516d8 into main Sep 10, 2026
8 checks passed
@ryw
ryw deleted the tembo/fix-agent-sync-after-commit branch September 10, 2026 17:26
@tembo tembo Bot mentioned this pull request Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tembo Pull request created by Tembo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

404 on New Agent after Commit

2 participants