@se-studio/site-check 2.20.0 → 2.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +4 -0
- package/develop-published-gate.mjs +701 -0
- package/dist/check-pages-exist.d.ts.map +1 -1
- package/dist/check-pages-exist.js +2 -1
- package/dist/check-pages-exist.js.map +1 -1
- package/dist/check-rewrites.d.ts.map +1 -1
- package/dist/check-rewrites.js +2 -1
- package/dist/check-rewrites.js.map +1 -1
- package/dist/cli.js +8 -1
- package/dist/cli.js.map +1 -1
- package/dist/collect-markdown-urls.d.ts.map +1 -1
- package/dist/collect-markdown-urls.js +2 -1
- package/dist/collect-markdown-urls.js.map +1 -1
- package/dist/download.d.ts.map +1 -1
- package/dist/download.js +2 -1
- package/dist/download.js.map +1 -1
- package/dist/fetch-timeout.d.ts +9 -0
- package/dist/fetch-timeout.d.ts.map +1 -0
- package/dist/fetch-timeout.js +17 -0
- package/dist/fetch-timeout.js.map +1 -0
- package/dist/validate.d.ts.map +1 -1
- package/dist/validate.js +5 -3
- package/dist/validate.js.map +1 -1
- package/dist/xml-entities.d.ts +3 -0
- package/dist/xml-entities.d.ts.map +1 -0
- package/dist/xml-entities.js +10 -0
- package/dist/xml-entities.js.map +1 -0
- package/docs/develop-published.md +36 -0
- package/package.json +4 -2
- package/templates/develop-published/develop-published-gate.yml +129 -0
- package/templates/develop-published/update-develop-published.yml +58 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.22.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3a5291b: develop-published-gate and site-check: every compare/sitemap fetch has a 30s timeout (`SITE_CHECK_FETCH_TIMEOUT_MS` overrides it in site-check; a timeout is a transient, retried failure, 3 tries), the spawned compare is killed after 25 minutes and not retried, and the gate workflow template gets a `concurrency` group keyed on the commit so the two READY deployments of one develop-published SHA no longer run the gate twice (a cancelled run posts no status). The gate job also gets `timeout-minutes: 35`, and an early step skips the run (success, no new status) when the newest `develop-published gate` status on the SHA is already `success`; failed, pending or missing statuses still run it. The deployment smoke workflow example in the skills package gets a job `timeout-minutes` too.
|
|
8
|
+
|
|
9
|
+
## 2.22.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- c9aa97d: `develop-published-gate`: new `--sitemap-roots <paths>` option (comma-separated or repeated; paths or absolute production URLs) for the sitemap roots the app owns. The prod compare then walks only those roots (an index is followed one level) instead of the full production sitemap index, so URLs another app serves (for example `/earn/*` on point.me) are no longer compared. Without the option nothing changes: the full production sitemap index is compared as before. An unreadable, nested-index or empty root fails the compare.
|
|
14
|
+
|
|
15
|
+
## 2.21.2
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 396c0a4: `develop-published-gate`: the prod compare "sitemap pages exist" now only requires production sitemap URLs that return 200 on production. A URL missing on the build that also 404s/410s on production is reported as a warning ("prod sitemap lists dead URL"), not a gate failure; an indeterminate production answer (5xx, error) still fails. Transient fetch errors ("fetch failed", ECONNRESET, timeouts) are retried up to 3 times with backoff, both for the gate's own requests and for the spawned compare.
|
|
20
|
+
|
|
21
|
+
## 2.21.1
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 0692edf: develop-published docs and gate workflow template: the gate workflow checks out the promoted commit (not the build commit), and the docs describe how `ignoreCommand` skips builds and why the exact-commit stage accepts an ancestor build.
|
|
26
|
+
|
|
27
|
+
## 2.21.0
|
|
28
|
+
|
|
29
|
+
### Minor Changes
|
|
30
|
+
|
|
31
|
+
- bd04e26: Add `develop-published-gate`, the promote gate for a persistent published-content build of develop (exact commit, noindex, draft canary, full smoke, content smoke, prod compare), plus workflow templates in `templates/develop-published/` and `docs/develop-published.md`. Fix compare mode (`--check-against`) and the markdown URL collector failing on sitemap URLs that contain XML entities (for example `'` in a slug): `<loc>` values are now decoded. In compare mode, `--vercel-bypass` now applies to the `--check-against` (development) requests only; production is public and no longer receives the bypass secret (`-H` headers still apply to both).
|
|
32
|
+
|
|
3
33
|
## 2.20.0
|
|
4
34
|
|
|
5
35
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -257,6 +257,10 @@ Optional per-case HTML checks for release verification (key blocks must render,
|
|
|
257
257
|
|
|
258
258
|
`contentAssert` also accepts an array of blocks, `environments` (run a block only in `local`/`preview`/`production`) and `allowNon2xx` (assert on an expected 404). A top-level `deadLinks` block adds an opt-in dead internal link check per page, and `runStaticSmokeTest` takes `protectionBypass: true` for protected previews. See [docs/smoke-assertions.md](./docs/smoke-assertions.md).
|
|
259
259
|
|
|
260
|
+
### develop-published gate (`develop-published-gate`)
|
|
261
|
+
|
|
262
|
+
Promote gate against a persistent published-content build of develop: exact commit, noindex, draft canary, full smoke, content smoke and a prod compare, in one command. Workflow templates are in `templates/develop-published/`. See [docs/develop-published.md](./docs/develop-published.md).
|
|
263
|
+
|
|
260
264
|
### Publish-state check (CDA vs CPA)
|
|
261
265
|
|
|
262
266
|
Before promoting when Contentful entries changed, compare Delivery vs Preview:
|