Skip to content

Install sqlite3 on the Windows runner, and unblock the required checks - #10

Merged
abrignoni merged 2 commits into
mainfrom
ci/windows-sqlite3
Sep 3, 2026
Merged

abrignoni merged 2 commits into
mainfrom
ci/windows-sqlite3

Conversation

@abrignoni

@abrignoni abrignoni commented Sep 3, 2026 •

Copy link
Copy Markdown
Owner

Two commits. The first is the sqlite3 work; the second fixes a problem the first one exposed.

Install the sqlite3 CLI on Windows

hashstore shells out to the sqlite3 CLI to apply an NSRL delta, the one external binary GLEAPP depends on. Windows does not ship it, so test_build_db_and_apply_delta skipped there while running on Linux and macOS. The only code path with an outside dependency was unexercised on the platform GLEAPP ships on.

Installs it with chocolatey, then asserts it resolves through the same shutil.which('sqlite3') call the test guards on. That assertion is the point: a skipped test still reports green, so an install landing off PATH would restore the skip and look identical to success.

Result on Windows: 67 passed, 0 skipped, up from 66 passed with 1 skipped, now matching Linux exactly.

Drop path filters from the required checks

The seven checks required for merging all carried pull_request paths: filters. A pull request touching none of those paths never triggers them, and a required check that never runs never reports, so the pull request is blocked permanently rather than passing.

This PR hit exactly that: it touches only a workflow file, so pytest and the five runtime-contract jobs stayed unreported and the merge was refused. A docs-only or packaging-only PR would hit it too.

Path filtering and required status are incompatible. The filters come off the pull_request trigger of the three required workflows and stay on python_lint, which is advisory and should not run when a change touches no Python. test_cases keeps its push filter, which gates only the post-merge run on main and is not a required check.

Self-demonstrating: the six checks that were missing before the second commit all ran and passed on this PR after it.

🤖 Generated with Claude Code

abrignoni and others added 2 commits September 2, 2026 22:13
hashstore shells out to the sqlite3 CLI to apply an NSRL delta, the one
external binary GLEAPP needs. Windows does not ship it, so
test_build_db_and_apply_delta skipped there while running on Linux and
macOS, leaving the only code path with an outside dependency unexercised
on the platform GLEAPP ships on.

Installs it via chocolatey and then asserts it resolves through the same
shutil.which call the test guards on. Without that assertion an install
landing off PATH would restore the skip silently, and a skipped test
still reports green.

Co-Authored-By: Claude Opus 5 <[email protected]>
The seven checks required to merge all carried pull_request paths:
filters. A pull request touching none of those paths never triggers
them, and a required check that never runs never reports, so the pull
request is blocked permanently rather than passing. This one hit it: it
touches only a workflow file, so pytest and the five runtime-contract
jobs stayed unreported and the merge was refused.

Path filtering and required status are incompatible. The filters come
off the pull_request trigger of the three required workflows, and stay
on python_lint, which is advisory and should not run when a change
touches no Python.

test_cases keeps its push filter, which gates only the post-merge run
on main and is not a required check.

Co-Authored-By: Claude Opus 5 <[email protected]>
@abrignoni abrignoni changed the title Install the sqlite3 CLI on the Windows runner Install sqlite3 on the Windows runner, and unblock the required checks Sep 3, 2026
@abrignoni
abrignoni merged commit 3dde92e into main Sep 3, 2026
7 checks passed
@abrignoni
abrignoni deleted the ci/windows-sqlite3 branch September 3, 2026 02:25
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