Repository navigation
fix(cli): fetch the images tale dev needs under a step that says so - #3289
Merged
Merged
Conversation
The config-mountpoint helper runs on the app image, so on a first bring-up
`tale dev` waited for a 2.94 GB download inside a step labelled "Preparing
volumes & networks". Measured on a host wiped to zero images, against the
released 0.5.12:
[ + ] Volumes & networks ready (3m03s)
[ + ] Sandbox runtime image ready (7m40s)
The second wait is longer and nobody minds it — the label says a download is
happening. The first reads as a hang.
Both images the CLI needs in its own hands before compose runs now come from
one step that names them, and the volume work goes back to being instant. The
runtime image is the same fetch as before, just moved up; the app image is a
plain pull when absent, and best-effort, because compose pulls it moments
later and reports its own failure.
`imagePresent` is shared rather than copied — the runtime-image module asked
the same question in its own words.
…eeds An embedding model has no working default: `EmbeddingNotConfigured` is a refusal, never a guess. An organization that adds a provider and stops there has a knowledge base that cannot index or search, and the only places that said so were the data-residency page itself and the error on a document that had already failed to index — after the reader spent the upload. A dashboard banner closes that gap, in the shell beside the two-factor nudges so it is visible from chat, where a reader lands after the setup wizard. Two gates keep it from being a tax on everyone else: it appears only once a provider credential exists — before that there is nothing to choose a model with, and the wizard is already asking — and only for a reader with `read orgSettings`, who can actually open the page it links to. It clears itself the moment a model is configured, so it needs no dismissal. Unknown state stays silent: a loading or failed read is not evidence of a missing model, and "knowledge search is off" on an unknown state is worse than saying nothing. EN/DE/FR ship together.
Contributor
Author
|
Verified the step attribution without a 10 GB cold start, by pointing the CLI at a registry that does That covers the three claims:
What this does not measure is the wall-clock improvement on a real cold host; the 3m03s "before" in |
Turbo strict mode strips GITHUB_TOKEN from task env, so shared CI runners hit the releases API unauthenticated and get 403.
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.
Two things found while cold-starting v0.5.12 on a host wiped to zero images, containers and
volumes.
1.
tale devspent three minutes downloading under a label about volumesThe config-mountpoint helper runs on the app image, so a first bring-up waited for a 2.94 GB pull
inside a step that says nothing about a download. Measured against the released 0.5.12:
The second wait is more than twice as long and nobody minds it — the label says what is happening.
The first reads as a hang, on the very first run of the quickstart.
Both images the CLI needs in its own hands before compose runs now come from one step that names
them, and the volume work goes back to being instant. The runtime image is the same fetch as before,
moved up; the app image is a plain pull when absent, best-effort, because compose pulls it moments
later and reports its own failure.
imagePresentis now shared rather than asked in two differentsets of words.
2. A provider-only org has a knowledge base that cannot index, and nothing says so
An embedding model has no working default —
EmbeddingNotConfiguredis a refusal, never a guess. Anorganization that adds a provider and stops there has knowledge that cannot be indexed or searched,
and until now the only places that said so were the data-residency page itself and the error on a
document that had already failed to index, which is after the reader spent the upload.
A dashboard banner closes the gap, in the shell beside the two-factor nudges so it is visible from
chat — where a reader lands after the setup wizard.
Two gates keep it from being a tax on everyone else:
and the setup wizard is already asking for a provider; a second nudge there is noise on an empty
org.
read orgSettings— the permission the page it links to requires. Amember who cannot open it never sees it.
It clears itself the moment a model is configured, so it carries no dismissal. An unknown state stays
silent: a loading or failed read is not evidence of a missing model, and "knowledge search is off" on
an unknown state is worse than saying nothing.
Verification
tools/cli:bun test436 pass / 0 fail,tsc --noEmitclean,oxlintclean. Four new casescover fetch-only-when-absent, the pull, and the warn-not-throw path.
services/platform: the touched UI projects run 9 files / 73 tests green;tsc --noEmitclean;oxlint --type-awareclean; i18n parity 50 tests green. Six new cases pin the banner's gates andits polite
statusrole, asserting the shipped English strings so the catalog wiring is exercised.Not yet verified end to end: the "after" run for change 1 needs the app image absent, and it is
currently pinned by the running 0.5.12 stack on this machine. The "before" number above is measured
from that same released binary; I will run the cold comparison once the stack is free.