Make builds Vite+ tasks - #212
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
37a8193 to
c6e9a52
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
b771bc3 to
310f88c
Compare
This comment was marked as resolved.
This comment was marked as resolved.
310f88c to
465a519
Compare
6471b23 to
c43d9c7
Compare
This comment was marked as resolved.
This comment was marked as resolved.
c43d9c7 to
5ee91c3
Compare
This comment was marked as resolved.
This comment was marked as resolved.
5ee91c3 to
c823af6
Compare
|
All 13 configurator packages are correctly wired: each re-exports the shared config and reaches I've completed a thorough independent review of this PR at the current HEAD Review SummaryThis PR fixes a real, subtle correctness bug: a cached The prior blocking finding is resolvedThe last review flagged that Verification performed
One non-blocking note (unchanged from prior reviews): dependencies aren't installed in this read-only checkout, so I couldn't execute LGTM! |
A cached vp run executes each task with only (PATH, HOME, CI, NODE_OPTIONS, …) forwarded. Anything else is invisible to the command and absent from the cache fingerprint.
c823af6 to
aa44243
Compare
|
The only remaining My review is complete. Let me summarize. Review SummaryThis PR fixes a real, subtle correctness bug: a cached The prior blocking finding is resolvedThe last posted review flagged that Verification performed against HEAD
|
A cached
vprun executes each task with only (PATH,HOME,CI,NODE_OPTIONS, …) forwarded https://viteplus.dev/guide/cache#environment-variables, anything else is invisible to the command and absent from the cache fingerprint.In order to passthrough env vars we've converted the "build" script in to a Vite+ task and it now passes through relevant env vars. In addition to this, all "deploy" scripts use the
--no-cacheoption when building, so they wouldn't be suspectible to this issue to begin with.I also added tests which should catch numerous cases such as if you forgot to make your deploy script --no-cache, if you introduced a new build-time env read that isn't passed through, a deploy invoking a builder directly instead of through its task and a configurator gatekeeper with no vite.config.ts