Skip to content

[DECO-29941] skills: serve the live release, then the cache, then the bundled copy - #8267

Open
simonfaltum wants to merge 1 commit into
mainfrom
simon-faltum_data/stack/skills/s4-wire-the-sources-into-resolve
Open

simonfaltum wants to merge 1 commit into
mainfrom
simon-faltum_data/stack/skills/s4-wire-the-sources-into-resolve

Conversation

@simonfaltum

@simonfaltum simonfaltum commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

🥞 Stacked PR

Use this link to review incremental changes.


Changes

databricks skills served only a local folder, so the commands could not serve the published skills release. Resolve now returns the fallback chain: the published release, then the disk cache, then the snapshot bundled into the binary. DATABRICKS_SKILLS_DIR still wins and makes no network call, which evals and tests rely on.

  • A catalog that is not live (Stale) prints one provenance line on stderr from every command: where it came from (cached or bundled copy), its release, its age and why the live release was not used. A catalog from DATABRICKS_SKILLS_DIR prints nothing.
  • The chain falls back only when the live source is unreachable (DNS, connect, TLS, timeout, 5xx, 403, 429). A 404 and a cancelled context (Ctrl-C) do not fall back.
  • Each command that reads files calls Catalog first and reads its files at the release of that catalog, so a newer release cannot swap files under an older served catalog. An unpinned run makes one latest-release lookup.
  • The bundled snapshot records its release tag (release.txt, written by the release build), so the bundled fallback matches the live release's version.
  • Cache: one directory listing decides what to keep and what to remove, a catalog with no fetch time is rejected, an empty cached file is a miss, a cache write error is not fatal, and a pinned source (DATABRICKS_SKILLS_REF or a custom base URL) caches catalogs under a folder keyed by the source and never caches its files.
  • ReleaseVersion is one helper for the release tag, shared with the installer's DisplaySkillsVersion, so vendor-fix is no longer shown as endor-fix.
  • A live catalog that reports Stale is not stamped fresh or cached, so the next call reaches the live source again.

Why

The release source, the cache and the bundled snapshot existed only as separate pieces. Until Resolve returns the chain, no command benefits from them.

Decisions to review

  • A run pinned with DATABRICKS_SKILLS_REF never falls back to the bundled copy, since the bundled copy is another release. It fails with the unreachable error instead.
  • skills list-files --output json omits sizes for a live or cached catalog on purpose: the chain forwards FileSize only for the bundled copy, because a release is read over HTTP and a cached file may not be on disk.
  • If the live release is unreachable while a file is read under a fresh cached catalog, the bundled copy serves the file only when it is the same release, and the command prints a second provenance line for it.

Not in this PR

  • Applying the installer's unportableSkill check before caching, ordering cached releases by release version instead of fetch time, and sharing one env-var list in NewCache. They come in a follow-up PR.
  • The latency budget (time limits on the live source) is the next PR in the stack.

Tests

  • Unit tests in libs/skills and cmd/skills: fallback on a refused connection, no fallback on cancel or 404, two releases that share manifest version "2" getting separate cache folders, files read at the served release, the bundled fallback serving when the release is unreachable, and the pinned-ref case.
  • Acceptance: cmd/skills/live (a local server stands in for the release: first call serves the catalog with no provenance line, a second call makes no request, and with the server down and a stale cache the cached copy is served with the provenance line), cmd/skills/unreachable (no release, cache or bundled skills: non-zero exit naming the cause), cmd/skills/dir-no-network.
  • go test ./libs/skills/... ./cmd/skills/... ./libs/aitools/... ./cmd/aitools/..., the cmd/skills, help/skills and cmd/aitools acceptance areas, and ./task --force fmt-q lint-q pass.

The skills commands exist only when DATABRICKS_SKILLS_PREVIEW is set, so nothing changes for anyone else.

This pull request and its description were written by Isaac.

@github-actions github-actions Bot added the aitools AI tools (databricks aitools) related changes label Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Regression test report ✅

