morningman opened a new pull request, #4533: URL: https://github.com/apache/doris-website/pull/4533
Documentation search can remain stuck while loading the 40–58 MB same-origin indexes, and a failed request poisons the worker cache. Load source-fingerprinted indexes through the existing asset CDN, fall back to the website with bounded requests, and offer a localized retry while preserving the first typed query. Worker scripts remain same-origin. Temporary redirects preserve the previous index URLs without duplicating their contents. Publishing now bounds Node/Terser/Rayon/SSG concurrency, reuses the Yarn download cache with a frozen install, removes duplicate generation, and shares compact HTML metadata across strict locale verification. Browser route payloads retain stable bytes across source commits; full manifests retain build provenance. UTF-8 client output and level-1 artifact compression reduce expansion and transfer overhead. Measurements include per-locale RSS, artifact categories, and exact public generated inputs. PR admission checks the complete diff, every content version/locale/plugin, and all changed file sizes with NUL-delimited filenames. The existing 1,024,000-byte size limit is unchanged. Validation: - 391 Node tests: 389 passed, 2 conditional Apache skips; 27 workflow tests passed. - Real five-language Rspack search fixture: 16 scenarios passed, including early input, CDN fallback, and retry in both search UIs; 40 mobile theme/error-layout checks passed. - Configuration, manual-content digests, and source diff checks passed. The four existing community-report drift records remain visible. - CI retains representative validation for this PR; complete publication, resource headroom, and final public verification are part of T22 after merge. No full production site was compiled locally. Self-review against AGENTS.md: - Goal: recover search and address the measured publishing/gate problems; production memory/time improvements still require the real publishing measurement. - Scope: shared search, publication, and admission mechanisms; no prose backfill or translation ownership changes. - Information architecture: all active versions, locales, plugins, English fallback, and coverage denominators are preserved. - URLs/navigation: document routes and sidebars are unchanged; legacy index URLs have temporary aliases to the new files. - Frontend: retry is localized, keyboard accessible, and uses semantic theme tokens; the CDN connection is allowed explicitly by CSP. - Validation: actual worker-cache failure/retry, corrupted static-output rejection, filename/range gate regressions, numeric registry keys, and UTF-8 string values are covered. - Other correctness/maintenance: generated provenance stays in build reports; fixture selection is scoped to search changes, and fork/deployment credential boundaries are unchanged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
