Skip to content

Declare SQLite for the functional tests - #59

Draft
jacobmichels wants to merge 1 commit into
jacob/tecnix-provenance-write-racefrom
jacob/tecnix-functional-tests-sqlite
Draft

Declare SQLite for the functional tests#59
jacobmichels wants to merge 1 commit into
jacob/tecnix-provenance-write-racefrom
jacob/tecnix-functional-tests-sqlite

Conversation

@jacobmichels

@jacobmichels jacobmichels commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

The cache tests in #57 and #58 invoke sqlite3, but the isolated functional-test package does not provide it. All six test jobs fail when the tests reach that command. Development-shell checks missed the undeclared dependency.

Add sqlite to the package arguments and nativeBuildInputs in tests/functional/package.nix. nativeBuildInputs lists the tools available inside the isolated build. This is two added lines, with no changes to evaluator behavior or test assertions.

This PR is the bottom layer of the native GitHub stack: #59#57#58. It supplies the SQLite test dependency for the two feature layers above it.

Checks

  • Isolated Linux functional-test package: 215 passed, 0 failed, 10 skipped.
  • Repository formatter: all six checks passed.
nix build --file ci/gha/tests/wrapper.nix componentTests.nix-functional-tests -L --arg withInstrumentation false --argstr stdenv stdenv --no-link --max-jobs 1 --cores 4 --option sandbox true
nix develop -c ./maintainers/format.sh

The cache tests invoke sqlite3 directly. Declare it in the isolated test package instead of relying on development-shell tools.
@jacobmichels
jacobmichels force-pushed the jacob/tecnix-functional-tests-sqlite branch from 3fac8ae to 745bd34 Compare September 6, 2026 00:15
@jacobmichels
jacobmichels changed the base branch from main to jacob/tecnix-provenance-write-race September 6, 2026 00:16
@jacobmichels
jacobmichels marked this pull request as draft September 6, 2026 03:17
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.

1 participant