Skip to content

feat(ui): serve loopover.ai as a prerendered static site - #10368

Merged
JSONbored merged 4 commits into
mainfrom
static-portfolio
Nov 30, 2026
Merged

JSONbored merged 4 commits into
mainfrom
static-portfolio

Conversation

@JSONbored

@JSONbored JSONbored commented Nov 30, 2026 •

Copy link
Copy Markdown
Owner

Summary

loopover.ai becomes a static portfolio site with the same design: Cloudflare Workers static assets only (apps/loopover-ui/wrangler.jsonc has no main), so no Worker script runs per request and it costs nothing on the Workers Free plan. Nothing on the site calls api.loopover.ai or any other LoopOver backend, at build or run time, so loopover-api (Worker, D1, Queues, Durable Objects, cron) can be retired afterwards. This PR does not change the backend Worker's behaviour or any Cloudflare resource, and does not deploy.

Removed

  • Routes: the dashboard /app and all /app/* children (analytics, audit, commands, config-generator, digest, maintainer, miner, operator, owner, playground, repos, runs, workbench), /proof/$owner/$repo, /repos/$owner/$repo/quality, /docs/fumadocs-spike-api-reference (Scalar spike with its own try-it client).
  • Features: the API "Try it" console, the /stats PostHog proxy in src/server.ts, the audit feed, the API status banner / progress bar / footer health dot / offline toast, the src/lib/api/* client (session, status, request, use-api-resource), every app-panels/* component and dashboard-only lib, and their tests (UI and root).

Replaced with static content

  • Homepage "Proof of Power" band and /fairness render a committed snapshot of the last /v1/public/stats payload (2026-11-30), dated "as of Nov 30, 2026"; a test parses it with the contract's PublicStatsSchema.
  • GitHub chip in the header shows the last known stars/forks as plain text.
  • Home meta strip: the live "API / Last checked" cells became "License / Hosting".
  • The MCP version badge and /changelog still read the public npm registry from the browser (not a LoopOver backend), falling back to MCP_PACKAGE_KNOWN_LATEST_VERSION.
  • PostHog now reports to https://us.i.posthog.com directly (no proxy is possible without a Worker).

Static-site plumbing

  • docs.$slug reads frontmatter from the compiled MDX chunk (docsClientLoader.preload) instead of a createServerFn, so client-side navigation needs no server. A test asserts no module defines a server function.

  • apps/loopover-ui/scripts/prerender-static.ts starts several wrangler dev --local instances of the built Worker and crawls every static route, every content/docs page, every OpenAPI operation and every internal link into dist/client as <path>.html (/ as index.html) plus 404.html. Any page or internal link that does not render fails the run. It then replaces dist/server/wrangler.json with the static config, so every way of deploying the build output publishes the static site.

  • wrangler.jsonc: assets.directory: ./dist/client, html_handling: auto-trailing-slash, not_found_handling: 404-page, keeps the loopover.ai custom-domain route, drops VITE_LOOPOVER_API_ORIGIN.

  • public/_redirects sends old /app, /proof/*, /repos/* URLs home; in-site links to removed pages point at the nearest remaining page.

  • ui-deploy.yml: build, prerender, and on main wrangler deploy --config wrangler.jsonc; pull requests run build and prerender only. ui-preview.yml and the deploy-ui-preview action prerender and upload an assets-only preview version. VITE_LOOPOVER_API_ORIGIN / VITE_PREVIEW removed everywhere.

  • The prerender serves on ports 47870+ rather than wrangler's default 8787, which /docs/self-hosting-security quotes; a page containing the prerender's own origin is refused as origin-bound. The PR's ui-deploy run wrote all 324 pages plus 404.html.

Pre-existing test failures fixed

validate-tests had been red on main since the calendar moved past the fixtures' dates (main's last CI run, 2026-08-06, was green): 16 tests in 7 files whose code under test reads the wall clock while their fixtures carry fixed 2026 dates. No assertion changed.

  • src/review/public-stats.ts: getPublicStats(env, nowMs) computed every window from nowMs except the audit_events retention cutoff for the auto-action denominator, which read the wall clock. It now passes nowMs (production passes Date.now(), so behaviour is unchanged); this fixes the two real-D1 accuracy tests in test/unit/public-stats.test.ts.
  • test/unit/retention.test.ts (processJob dedupe, maxPerTable invariant), test/unit/routes-gate-outcome-breakdown.test.ts, test/unit/signals.test.ts (lifecycle staleness), test/unit/operator-dashboard.test.ts (finding acceptance) and test/integration/public-eval-scores-route.test.ts: Date is pinned (timers stay real) to the day each file's fixtures describe.
  • test/unit/submitter-reputation.test.ts: the ledger windows on SQLite's datetime('now'), which no fake timer reaches, so the fixtures are re-based by whole days onto the day the suite runs, keeping every gap between rows (and the julianday merge timing) exact.

Before merging

  • The loopover-ui Workers Builds connection is still attached in Cloudflare and will also run on merge. build:cloudflare now prerenders and deploy:built / version:built deploy the static config, but if its dashboard deploy command is anything else, disconnect it so ui-deploy.yml is the only deployer (CONTRIBUTING.md updated accordingly).

loopover.ai becomes Cloudflare Workers static assets alone: wrangler.jsonc has
no `main`, so no Worker script runs per request, and nothing on the site calls
api.loopover.ai or any other LoopOver backend.

- Remove the signed-in dashboard (/app/*), the public proof and repo-quality
  pages, the API "Try it" console, the Scalar spike page, the /stats analytics
  proxy, the audit feed, the API status banner/progress bar/health dot, and the
  lib/api client with every panel built on it. Their tests go with them.
- The homepage stats band and the fairness report render a committed snapshot
  of the last /v1/public/stats payload (validated against the contract schema);
  the GitHub chip shows the last known stars/forks. The MCP version badge and
  changelog still read the public npm registry from the browser.
- Docs pages read their frontmatter from the compiled MDX chunk instead of a
  server function, so client-side navigation needs no server.
- PostHog reports straight to its own ingest host now that there is no proxy.
- Links to removed pages point at the nearest remaining page; public/_redirects
  sends old /app, /proof and /repos URLs home.
- scripts/prerender-static.ts runs the built Worker under several
  `wrangler dev --local` instances and crawls every route, docs page and API
  operation into dist/client as <path>.html plus 404.html, failing on any page
  or internal link that does not render. It then points dist/server/wrangler.json
  at the static config, so any deploy of the build output is static.
- ui-deploy.yml builds, prerenders and (on main) deploys; pull requests run the
  build and prerender only. ui-preview.yml prerenders and uploads a static
  preview version. VITE_LOOPOVER_API_ORIGIN is gone.
@JSONbored JSONbored closed this Nov 30, 2026
@JSONbored JSONbored reopened this Nov 30, 2026
@codecov

codecov Bot commented Nov 30, 2026

Copy link
Copy Markdown

Bundle Report

Changes will decrease total bundle size by 4.2MB (-52.69%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
loopover-ui 3.77MB -4.2MB (-52.69%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: loopover-ui

Assets Changed:

Asset Name Size Change Total Size Change (%)
assets/tanstack-vendor-DrvcFZ0Z.js (New) 693.11kB 693.11kB 100.0% 🚀
assets/styles-B3-9ehrI.css (New) 114.8kB 114.8kB 100.0% 🚀
assets/rees-analyzers-QiuXp_uK.js (New) 48.14kB 48.14kB 100.0% 🚀
assets/routes-Bfe4OxqZ.js (New) 34.76kB 34.76kB 100.0% 🚀
assets/fairness-CUYe1d3G.js (New) 21.77kB 21.77kB 100.0% 🚀
assets/beta-onboarding-DFzuGAB3.js (New) 17.69kB 17.69kB 100.0% 🚀
assets/self-hosting-docs-audit-D1TXoO4r.js (New) 16.6kB 16.6kB 100.0% 🚀
assets/self-hosting-rees-C9kqH7QV.js (New) 15.65kB 15.65kB 100.0% 🚀
assets/owner-checklist-CuFp7xoS.js (New) 14.12kB 14.12kB 100.0% 🚀
assets/api._op-Df_sB3vz.js (New) 9.22kB 9.22kB 100.0% 🚀
assets/self-hosting-rees-analyzers-134VL_Ko.js (New) 8.25kB 8.25kB 100.0% 🚀
assets/maintainers-CH3yGyHW.js (New) 8.24kB 8.24kB 100.0% 🚀
assets/miners-BmKSnOO2.js (New) 8.04kB 8.04kB 100.0% 🚀
assets/agents-DBgib2GQ.js (New) 7.93kB 7.93kB 100.0% 🚀
assets/troubleshooting-QbskVSyT.js (New) 7.0kB 7.0kB 100.0% 🚀
assets/maintainer-workflow-DHPz4IJ8.js (New) 6.52kB 6.52kB 100.0% 🚀
assets/docs-nav-g7-6PQig.js (New) 6.19kB 6.19kB 100.0% 🚀
assets/docs.index-Ce6S4oWc.js (New) 6.04kB 6.04kB 100.0% 🚀
assets/api.index-Df14Igya.js (New) 4.73kB 4.73kB 100.0% 🚀
assets/public-stats-snapshot-pnGapWLJ.js (New) 4.15kB 4.15kB 100.0% 🚀
assets/docs-Ch9X5HdA.js (New) 2.96kB 2.96kB 100.0% 🚀
assets/api-DcUIKMne.js (New) 2.81kB 2.81kB 100.0% 🚀
assets/control-primitives-CMSsmH8h.js (New) 2.35kB 2.35kB 100.0% 🚀
assets/docs-page-CKf2dLWb.js (New) 2.14kB 2.14kB 100.0% 🚀
assets/docs._slug-D_YAvPMh.js (New) 502 bytes 502 bytes 100.0% 🚀
assets/index-DVWPjzbz.js (New) 438 bytes 438 bytes 100.0% 🚀
assets/eye-off-Bx27r9Jm.js (New) 429 bytes 429 bytes 100.0% 🚀
assets/bot-ilqT3IEI.js (New) 327 bytes 327 bytes 100.0% 🚀
sw.js -3 bytes 322 bytes -0.92%
assets/wrench-B87eVEd1.js (New) 302 bytes 302 bytes 100.0% 🚀
assets/compass-vj6-LFV8.js (New) 250 bytes 250 bytes 100.0% 🚀
_redirects (New) 226 bytes 226 bytes 100.0% 🚀
assets/lock-tDIWg_PF.js (New) 205 bytes 205 bytes 100.0% 🚀
assets/add-scalar-classes-DVgebC71.js (Deleted) -2.16MB 0 bytes -100.0% 🗑️
assets/tanstack-vendor-B9o2ir1_.js (Deleted) -957.42kB 0 bytes -100.0% 🗑️
assets/docs.fumadocs-spike-api-reference-nuZn-evW.js (Deleted) -443.45kB 0 bytes -100.0% 🗑️
assets/tanstack-vendor-VtaRlIe6.css (Deleted) -251.86kB 0 bytes -100.0% 🗑️
assets/AgentScalarChatInterface.vue-CbVK0Z1U.js (Deleted) -201.7kB 0 bytes -100.0% 🗑️
assets/modal-Ba8C8THv.js (Deleted) -184.5kB 0 bytes -100.0% 🗑️
assets/client-DALwOYKU.js (Deleted) -151.47kB 0 bytes -100.0% 🗑️
assets/styles-BsezzObU.css (Deleted) -130.37kB 0 bytes -100.0% 🗑️
assets/browser-CNtsDgaI.js (Deleted) -103.04kB 0 bytes -100.0% 🗑️
assets/runtime-core.esm-bundler-BTm7hc7v.js (Deleted) -83.15kB 0 bytes -100.0% 🗑️
assets/maintainer-panel-DTtvh6z3.js (Deleted) -78.97kB 0 bytes -100.0% 🗑️
assets/rees-analyzers-B9WDT1JY.js (Deleted) -48.17kB 0 bytes -100.0% 🗑️
assets/routes-DdvvRMZO.js (Deleted) -35.88kB 0 bytes -100.0% 🗑️
assets/owner-panel-CV9N3g4z.js (Deleted) -28.42kB 0 bytes -100.0% 🗑️
assets/app-Cqpk_Jui.js (Deleted) -25.82kB 0 bytes -100.0% 🗑️
assets/ui-vendor-DS8ITp_s.js (Deleted) -24.57kB 0 bytes -100.0% 🗑️
assets/fairness-uaojtkUX.js (Deleted) -23.44kB 0 bytes -100.0% 🗑️
assets/miner-panel-CjNwlsFJ.js (Deleted) -20.49kB 0 bytes -100.0% 🗑️
assets/beta-onboarding-Btra-9kf.js (Deleted) -17.65kB 0 bytes -100.0% 🗑️
assets/api._op-3FnOvtd1.js (Deleted) -17.51kB 0 bytes -100.0% 🗑️
assets/self-hosting-docs-audit-Dl6zL6X2.js (Deleted) -16.6kB 0 bytes -100.0% 🗑️
assets/docs-client-loader-B-aD2jsl.js (Deleted) -15.68kB 0 bytes -100.0% 🗑️
assets/self-hosting-rees-CJsRU-74.js (Deleted) -15.65kB 0 bytes -100.0% 🗑️
assets/playground-panel-Burov0WJ.js (Deleted) -14.35kB 0 bytes -100.0% 🗑️
assets/owner-checklist-CvlJYXzU.js (Deleted) -14.12kB 0 bytes -100.0% 🗑️
assets/troubleshooting-BvtGF1Tk.js (Deleted) -10.34kB 0 bytes -100.0% 🗑️
assets/app.audit-CLJq190f.js (Deleted) -10.22kB 0 bytes -100.0% 🗑️
assets/app.config-generator-BXOd9LS6.js (Deleted) -10.06kB 0 bytes -100.0% 🗑️
assets/self-hosting-rees-analyzers-BFDa3uBQ.js (Deleted) -8.25kB 0 bytes -100.0% 🗑️
assets/maintainers-CGAzyYb6.js (Deleted) -8.06kB 0 bytes -100.0% 🗑️
assets/miners-DddbY4U7.js (Deleted) -7.91kB 0 bytes -100.0% 🗑️
assets/agents-CZO3ACr8.js (Deleted) -7.74kB 0 bytes -100.0% 🗑️
assets/proof._owner._repo-R12XRHeV.js (Deleted) -7.11kB 0 bytes -100.0% 🗑️
assets/commands-panel-ER0Qg4w2.js (Deleted) -6.74kB 0 bytes -100.0% 🗑️
assets/maintainer-workflow-LdnRTHed.js (Deleted) -6.52kB 0 bytes -100.0% 🗑️
assets/docs-nav-Df_8soBj.js (Deleted) -6.19kB 0 bytes -100.0% 🗑️
assets/digest-panel-B3QTeGee.js (Deleted) -6.15kB 0 bytes -100.0% 🗑️
assets/repos._owner._repo.quality-CxA6gn2K.js (Deleted) -6.14kB 0 bytes -100.0% 🗑️
assets/docs.index-J1gVNNyt.js (Deleted) -6.01kB 0 bytes -100.0% 🗑️
assets/api.index-DJMt8722.js (Deleted) -4.7kB 0 bytes -100.0% 🗑️
assets/docs-BzdWm-pp.js (Deleted) -3.01kB 0 bytes -100.0% 🗑️
assets/api-W2goB5MC.js (Deleted) -2.66kB 0 bytes -100.0% 🗑️
assets/docs-page-CJFlHDTn.js (Deleted) -2.14kB 0 bytes -100.0% 🗑️
assets/interface-setting-cog.svg-DNQZJ4dl.js (Deleted) -2.05kB 0 bytes -100.0% 🗑️
assets/maintainer-settings-preview-DLtkfjGQ.js (Deleted) -1.79kB 0 bytes -100.0% 🗑️
assets/table-WURMAYmp.js (Deleted) -1.75kB 0 bytes -100.0% 🗑️
assets/image-picture-flower.svg-BMeg2dfQ.js (Deleted) -1.59kB 0 bytes -100.0% 🗑️
assets/app.workbench-CGq3rWos.js (Deleted) -1.58kB 0 bytes -100.0% 🗑️
assets/tabs-Xd2zyZGL.js (Deleted) -1.39kB 0 bytes -100.0% 🗑️
assets/interface-share-space-ship.svg-DYkIiekP.js (Deleted) -1.2kB 0 bytes -100.0% 🗑️
assets/travel-map-earth-globe.svg-CQ_NNVRN.js (Deleted) -1.12kB 0 bytes -100.0% 🗑️
assets/computer-device-network-ethernet-cat6.svg-DJqTTMXv.js (Deleted) -1.11kB 0 bytes -100.0% 🗑️
assets/interface-share-satellite.svg-GlPsgXWt.js (Deleted) -1.07kB 0 bytes -100.0% 🗑️
assets/app.repos-D_KVRmqm.js (Deleted) -1.07kB 0 bytes -100.0% 🗑️
assets/shopping-gift-present.svg-C5pAd05t.js (Deleted) -1.07kB 0 bytes -100.0% 🗑️
assets/computer-device-network-lan-www.svg-B8RTBaPO.js (Deleted) -992 bytes 0 bytes -100.0% 🗑️
assets/interface-share-rocket.svg-B72Vj_7y.js (Deleted) -992 bytes 0 bytes -100.0% 🗑️
assets/programming-computer-database.svg-CwK4qFNn.js (Deleted) -978 bytes 0 bytes -100.0% 🗑️
assets/interface-favorite-star.svg-a8OpMabX.js (Deleted) -976 bytes 0 bytes -100.0% 🗑️
assets/interface-edit-tool-pencil.svg-C051W6hM.js (Deleted) -930 bytes 0 bytes -100.0% 🗑️
assets/money-cashier-receipt.svg-BGUS6e-e.js (Deleted) -898 bytes 0 bytes -100.0% 🗑️
assets/computer-device-network-wifi-router.svg-D4wzXM1t.js (Deleted) -875 bytes 0 bytes -100.0% 🗑️
assets/interface-hyperlink.svg-Bn5H2sRR.js (Deleted) -858 bytes 0 bytes -100.0% 🗑️
assets/phone-telephone.svg-BqRZOef-.js (Deleted) -857 bytes 0 bytes -100.0% 🗑️
assets/interface-lighting-brightness.svg-HwMBsFZA.js (Deleted) -851 bytes 0 bytes -100.0% 🗑️
assets/interface-favorite-stars-sparkles.svg-omhY7Bqp.js (Deleted) -843 bytes 0 bytes -100.0% 🗑️
assets/programming-bug.svg-BU2acyHT.js (Deleted) -831 bytes 0 bytes -100.0% 🗑️
assets/interface-award-crown.svg-DgsmCJuz.js (Deleted) -821 bytes 0 bytes -100.0% 🗑️
assets/interface-login-key.svg-XODbspEN.js (Deleted) -817 bytes 0 bytes -100.0% 🗑️
assets/input-DzL0SF7W.js (Deleted) -796 bytes 0 bytes -100.0% 🗑️
assets/proof-of-power-stats-model-B6rqqP6h.js (Deleted) -789 bytes 0 bytes -100.0% 🗑️
assets/basic-shape-primary-square-rectangle.svg-uMRA9WC7.js (Deleted) -786 bytes 0 bytes -100.0% 🗑️
assets/interface-edit-magic-wand.svg-BR0FX9eI.js (Deleted) -781 bytes 0 bytes -100.0% 🗑️
assets/interface-content-folder.svg-C5V5BnIc.js (Deleted) -778 bytes 0 bytes -100.0% 🗑️
assets/interface-edit-binocular.svg-C6pD5nGe.js (Deleted) -775 bytes 0 bytes -100.0% 🗑️
assets/file-cog-BnxOPsn_.js (Deleted) -758 bytes 0 bytes -100.0% 🗑️
assets/interface-calendar-date-one.svg-C_I229xG.js (Deleted) -754 bytes 0 bytes -100.0% 🗑️
assets/nature-ecology-leaf.svg-DqeLZrUd.js (Deleted) -745 bytes 0 bytes -100.0% 🗑️
assets/basic-shape-shield.svg-C943EItI.js (Deleted) -725 bytes 0 bytes -100.0% 🗑️
assets/programming-module-four-layout.svg-CV7pYBQ4.js (Deleted) -715 bytes 0 bytes -100.0% 🗑️
assets/interface-alert-exclamation-triangle-warning.svg-Blbbhmoq.js (Deleted) -713 bytes 0 bytes -100.0% 🗑️
assets/interface-hierarchy-flowchart.svg-BMFGMsE4.js (Deleted) -703 bytes 0 bytes -100.0% 🗑️
assets/computer-device-mobile-phone-android-samsung-back.svg-C6meTiyT.js (Deleted) -699 bytes 0 bytes -100.0% 🗑️
assets/computer-device-desktop.svg-XF_uq2cE.js (Deleted) -695 bytes 0 bytes -100.0% 🗑️
assets/interface-share-megaphone-bullhorn.svg-BRyYCpSQ.js (Deleted) -692 bytes 0 bytes -100.0% 🗑️
assets/ecology-science-erlenmeyer-flask.svg-CLTS_qcZ.js (Deleted) -687 bytes 0 bytes -100.0% 🗑️
assets/interface-users-multiple.svg-CAcwlx0e.js (Deleted) -683 bytes 0 bytes -100.0% 🗑️
assets/interface-favorite-flag.svg-DhS8zcep.js (Deleted) -682 bytes 0 bytes -100.0% 🗑️
assets/interface-favorite-heart.svg-1Xk6eXSO.js (Deleted) -666 bytes 0 bytes -100.0% 🗑️
assets/shopping-shipping-box-parcel-package.svg-CHdDBNL5.js (Deleted) -661 bytes 0 bytes -100.0% 🗑️
assets/interface-favorite-award.svg-CpsHXFZK.js (Deleted) -647 bytes 0 bytes -100.0% 🗑️
assets/computer-device-network-wifi-connection.svg-1Nsski2I.js (Deleted) -645 bytes 0 bytes -100.0% 🗑️
assets/interface-weather-moon.svg-CPHV9DqB.js (Deleted) -642 bytes 0 bytes -100.0% 🗑️
assets/money-graph-bar-chart-increase.svg-DAzJZHdW.js (Deleted) -636 bytes 0 bytes -100.0% 🗑️
assets/computer-device-mobile-phone-iphone-x-back.svg-CgC6rO0_.js (Deleted) -615 bytes 0 bytes -100.0% 🗑️
assets/shopping-cart.svg-Bmr4N2A7.js (Deleted) -613 bytes 0 bytes -100.0% 🗑️
assets/interface-time-hour-glass.svg-BUyJaGrq.js (Deleted) -610 bytes 0 bytes -100.0% 🗑️
assets/programming-module-three.svg-DUwxm0yH.js (Deleted) -595 bytes 0 bytes -100.0% 🗑️
assets/computer-device-desktop-monitor.svg-DT4lXMAt.js (Deleted) -594 bytes 0 bytes -100.0% 🗑️
assets/interface-content-book-page.svg-DAcxMJDU.js (Deleted) -594 bytes 0 bytes -100.0% 🗑️
assets/mail-send-email-paper-airplane.svg-BpHAQ0H4.js (Deleted) -588 bytes 0 bytes -100.0% 🗑️
assets/programming-computer-database-server.svg-iG4ugFEB.js (Deleted) -587 bytes 0 bytes -100.0% 🗑️
assets/basic-shape-diamond.svg-Cq6Vf-2k.js (Deleted) -585 bytes 0 bytes -100.0% 🗑️
assets/interface-share.svg-DBSzl8M8.js (Deleted) -582 bytes 0 bytes -100.0% 🗑️
assets/interface-alert-exclamation-diamond.svg-ZYMwd_OJ.js (Deleted) -579 bytes 0 bytes -100.0% 🗑️
assets/programming-module.svg-BzLqA9ST.js (Deleted) -579 bytes 0 bytes -100.0% 🗑️
assets/money-graph-arrow-increase.svg-DgFisrqx.js (Deleted) -577 bytes 0 bytes -100.0% 🗑️
assets/computer-device-mobile-phone-iphone-x.svg-CA3-aper.js (Deleted) -576 bytes 0 bytes -100.0% 🗑️
assets/interface-edit-attachment.svg-DoyHR6E-.js (Deleted) -574 bytes 0 bytes -100.0% 🗑️
assets/interface-content-book-open-pages.svg-D2Di5tXW.js (Deleted) -570 bytes 0 bytes -100.0% 🗑️
assets/computer-device-laptop.svg-DdilQ-A0.js (Deleted) -568 bytes 0 bytes -100.0% 🗑️
assets/interface-lock-open-unlock.svg-CH2nNTLc.js (Deleted) -565 bytes 0 bytes -100.0% 🗑️
assets/interface-copy-clipboard.svg-DB-QBnp6.js (Deleted) -562 bytes 0 bytes -100.0% 🗑️
assets/computer-device-mobile-tablet-touch.svg-DFBipiWf.js (Deleted) -560 bytes 0 bytes -100.0% 🗑️
assets/computer-device-mobile-phone-android-samsung.svg-CujL8Tmm.js (Deleted) -554 bytes 0 bytes -100.0% 🗑️
assets/docs._slug-CZ15o3Ib.js (Deleted) -554 bytes 0 bytes -100.0% 🗑️
assets/image-flash-lightning.svg-BPj6p3WA.js (Deleted) -554 bytes 0 bytes -100.0% 🗑️
assets/interface-edit-tool-paint-roller.svg-BenA6lry.js (Deleted) -554 bytes 0 bytes -100.0% 🗑️
assets/programming-script-code.svg-Dq-C-D_z.js (Deleted) -551 bytes 0 bytes -100.0% 🗑️
assets/interface-home-house.svg-C3pOK4-Q.js (Deleted) -536 bytes 0 bytes -100.0% 🗑️
assets/basic-shape-hexagon.svg-G0QIfc7j.js (Deleted) -534 bytes 0 bytes -100.0% 🗑️
assets/interface-signal-square.svg-BxHQAX_L.js (Deleted) -523 bytes 0 bytes -100.0% 🗑️
assets/interface-alert-information-circle.svg-C_jq5avW.js (Deleted) -522 bytes 0 bytes -100.0% 🗑️
assets/mail-send-envelope.svg-CYsrvCWg.js (Deleted) -517 bytes 0 bytes -100.0% 🗑️
assets/tag-new-circle.svg-BS6S9oP3.js (Deleted) -504 bytes 0 bytes -100.0% 🗑️
assets/app.maintainer-CWAKyO_5.js (Deleted) -502 bytes 0 bytes -100.0% 🗑️
assets/mail-chat-bubble-square.svg-CZeap8N2.js (Deleted) -499 bytes 0 bytes -100.0% 🗑️
assets/interface-lock-closed.svg-B979Rim5.js (Deleted) -497 bytes 0 bytes -100.0% 🗑️
assets/computer-device-mobile-tablet.svg-bYJrz920.js (Deleted) -486 bytes 0 bytes -100.0% 🗑️
assets/app.owner-HVg60V7h.js (Deleted) -474 bytes 0 bytes -100.0% 🗑️
assets/interface-content-file.svg-DPJr1Tog.js (Deleted) -472 bytes 0 bytes -100.0% 🗑️
assets/interface-time-clock-circle.svg-DBmakOTx.js (Deleted) -463 bytes 0 bytes -100.0% 🗑️
assets/programming-cloud.svg-DpgSSVFD.js (Deleted) -460 bytes 0 bytes -100.0% 🗑️
assets/interface-bookmark-tag.svg-CM-Aoejy.js (Deleted) -456 bytes 0 bytes -100.0% 🗑️
assets/interface-bookmark.svg-CM-Aoejy.js (Deleted) -456 bytes 0 bytes -100.0% 🗑️
assets/app.commands-D21jRwDy.js (Deleted) -455 bytes 0 bytes -100.0% 🗑️
assets/app.playground-Cet7wQVu.js (Deleted) -442 bytes 0 bytes -100.0% 🗑️
assets/index-BJmKPE8-.js (Deleted) -438 bytes 0 bytes -100.0% 🗑️
assets/app.digest-B-hR6Fh2.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/eye-off-CLbajjuw.js (Deleted) -430 bytes 0 bytes -100.0% 🗑️
assets/interface-search.svg-C4w8SGka.js (Deleted) -424 bytes 0 bytes -100.0% 🗑️
assets/app.miner-ZJzPuzgx.js (Deleted) -422 bytes 0 bytes -100.0% 🗑️
assets/money-currency-dollar-pay.svg-D8-uGGPq.js (Deleted) -405 bytes 0 bytes -100.0% 🗑️
assets/basic-shape-primary-circle-ellipse-round.svg-BMJeSnCP.js (Deleted) -387 bytes 0 bytes -100.0% 🗑️
assets/key-round-CE-bDoo9.js (Deleted) -355 bytes 0 bytes -100.0% 🗑️
assets/bot-DlFY3wUd.js (Deleted) -328 bytes 0 bytes -100.0% 🗑️
assets/git-pull-request-arrow-CSiNOLb3.js (Deleted) -321 bytes 0 bytes -100.0% 🗑️
assets/list-checks-C801GK5B.js (Deleted) -279 bytes 0 bytes -100.0% 🗑️
assets/compass-BrGlAo-z.js (Deleted) -251 bytes 0 bytes -100.0% 🗑️
assets/history-Cxr8FmB0.js (Deleted) -237 bytes 0 bytes -100.0% 🗑️
assets/message-square-B2O6jwkZ.js (Deleted) -233 bytes 0 bytes -100.0% 🗑️
assets/lock-DLsPzk49.js (Deleted) -206 bytes 0 bytes -100.0% 🗑️
assets/play-CXKL2OYj.js (Deleted) -190 bytes 0 bytes -100.0% 🗑️
assets/circle-check-DN0LbxX_.js (Deleted) -178 bytes 0 bytes -100.0% 🗑️

@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.31%. Comparing base (f665d94) to head (849d7a3).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10368   +/-   ##
=======================================
  Coverage   92.31%   92.31%           
=======================================
  Files         939      939           
  Lines      114824   114824           
  Branches    27731    27731           
=======================================
+ Hits       105997   106000    +3     
+ Misses       7527     7524    -3     
  Partials     1300     1300           
Flag Coverage Δ
backend 95.72% <ø> (+<0.01%) ⬆️
control-plane 100.00% <ø> (ø)
rees 89.62% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/review/public-stats.ts 98.41% <ø> (ø)

... and 1 file with indirect coverage changes

getPublicStats takes nowMs and computes every other window from it, but the
audit_events retention cutoff for the auto-action denominator read the wall
clock. Callers passing a clock (the public-stats tests pass a fixed NOW) got a
denominator measured against a different day, so the two real-D1 accuracy
tests went red once the calendar moved 90 days past their fixtures.
Each of these reads the wall clock in the code under test while its fixtures
carry fixed 2026 dates, so they passed only until the calendar moved past a
window and have been red on every run since. No assertion changes.

- retention, routes-gate-outcome-breakdown, signals, operator-dashboard and
  public-eval-scores-route: pin Date (timers stay real) to the day the
  fixtures describe, for the tests whose code reads Date.now().
- submitter-reputation: the ledger windows on SQLite's datetime('now'), which
  no fake timer reaches, so its fixtures are re-based by whole days onto the
  day the suite runs, keeping every gap between rows exact.
@JSONbored
JSONbored merged commit 4d37448 into main Nov 30, 2026
10 checks passed
@JSONbored
JSONbored deleted the static-portfolio branch November 30, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant