Repository navigation
Conversation
fetch-sqlite-jdbc.sh still downloaded sqlite-jdbc from repo1.maven.org, so every CI path that stages the driver inherited Maven Central's 429/404 availability (snapshot run 46814892894, plus transient CLI-suite reds). Resolve the jar from the tree instead: the default 3.50.3.0 comes from tools/docker/lib (same bytes as the Adobe image copies), and an explicit version+sha256 searches the known vendored locations and accepts the first file whose SHA-256 matches. Every candidate and the destination are verified, so a corrupted or wrong jar still fails loudly, and an unknown version errors with the locations checked instead of falling back to the network. There is no download branch at all now. The two versions are intentional and documented in the script: 3.50.3.0 is the framework/Docker CI driver; 3.49.1.0 is the version the LuCLI runtime ships and the Lucee extension is built from (their two jars are differently packaged and have different SHA-256s), so callers keep passing the version and hash they need. Also make the snapshot workflow dispatchable for exactly this diagnosis, while keeping the release-publishing build and the API deploy push-only so a dispatch can never publish a snapshot or redeploy the API from a branch. Caller messages now say "staging" instead of "downloading". Signed-off-by: Peter Amiri <peter@alurium.com>
CliHardenerS1S10Spec asserts the fetcher contains no literal 3.49.1.0 (it used to fork the default); the explanatory comment spelled it out and tripped the guard. Keep the exact hashes in the callers/PR and refer to the CLI-staged 3.49.1.x here. Signed-off-by: Peter Amiri <peter@alurium.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Removes Maven Central as a dependency of CI's SQLite JDBC staging.
tools/ci/fetch-sqlite-jdbc.shstill downloadedsqlite-jdbcfromrepo1.maven.org, so every caller inherited that host's availability: snapshot run 46814892894 (Lucee 7 + SQLite (LuCLI)) failed withCould not download a verified sqlite-jdbc 3.50.3.0on a commit that only touched the benchmark pilot, plus earlier transient reds onCLI suite/Deploy CLI tests + verb smoke. The jar has been vendored since #4709 (tools/docker/lib/sqlite-jdbc-3.50.3.0.jar); this converts the last consumer.Change
tools/docker/lib/sqlite-jdbc-3.50.3.0.jar;version sha256: searchestools/docker/lib,tools/docker/adobe{2021,2023,2025}/lib,cli/lucli/resources/extensions/sqlite,tools/lucee-extensions/sqlite/src, and accepts the first file whose SHA-256 matches.::error::and the candidate locations checked — it does not silently fetch.cli/lucli/resources/extensions/sqlite/org.xerial.sqlite-jdbc-3.49.1.0.jar, sha25638d783…) and what the Lucee extension is built from (tools/lucee-extensions/sqlite/src/sqlite-jdbc-3.49.1.0.jar, sha2565c8609…) — the two 3.49.1.0 files are differently packaged and have different hashes.tools/test-local.sh,test-cli-local.sh,test-cli-e2e.shpass3.49.1.0 5c8609…and now resolve it from the extension source jar; the default CI path keeps 3.50.3.0. Reconciling them is a deliberate CLI/extension decision, not a cleanup, so they are left as-is and documented.workflow_dispatch, and made the release-publishingbuildjob anddeploy-api-snapshotpush-only, so dispatching never publishes a snapshot or redeploys the API from a branch. Normal develop pushes behave exactly as before.Offline proof (no network)
Ran with
HTTPS_PROXY=http://127.0.0.1:9 HTTP_PROXY=… ALL_PROXY=…(dead proxy):No
curlremains in the script.Verification
Lucee 7 + SQLite (LuCLI)runs the same staging path; run link below.build/deploy-api-snapshotskipped on the dispatch by design (push-only).Results (head
e99cb73b9)workflow_dispatch):Lucee 7 + SQLite (LuCLI)success, with the log showing the non-network staging path:buildanddeploy-api-snapshotare skipped on the dispatch by the new push-only guards; a develop push still runs them as before.e99cb73b9: CLEAN (12 pass, 1 skipping, 0 failing).grep -c curl tools/ci/fetch-sqlite-jdbc.sh→ 0 (no download path remains).CliHardenerS1S10Spec) asserting the fetcher contains no literal3.49.1.0; the explanatory comment spelled it out. Reworded the comment (exact hashes stay in the callers/PR), CLI suite green, and the second dispatch above is the clean run.What this now proves / does not
.lexextension build (tools/lucee-extensions/sqlite) andtools/distribution-drafts/linux-packages/build-linux-packages.sh, which still reference Maven/3.49.1.0 for their own artifact builds. They are not on the CI staging path; reconciling their 3.49.1.0 source jar with the CLI-shipped jar is a separate deliberate decision and is recorded above.