Repository navigation
Conversation
JTSIV1
force-pushed
the
jtsiv1/ug-launch-overlap
branch
from
November 20, 2026 14:17
1167f2f to
f6e9435
Compare
JTSIV1
force-pushed
the
jtsiv1/ug-pooled-http
branch
from
November 20, 2026 14:17
c4986a7 to
c196246
Compare
ug claude started the Anthropic picker catalog only after configure's discovery finished, and configure fetched the Copilot catalog and the provider-mode web-search model strictly after the gateway probe. All of these are independent round trips: start them alongside the probe and discovery on daemon threads and read the results where they were read before. A launch shape whose routing never reads the catalog abandons the speculative request instead of waiting out its retries. ug configure also read the workspace policy after discovery completed; read it while discovery runs. Co-authored-by: Isaac <no-reply@databricks.com>
The background policy refresh now checks an abort flag before every write, and a configure that fails while the read is in flight sets it, so a failed configure or a Ctrl-C can no longer install or write machine state from a daemon thread. The refresh's warnings are captured and printed at the join, keeping output order as the serial flow had it. The speculative picker catalog joins only when its result is healthy: a catalog error from the pre-auth token is discarded and the launch refetches with the live token instead of failing or dropping the picker. The provider-mode web-search and Copilot listings fall back to inline fetches instead of asserting on their futures. Co-authored-by: Isaac <no-reply@databricks.com>
The job appends its captured warnings even when the refresh raises, and the join prints the list, so a failing refresh surfaces its warnings without the worker thread ever touching the console. Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
JTSIV1
force-pushed
the
jtsiv1/ug-launch-overlap
branch
from
November 20, 2026 14:29
f6e9435 to
0a2230a
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stacked on #1795.
What
ug claudestarts the Anthropic picker catalog request early, alongside the probe and discovery, when the launch already knows it needs it (unmanaged launches and UC model-location launches). If that early result has an error or the profile changed, it refetches the old way.configure_shared_state, the web-search lookup and the Copilot catalog run alongside the probe and discovery.ug configurereads the coding-agent-config policy while discovery runs. If configure fails or is interrupted while that read is in flight, nothing gets installed or cached. Its warnings print on the main thread at the join, in the same order as before.relayedis only known after the service lookup.Why
Today a warm
ug claudemakes its 3 workspace calls one after another (probe, discovery, catalog), about 12 round trips. With this change they run together, about 4. From ap-south-1 that's ~1.9 s of network time.End to end with this PR and #1795, median of 12 runs:
ug claudebefore → afterug configurebefore → afterTesting
This pull request and its description were written by Isaac.