starter:gate: a fresh tarball every run and proof of which code made the site
pnpm's dlx cache is keyed by the spec, so the gate reused the previous run's plugin when the tarball path stayed the same. Each run now packs to a new file name and calls dlx with --config.dlx-cache-max-age=0. build:starter records the plugin commit in the bundle; ipal-kit create records the bundle's sha256 and that commit in .ipal/starter.json; the gate checks both, and the installed plugin, against the packed tarball. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
aa88e4ea39
commit
e7e756a0d7
@@ -13,6 +13,8 @@ export type SiteContext = {
|
||||
/** The exact ipal-kit version written into package.json. */
|
||||
pluginVersion: string
|
||||
serverUrl: string
|
||||
/** Which starter bundle made the site (recorded in `.ipal/starter.json`; the release gate compares it). */
|
||||
source?: { bundleSha256: string; commit: null | string }
|
||||
}
|
||||
|
||||
const q = (value: string) => `'${value.replace(/\\/g, '\\\\').replace(/'/g, "\\'")}'`
|
||||
|
||||
Reference in New Issue
Block a user