Skip to content

Initial attempt to run Tilt environment in CI#4474

Merged
pfcoperez merged 1 commit into
mainfrom
ci/tilt
Jun 23, 2026
Merged

Initial attempt to run Tilt environment in CI#4474
pfcoperez merged 1 commit into
mainfrom
ci/tilt

Conversation

@pfcoperez

Copy link
Copy Markdown
Member

What resources are used and what test are run are given as input parameters.

📝 This is an experiment to use Tilt in CI workflows.

What resources are used and what test are run are given as input parameters.
@pfcoperez
pfcoperez requested a review from a team as a code owner June 23, 2026 10:52
@pfcoperez
pfcoperez enabled auto-merge (squash) June 23, 2026 11:02
@pfcoperez
pfcoperez merged commit 222bd34 into main Jun 23, 2026
14 checks passed
@pfcoperez
pfcoperez deleted the ci/tilt branch June 23, 2026 11:10
@claude

claude Bot commented Jun 23, 2026

Copy link
Copy Markdown

Code review

1 issue found. Checked for bugs and CLAUDE.md compliance.

Bug: TILT_VERSION env var is defined but never used (line 45 / line 102)

TILT_VERSION: 0.37.0 is set as an env var with the comment Pin Tilt for reproducible runs, but the Install Tilt step runs:

curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash

The Tilt install script reads the VERSION env var (not TILT_VERSION) to determine which version to install. Since TILT_VERSION is never passed to the script, every CI run installs the latest Tilt release instead of 0.37.0.

Suggested fix:

curl -fsSL ... | VERSION=$TILT_VERSION bash

See lines:

# Pin Tilt for reproducible runs (matches the version used locally).
TILT_VERSION: "0.37.0"
# Don't phone home from CI.

run: |
curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash
tilt version

pfcoperez added a commit that referenced this pull request Jun 24, 2026
Follows #4474,

With these changes, Tilt environment on CI is fully functional. We also
move to use e2e invocation directly with `gotestsum`.

Additionally, internal test results ingestion is moved to an action and
shared between traditional flow.yml based and Tilt based CI.

Finally, this workflow is set-up so it can be invoked from other
workflows as follow:

```yaml
jobs:
  pg-ch-e2e:
    uses: ./.github/workflows/tilt-flow.yml
    with:
      test_matcher: TestGenericCH_PG
      ancillary_services: postgres clickhouse
    secrets: inherit
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants