Repository navigation
Conversation
…URL writes a report and exits 5; blocked always exits 3 #1275 #1269 Signed-off-by: Nik Cubrilovic <[email protected]>
… settings docs, no empty project dir, breaking-exit note #1269 #1275 Signed-off-by: Nik Cubrilovic <[email protected]>
This was referenced Oct 30, 2026
feat(cli): audit --max-duration stops at a wall-clock budget and writes a partial report #1271
#1324
Closed
Contributor
Author
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.
Fixes #1261
What changed
eeat/about-pagerecognises/wer-wir-sindand/unsere-geschichte(also under/pages/, with a trailing slash or.html)./team,/the-team,/das-team,/agenturand/agencyare deliberately NOT built-in slugs (a team page is often not an About page, an agency page is often a service page); a test pins that, and the docs say so.pathsoption (array of strings, max 50, each 1 to 512 characters, default[]) oneeat/about-page,eeat/contact-pageandeeat/privacy-policy, checked before the built-in slugs. Patterns usematchesExcludePattern, the same matcher asexcludePatterns: a substring of the path,/exact-segment/, orregex:. A crawled page at a configured path satisfies the rule with no schema type; a configured path that pages link to but the crawl did not fetch is reported as linked but not crawled, as for a built-in slug; on the privacy rule, links to a configured path count toward theprivacy-linkedcoverage.optionsSchema, so the existing rule-options preflight (squirrel config validate, the audit's preflight) flags apathsvalue that is not an array of strings and listspathsamong the rule's options.perRuleTallychange (golden pins did not move).legal/privacy-policyshares the privacy helpers and is unchanged (it passes no paths).Tests (failing first)
packages/rules/tests/eeat-page-paths-1261.test.ts(30 tests); with the source reverted, 20 of them fail.eeat-about-contact-not-crawled,rule-options-check,docs-rule-pages,docs-category-table,rule-verdict-scope,meta-string-limits,max-rules-limit,template-verdict-inputs,template-verdict-page-independence,streaming-rules-canonical-golden, the wholescripts/test-suites.ts --run rulessuite (8170 pass, 0 fail),make validateindocs/, tsgo on rules and utils.squirrel auditagainst a real Shopify or Storyblok site. Local Bun is not the pinned 1.4.4.Open points
pathsuses substring semantics by default (theexcludePatternsmatcher), sopaths = ["/pages/manufaktur"]also matches/pages/manufaktur-extra; use/pages/manufaktur/orregex:for an exact match. Documented.Docs:
docs/rules/eeat/about-page.mdx,contact-page.mdx,privacy-policy.mdx(Options tables) anddocs/configuration/rule-options.mdx. Skill: none.Review follow-ups
audit-run-lifecycle-wiring.test.tsnow expects exit 5 for the unreachable start URL.classifyAuditFailureReasonTextnow matchescertificate verification,unknown certificate,ssl routinesandwrong version number(Bun and OpenSSL wording), so the TLS-to-plain-http e2e passes on macOS and Linux.Connection timed out, which the shared failure vocabulary files underconnection(its parity corpus pins "Connection timed out" toconnection), so the test asserts that, and the docs now sayconnectioncovers a timed-out connection.auditLevel.settingsare described as the effective settings (output.mdx),docs/reports.mdx<audit-level>documentsoffline,cloud-checks,renderandexternal-links, and the unreachable example shows the realgetaddrinfo ENOTFOUNDtext.blockedexit 1 to 3 as breaking for scripts.?. No audit randouble punctuation, and an unreachable run no longer leaves its project folder behind (checked on a fresh HOME).auditLevelis read through the tolerantparseResolvedAuditSettings(apps/api active-runs, admission-dispatch, audit-billing, not-checked; the register route'slevelisauditLevelNameSchema), never a strict schema, and offline runs neither register nor publish, so the newofflinekey cannot be rejected. An older API would simply drop it.