Repository navigation
Conversation
…ls back #1664 Signed-off-by: Nik Cubrilovic <[email protected]>
Signed-off-by: Nik Cubrilovic <[email protected]>
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.
Part of #1664 (the report half; the waiter union is #1704). Schema 1.11, claimed by lead: 1.10 is #1692 (storeIntegrity). The bump is the LAST commit, so after #1692 merges this rebases with the version line, the docs sentence and the four version assertions kept in order 1.9, 1.10, 1.11.
When cloud rendering stopped partway, the reason was only a
logger.warn, so a user paying for render could get plain-HTTP pages with no report-level note, and an agent could not tell which pages were rendered.What
renderblock, the LLM report a<render .../>element, and the console one line when rendering fell back:Cloud rendering fell back to plain HTTP (out of credits): 12 of 40 pages were rendered, the rest fetched as plain HTML.requested: cloud rendering was asked for (flag, config or level).mode:all,auto(HTTP first, render client-rendered shells) orhttp, from the resolved fetcher's id.fallbackReason: only when rendering was asked for and did not carry the crawl: the render fetcher's own terminal reason (out of credits,not authenticated,run no longer active,N consecutive cloud failures; viaterminalFallbackReason, not reimplemented) plus the two cases that never built a render fetcher (not logged in,cloud unavailable (signed out or unreachable)).fetcherIdeachpage:fetchedevent reports (cloud-renderorbrowser= rendered), so they are pages THIS audit fetched; a page reused unchanged from an earlier audit is in neither. A single page the renderer could not reach is fetched directly and counted plain, with nofallbackReason.apps/cli/src/audit/render-summary.ts;resolveDocumentFetchertakes an optional hook so the controller hears the reason. No behaviour of rendering itself changes.Acceptance criteria
render-summary.test.ts,render-1664.test.tsrenderFallbackLine(tested); wired after the cloud spend lineconfiguration/outputlists therenderblock andcli/audithas "When rendering falls back"Checks
render-summary(21),resolve-document-fetcher(5, incl. the two hook cases), reportrender-1664(7) andoutcome-1657,json-pages-1260,reconstruct-page-rule-counts-1260, the include-pages and unstored-pages e2e (schema 1.11). tsgo (cli, report, core-contracts), root lint, cli format:check,make validate. Temp HOME. Goldens not run locally. CHANGELOG bullet under Unreleased.Agent skill and docs
renderblock reads it from the report; if we later want agents to re-run with--renderwhenrender.fallbackReasonis set, that is a separate skill change with its own issue.docs/configuration/output.mdx(therenderblock and the schema 1.11 line) anddocs/cli/audit.mdx("When rendering falls back") are present.