Commit: 2b3a60e16 | Workflow run

Selected 4 changed tests (limit=20, 0 not selected)

4 tests: regression=2 unreleased=2 coverage=0 failing=0
test branch main (9fe8d20) latest (v1.28.0)
TestAccept/cmd/aitools/agent-hints ✅ ✅ ❌
TestAccept/cmd/skills/dir-no-network ✅ ✅ ❌
TestAccept/cmd/skills/live ✅ ❌ ❌
TestAccept/cmd/skills/unreachable ✅ ❌ ❌
TestAccept/cmd/aitools/agent-hints: branch ✅ | main (9fe8d20) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1439: Diff:
        --- cmd/aitools/agent-hints/output.txt
        +++ /tmp/TestAcceptcmdaitoolsagent-hints2374040265/002/output.txt
        @@ -38,25 +38,19 @@
         === With skill hints on, Codex is hinted with the skills list command once per thread
         
         >>> DATABRICKS_SKILLS_PREVIEW=1 DATABRICKS_SKILLS_HINTS=1 CODEX_CI=1 CODEX_THREAD_ID=thread-4 [CLI] jobs list
        -Before you work with Databricks, run: databricks skills list
        +Databricks skills are not installed. To work with Databricks reliably, first run: databricks aitools install --agents codex --scope global
         
         >>> DATABRICKS_SKILLS_PREVIEW=1 DATABRICKS_SKILLS_HINTS=1 CODEX_CI=1 CODEX_THREAD_ID=thread-4 [CLI] jobs list
         
         === With skill hints on, Cursor is hinted once per machine with the skills list command
         
         >>> DATABRICKS_SKILLS_PREVIEW=1 DATABRICKS_SKILLS_HINTS=1 CURSOR_AGENT=1 [CLI] jobs list
        -Before you work with Databricks, run: databricks skills list
         
         >>> DATABRICKS_SKILLS_PREVIEW=1 DATABRICKS_SKILLS_HINTS=1 CURSOR_AGENT=1 [CLI] jobs list
         
         === With skill hints on, skills commands print no hint
         
         >>> DATABRICKS_SKILLS_DIR=[TESTROOT]/cmd/skills/release DATABRICKS_SKILLS_PREVIEW=1 DATABRICKS_SKILLS_HINTS=1 CODEX_CI=1 CODEX_THREAD_ID=thread-5 [CLI] skills list
        -Pick the skill whose description matches the task.
        -Read the skill before you act on it.
        +Error: unknown command "skills" for "databricks"
         
        --foo: A skill whose name starts with a hyphen.
        -demo-skill: A skill for tests.
        -future-skill: A skill that needs a newer CLI.
        -guide-skill: A skill with a supporting file.
        -To read a skill, run: databricks skills read <name>
        +Exit code: 1
        
    acceptance_test.go:1229: Test produced unexpected files:
        gemini-home/.databricks/aitools/auto-install.json
        gemini-home/.databricks/aitools/auto-install.json.lock
        gemini-home/.databricks/aitools/auto-install.lock
FAIL
TestAccept/cmd/skills/dir-no-network: branch ✅ | main (9fe8d20) ✅ | latest (v1.28.0) ❌

latest (v1.28.0):

acceptance_test.go:1307: Substituted DATABRICKS_CLI_GITHUB_API_URL "$DATABRICKS_HOST" -> "http://127.0.0.1:43451" ("[DATABRICKS_HOST]")
    acceptance_test.go:1307: Substituted DATABRICKS_SKILLS_BASE_URL "$DATABRICKS_HOST" -> "http://127.0.0.1:43451" ("[DATABRICKS_HOST]")
    acceptance_test.go:1439: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1439
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1180
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:712
        	Error:      	Not equal: 
        	            	expected: "\n=== A skills folder is read without any network call\n\n>>> [CLI] skills list\n\n>>> [CLI] skills read demo-skill\nNo skills request reached the server\n"
        	            	actual  : "\n=== A skills folder is read without any network call\n\n>>> [CLI] skills list\nError: unknown command \"skills\" for \"databricks\"\n\nExit code: 1\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,5 +4,5 @@
        	            	 >>> [CLI] skills list
        	            	+Error: unknown command "skills" for "databricks"
        	            	 
        	            	->>> [CLI] skills read demo-skill
        	            	-No skills request reached the server
        	            	+Exit code: 1
        	            	 
        	Test:       	TestAccept/cmd/skills/dir-no-network
        	Messages:   	cmd/skills/dir-no-network/output.txt vs /tmp/TestAcceptcmdskillsdir-no-network1961631924/002/output.txt
