Skip to content

Fix pre-run skills refresh timing out after catalog updates - #93

Merged
lukebuehler merged 1 commit into
mainfrom
fix/catalog-refresh-timeout
Sep 12, 2026
Merged

lukebuehler merged 1 commit into
mainfrom
fix/catalog-refresh-timeout

Conversation

@lukebuehler

Copy link
Copy Markdown
Contributor

When a skill catalog changes before a run, Lightspeed retains the previous catalog version under the same context key for prompt caching. The gateway waiter selected that older entry, so a successfully committed refresh still timed out after 90 seconds and prevented the new input from starting a run.

Use the engine’s current-entry lookup when acknowledging context updates. Add a regression test with retained catalog history that verifies the latest update is acknowledged, superseded content is rejected, and a missing key remains pending.

Validation: gateway service unit tests; cargo fmt --all --check; git diff --check.

@lukebuehler
lukebuehler enabled auto-merge (squash) September 12, 2026 16:59
@lukebuehler
lukebuehler merged commit 7697384 into main Sep 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant