Repository navigation
Key the app build on skills/ and migrations contents; skip wasm in the app image - #170
Merged
Merged
Conversation
VisualCIdocspring/visualci · build #397 · 392 unchanged · no changes This PR vs base: 1 changed since #371, across 2 builds docspring/visualci · journeys · build #392 · 30 unchanged · no changes This PR vs base: 12 changed since #368, across 2 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
…e app image include_dir! doesn't tell cargo or kache when the embedded folders change, so a skills or migrations edit could reuse a stale compile. build.rs now reruns on those folders and passes a content hash through rustc-env, which the crate reads, so the compile key follows the contents. The app image serves no Compare page (the site's Worker does), so its frontend build sets VISUALCI_SKIP_WASM=1 and wasm.mjs skips the wasm build on purpose.
… doesn't warn on it
ndbroadbent
force-pushed
the
app-skills-key-and-wasm-flag
branch
from
December 4, 2026 05:18
2046905 to
c21257f
Compare
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.
Follow-up to #169, as the coordinator asked.
app/build.rs:rerun-if-changedondatabase/migrationsand../skills, plus a content hash inVISUALCI_MIGRATIONS_HASH/VISUALCI_SKILLS_HASH, read withenv!inlib.rsandskills.rs.include_dir!isn't tracked by cargo's or kache's compile keys, so before this a skills-only change could reuse a stale cached compile.frontend/scripts/wasm.mjs:VISUALCI_SKIP_WASM=1skips the wasm build with an info line, no warning.docker/app.Dockerfilesets it: the app server 404s site paths (app/src/http/hosts.rs), and onlydocs.html, served by the site Worker, loads the Compare page.Checked:
cargo clippy --workspace --all-targets -D warningsclean on the build pool.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.