TestAccept/cmd/skills/live: branch ✅ | main (9fe8d20) ❌ | latest (v1.28.0) ❌

main (9fe8d20):

acceptance_test.go:1439: Diff:
        --- cmd/skills/live/output.txt
        +++ /tmp/TestAcceptcmdskillslive3225031974/002/output.txt
        @@ -2,31 +2,6 @@
         === The release is live: its catalog is served and no provenance line is printed
         
         >>> [CLI] skills list
        -Pick the skill whose description matches the task.
        -Read the skill before you act on it.
        +Error: no skills source is available in this build
         
        --foo: A skill whose name starts with a hyphen.
        -demo-skill: A skill for tests.
        -future-skill: A skill that needs a newer CLI.
        -guide-skill: A skill with a supporting file.
        -To read a skill, run: databricks skills read <name>
        -
        -=== A second call is served from the cache: the manifest was fetched once
        -
        ->>> [CLI] skills list
        -
        ->>> grep -c manifest.json server.log
        -1
        -
        -=== With the server down and a cached catalog older than the freshness window, the cached copy is served with a provenance line
        -
        ->>> [CLI] skills list
        -Skills come from cached copy (release 1.0.0, fetched [AGE]). The live release was not used: the skills release could not be reached. The skills may be out of date.
        -Pick the skill whose description matches the task.
        -Read the skill before you act on it.
        -
        --foo: A skill whose name starts with a hyphen.
        -demo-skill: A skill for tests.
        -future-skill: A skill that needs a newer CLI.
        -guide-skill: A skill with a supporting file.
        -To read a skill, run: databricks skills read <name>
        +Exit code: 1

latest (v1.28.0):

acceptance_test.go:1439: Diff:
        --- cmd/skills/live/output.txt
        +++ /tmp/TestAcceptcmdskillslive279599039/002/output.txt
        @@ -2,31 +2,6 @@
         === The release is live: its catalog is served and no provenance line is printed
         
         >>> [CLI] skills list
        -Pick the skill whose description matches the task.
        -Read the skill before you act on it.
        +Error: unknown command "skills" for "databricks"
         
        --foo: A skill whose name starts with a hyphen.
        -demo-skill: A skill for tests.
        -future-skill: A skill that needs a newer CLI.
        -guide-skill: A skill with a supporting file.
        -To read a skill, run: databricks skills read <name>
        -
        -=== A second call is served from the cache: the manifest was fetched once
        -
        ->>> [CLI] skills list
        -
        ->>> grep -c manifest.json server.log
        -1
        -
        -=== With the server down and a cached catalog older than the freshness window, the cached copy is served with a provenance line
        -
        ->>> [CLI] skills list
        -Skills come from cached copy (release 1.0.0, fetched [AGE]). The live release was not used: the skills release could not be reached. The skills may be out of date.
        -Pick the skill whose description matches the task.
        -Read the skill before you act on it.
        -
        --foo: A skill whose name starts with a hyphen.
        -demo-skill: A skill for tests.
        -future-skill: A skill that needs a newer CLI.
        -guide-skill: A skill with a supporting file.
        -To read a skill, run: databricks skills read <name>
        +Exit code: 1
TestAccept/cmd/skills/unreachable: branch ✅ | main (9fe8d20) ❌ | latest (v1.28.0) ❌

main (9fe8d20):

