ci: define the test dataset inline instead of fetching it from the registry - #78
ci: define the test dataset inline instead of fetching it from the registry#78lukekim wants to merge 1 commit into
Conversation
…gistry `spice add spiceai/quickstart` makes every run depend on the Spicepod registry. That service is currently returning a body the CLI cannot unpack, so every job fails at: Invalid argument: Failed to extract Spicepod archive: invalid Zip archive: Could not find EOCD The runtime and the SDK are fine; only the fetch is broken. Declaring the same dataset spiceai/quickstart provides removes the dependency. Applies to both the Unix and WSL setup steps. Verified locally: taxi_trips loads and is queryable within seconds (2,964,624 rows). Mirrors spicepy#176.
|
The six red All six come from a single run,
Both tests now pass in this repo on the same workflow and the same matrix leg. From PR #77's run The local half of this PR's change is also visibly working in the failing run's own logs — the runtime came up and registered the dataset before the auth tests ran: I can't re-run it from here ( |
What
Replaces
spice add spiceai/quickstartwith the same dataset declared inline in the generated spicepod. Both the Unix and WSL setup steps.Why
Every job currently dies before a single test runs:
The Spicepod registry is returning a body the CLI can't unpack. The retry wrapper doesn't help — all three attempts fail the same way. Nothing about the runtime or the SDK is broken; only the fetch is.
This reproduces off CI too: running
spice add spiceai/quickstarton a local machine gives the identical error, so it isn't a runner or network quirk.Pulling a fixture from a remote registry means every PR in this repo depends on that service being healthy. Declaring the dataset inline removes the dependency, and it's the same data
spiceai/quickstartprovides.Mirrors spicepy#176, which takes the same approach and is green.
Verification
Ran the exact spicepod this produces against a local runtime:
taxi_tripsloads and is queryable within secondsrun: |block scalar — bash receives valid, unindented YAMLspice initemitsversion: v2, so the generated spicepod is on the current versionNote the cloud-backed tests (
tpch.customer,eth.recent_blocks) are unaffected — they authenticate withSPICE_API_KEYand don't come from the quickstart pod.