Skip to content

ci: define the test dataset inline instead of fetching it from the registry - #49

Open
lukekim wants to merge 1 commit into
trunkfrom
fix/ci-inline-quickstart-dataset
Open

ci: define the test dataset inline instead of fetching it from the registry#49
lukekim wants to merge 1 commit into
trunkfrom
fix/ci-inline-quickstart-dataset

Conversation

@lukekim

@lukekim lukekim commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

What

Replaces spice add spiceai/quickstart with the same dataset declared inline. Four sites: three in build.yaml (including the PowerShell step) and one in publish.yaml.

Why

Every build job dies before Maven runs:

Getting Spicepod spiceai/quickstart ...
ERROR Invalid argument: Failed to extract Spicepod archive: invalid Zip archive: Could not find EOCD
##[error]Process completed with exit code 1

The Spicepod registry is returning a body the CLI can't unpack — reproducible off CI, so not a runner or network quirk. Pulling a test fixture from a remote registry means every PR depends on that service being up.

publish.yaml is included because it does the same fetch; leaving it would break the next release the same way.

Mirrors spicepy#176, which is green.

Verification

  • Ran the resulting spicepod against a local runtime — taxi_trips queryable in ~6s, 2,964,624 rows
  • Both workflow files parse
  • Checked the dedented text each of the four steps actually hands its shell: heredoc for the bash steps, PowerShell here-string for the Windows step, terminator at column 0 in every case
  • spice init emits version: v2

…gistry

`spice add spiceai/quickstart` makes every run depend on the Spicepod registry,
which is currently returning a body the CLI cannot unpack:

  Invalid argument: Failed to extract Spicepod archive: invalid Zip archive:
  Could not find EOCD

Declaring the same dataset inline removes the dependency. Covers all four sites
— three in build.yaml (including the PowerShell step) and one in publish.yaml.

Verified locally: taxi_trips loads and is queryable within seconds.

Mirrors spicepy#176.
Copilot AI review requested due to automatic review settings July 27, 2026 22:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the GitHub Actions workflows to avoid fetching the spiceai/quickstart Spicepod from the remote registry during CI, and instead appends an equivalent datasets: definition directly into the spicepod.yaml created by spice init.

Changes:

  • Replaces spice add spiceai/quickstart with an inline datasets: block (S3 taxi trips parquet) in CI setup steps.
  • Applies the same inline dataset approach across all affected workflow sites (Unix + Windows in build.yaml, and the publish pipeline in publish.yaml).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/build.yaml Replaces registry fetch with inline dataset config in multiple build/test jobs (including Windows).
.github/workflows/publish.yaml Replaces registry fetch with inline dataset config prior to running publish tests.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

acceleration:
enabled: true
YAML
spiced &> spice.log &
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.

2 participants