acceptance_test.go:1439: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1439
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1180
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:712
        	Error:      	Not equal: 
        	            	expected: "\n=== No release, no cache and no bundled skills: the command fails and names the cause\n\n>>> [CLI] skills list\nError: cannot get the skills: skills source unreachable: Get \"http://127.0.0.1:1/[SKILLS_REF]/manifest.json\": dial tcp 127.0.0.1:1: [DIAL_ERROR] (there is no cached or bundled copy to use instead)\n"
        	            	actual  : "\n=== No release, no cache and no bundled skills: the command fails and names the cause\n\n>>> [CLI] skills list\nError: no skills source is available in this build\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,3 +4,3 @@
        	            	 >>> [CLI] skills list
        	            	-Error: cannot get the skills: skills source unreachable: Get "http://127.0.0.1:1/[SKILLS_REF]/manifest.json": dial tcp 127.0.0.1:1: [DIAL_ERROR] (there is no cached or bundled copy to use instead)
        	            	+Error: no skills source is available in this build
        	            	 
        	Test:       	TestAccept/cmd/skills/unreachable
        	Messages:   	cmd/skills/unreachable/output.txt vs /tmp/TestAcceptcmdskillsunreachable1370238505/002/output.txt
FAIL

latest (v1.28.0):

acceptance_test.go:1439: 
        	Error Trace:	/home/runner/work/cli/cli/libs/testdiff/testdiff.go:22
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1439
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:1180
        	            				/home/runner/work/cli/cli/acceptance/acceptance_test.go:712
        	Error:      	Not equal: 
        	            	expected: "\n=== No release, no cache and no bundled skills: the command fails and names the cause\n\n>>> [CLI] skills list\nError: cannot get the skills: skills source unreachable: Get \"http://127.0.0.1:1/[SKILLS_REF]/manifest.json\": dial tcp 127.0.0.1:1: [DIAL_ERROR] (there is no cached or bundled copy to use instead)\n"
        	            	actual  : "\n=== No release, no cache and no bundled skills: the command fails and names the cause\n\n>>> [CLI] skills list\nError: unknown command \"skills\" for \"databricks\"\n"
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -4,3 +4,3 @@
        	            	 >>> [CLI] skills list
        	            	-Error: cannot get the skills: skills source unreachable: Get "http://127.0.0.1:1/[SKILLS_REF]/manifest.json": dial tcp 127.0.0.1:1: [DIAL_ERROR] (there is no cached or bundled copy to use instead)
        	            	+Error: unknown command "skills" for "databricks"
        	            	 
        	Test:       	TestAccept/cmd/skills/unreachable
        	Messages:   	cmd/skills/unreachable/output.txt vs /tmp/TestAcceptcmdskillsunreachable89484235/002/output.txt
@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: 2b3a60e

Run: 46717958076

Env 💚​RECOVERED ✅​pass 🙈​skip Time
💚​ aws linux-2core-8gb 1 62 10 1:47
💚​ aws-windows-latest-4core-16gb 1 62 10 3:19
💚​ azure linux-2core-8gb 1 62 10 1:46
💚​ azure-windows-latest-4core-16gb 1 62 10 3:15
💚​ gcp linux-2core-8gb 1 62 10 1:47
💚​ gcp-windows-latest-4core-16gb 1 62 10 3:14
Test Name aws linux-2core-8gb aws-windows-latest-4core-16gb azure linux-2core-8gb azure-windows-latest-4core-16gb gcp linux-2core-8gb gcp-windows-latest-4core-16gb
💚​ TestAccept 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 3 slowest tests (at least 2 minutes):
duration env testname
3:17 aws-windows-latest-4core-16gb TestAccept
3:13 azure-windows-latest-4core-16gb TestAccept
3:13 gcp-windows-latest-4core-16gb TestAccept
… bundled copy

Resolve returns the fallback chain, so the skills commands read the published release and fall back to the disk cache and then the bundled snapshot when the release cannot be reached. DATABRICKS_SKILLS_DIR still wins and makes no network call. A catalog that is not live prints a provenance line on stderr from every command.

Co-authored-by: Isaac <no-reply@databricks.com>
@simonfaltum
simonfaltum marked this pull request as ready for review December 1, 2026 18:39
@simonfaltum
simonfaltum requested review from a team and lennartkats-db as code owners December 1, 2026 18:39
@simonfaltum
simonfaltum requested review from Divyansh-db, denik, louis-johnston-db and rclarey and removed request for louis-johnston-db December 1, 2026 18:39
@simonfaltum

Copy link
Copy Markdown
Member Author

🤖 Hi @denik, this PR is part of our skills-sources work. We talked it through with Russell Clarey from eng-deco-cli here: #8158 (review)

@denik denik left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Automated review of 2b3a60e16 by Opus 5.5, Fable 5.2 and GPT-6.2 Astra; each finding verified against the code.

Verdict: the chain wiring works on the main path, with no blocking issues. Five Should-fix points are inline: a duplicated provenance line offline, the lookup-failure fallback release served and cached as fresh, the bundled copy no longer serving reads once a catalog is cached, an extra manifest GET per file read, and acceptance tests that don't reach the production cache path (one of them can't fail).

Other findings, ranked:

  1. Should fix libs/skills/release_source.go:43: At rebuilds the ref as "v" + version, so with DATABRICKS_SKILLS_REF=1.2.0 the catalog is read from <base>/1.2.0 and the files from <base>/v1.2.0. Returning s unchanged when the ref is pinned avoids it.
  2. Should fix libs/skills/release_source.go:85: a cli-compat pin (Pinned: true) doesn't constrain the fallback. If the pinned release A is unreachable, the chain serves the cached or bundled B the pin rolled back from (and a fresh cached B for up to 10 minutes without asking live).
  3. Should fix libs/skills/cache.go:197: a legitimately empty release file (e.g. scripts/__init__.py) is always a cache miss, so it is refetched on every read and fails offline when the bundled release differs.
  4. Should fix libs/skills/resolve.go:83: with DATABRICKS_SKILLS_REF set, LocalCatalog now returns nil, so help footers lose the skill hints they printed from the bundled copy at the merge base. Intended for pinned eval runs?
  5. Should fix libs/aitools/installer/installer.go:224: DisplaySkillsVersion now goes through ReleaseVersion, so installedSkillsRelease parses a recorded v2/v1.2 to "" instead of v2.0.0, and checkSkillsDowngrade stops refusing. Narrow (non-canonical refs only), but it is outside the preview flag and untested.
  6. Should fix cmd/skills/list_test.go:352: offlineContext redirects only the skills host. Without DATABRICKS_FORCE_EMBEDDED_COMPAT, ResolveRelease can still fetch the compatibility manifest from GitHub when no fresh local copy exists, so these offline tests aren't hermetic.
  7. Nit cmd/skills/read.go:84: the JSON source names the printed catalog even when the bytes came from the bundled copy.
  8. Nit comments that are now wrong: libs/skills/skills.go:6-9 (only ref.go and cache.go read the ref and base-URL variables) and libs/skills/bundled_source.go:12-14 ("Resolve serves it today").
Comment thread cmd/skills/skills.go
// another copy than the catalog the command printed, as when the read fell back
// to the bundled copy.
func printReadProvenance(ctx context.Context, src libskills.Source, catalog *libskills.Catalog) {
if served := libskills.Served(src); served != nil && served != catalog {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Should fix: offline with no cached catalog, skills read <name> and skills read-file print the same provenance line twice. Catalog returns the bundled catalog, then ReadFile goes through fallBack, which always stores a fresh withReason copy (libs/skills/chain.go:274). So served != catalog is true by pointer although both describe the bundled copy. TestReadServesBundledCopyWithoutFetchTime uses assert.Contains, so it passes.

Suggest: in fallBack, keep read.cat when it already is the bundled catalog (or compare label and version here instead of pointers), and assert the exact stderr in that test.

if err != nil {
return nil, "", unreachable(err)
}
if rel.LookupErr != nil {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Should fix: when the latest-release lookup fails, this reads the fallback release (compat, embedded or build-time) and returns it as a live catalog without Stale. The chain then stamps it FetchedAt = now and caches it (chain.go:128-130). The version file runs ahead of the tags while a release is being cut (ref.go:26-29), so this happens around every skills release.

Scenario: the cache holds 0.2.58, fetched 11 minutes ago. The pointer names 0.2.59, which has no tag yet. The CLI serves the older fallback release with no provenance line and caches it as the newest entry, so for the next commands Latest() and LocalCatalog return it ahead of 0.2.58. No production source sets Stale on a live catalog, so the !live.Stale guard this PR reworks doesn't cover this case.

Suggest: set Stale and a Reason from rel.LookupErr in releaseSource.Catalog, and have the chain prefer a newer cached catalog over it. A chain test with a failing LatestSkillsReleaseRefFn would pin it.

Comment thread libs/skills/chain.go
return nil, nil, fmt.Errorf("bundled copy: %w", err)
}
}
if bundled.Version != cat.Version {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Should fix: once a catalog is cached, the bundled copy can no longer serve skills the user hasn't read yet. Scenario: one online skills list caches the 0.2.58 catalog (files are cached only when read). Later, offline, skills list shows the cached skills, but skills read <a skill not read before> fails with "the bundled copy is release 0.2.50, not release 0.2.58", although the binary contains that skill. At the merge base the same offline read was served from the bundled copy.

Is failing intended here? One option: when the live source is down and the cached release lacks the file, serve the catalog and the file from the bundled copy, with its provenance line.

ctx, cancel := context.WithTimeout(ctx, releaseTimeout)
defer cancel()
src, _, err := openRelease(ctx)
src, _, err := openRelease(ctx, s.ref)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Should fix (extra request per file): each ReadFile opens a new fsSource, and fsSource.filePath fetches manifest.json again (fs.go:100) only to find the file's repo_dir, after Catalog already fetched and validated it. A cold skills read makes: GET version pointer, HEAD manifest, GET manifest, GET rules, GET manifest again, GET SKILL.md. With a fresh cached catalog, every uncached file read is still two GETs where one would do.

Suggest: keep the validated manifest in the source At returns for the command's lifetime (or store RepoDir with the cached catalog), and add a read step to the live acceptance test that counts the manifest requests.


Env.DATABRICKS_SKILLS_DIR = ""
Env.DATABRICKS_SKILLS_REF = "v1.0.0"
Env.DATABRICKS_SKILLS_TEST_PINNED_CACHE = "1"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🤖 Should fix (test coverage): the only acceptance test through the chain runs a mode users never get. With DATABRICKS_SKILLS_TEST_PINNED_CACHE and a pinned ref, the cache uses the skills-pinned/<hash> folder and caches no files (libs/skills/cache.go:75). In production, a pinned ref or a custom base URL gets no cache at all. So the default path has no acceptance coverage: the latest-release lookup, the release-keyed skills folder, file caching, At(version), and read/read-file through the chain, including the second provenance line. The description's "a pinned source caches catalogs under a folder keyed by the source" also holds only with the test variable set.

Related: dir-no-network/script:7 checks -f out.requests.txt in the working directory, but the harness records requests in $OUT_REQUESTS, which is in a separate output directory (acceptance/acceptance_test.go:1030, acceptance/internal/prepare_server.go:267). That branch never runs, so the test passes whatever reaches the server. if [ -f "$OUT_REQUESTS" ] fixes it.

Suggest: have the test switch select the production layout (release-keyed folder, file caching) with the ref unpinned, since the lookup reads main/metaplugin/version.meta.json from the same base URL. Add a 503 on the manifest for the outage and a read step.

@denik
denik requested review from a team and denik December 2, 2026 08:40

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aitools AI tools (databricks aitools) related changes

3 participants