Nicholai b20db98051
Some checks failed
CI / build-and-test (pull_request) Failing after 1m19s
feat(ci,flags,ops): ship end-to-end CI, feature-flag framework, gated surfaces, and ops docs
CI (.gitea/workflows/ci.yaml): lint → typecheck → vitest w/ coverage → OpenNext build → preview smoke → bundle-size budgets; Node 20; npm ci; artifacts; safe env; D1 dry-run scaffold.

Budgets: add scripts/budgets.mjs; TOTAL_STATIC_MAX_BYTES and MAX_ASSET_BYTES thresholds; report top offenders; fail on breach; README CI section.

Flags: add lib/flags.ts with typed booleans and safe defaults (ADMIN_ENABLED, ARTISTS_MODULE_ENABLED, UPLOADS_ADMIN_ENABLED, BOOKING_ENABLED, PUBLIC_APPOINTMENT_REQUESTS_ENABLED, REFERENCE_UPLOADS_PUBLIC_ENABLED, DEPOSITS_ENABLED, PUBLIC_DB_ARTISTS_ENABLED, ADVANCED_NAV_SCROLL_ANIMATIONS_ENABLED, STRICT_CI_GATES_ENABLED, ISR_CACHE_R2_ENABLED); robust parsing; client provider; unit tests.

Wiring: gate Admin shell and admin write APIs (503 JSON on uploads and artists writes); disable booking submit and short-circuit booking mutations when off; render static Hero/Artists when advanced animations off; tests for UI and API guards.

Ops: expand docs/prd/rollback-strategy.md with “Feature Flags Operations,” Cloudflare Dashboard and wrangler.toml steps, preview simulation, incident playbook, and post-toggle smoke checklist.

Release: add docs/releases/2025-09-19-feature-flags-rollout.md with last-good commit, preview/production flag matrices, rollback notes, and smoke results; link from rollback doc.

Chore: fix TS issues (gift-cards boolean handling, Lenis options, tailwind darkMode), remove next-on-pages peer conflict, update package.json scripts, configure Gitea act_runner label, open draft PR to trigger CI.

Refs: CI-1, FF-1, FF-2, FF-3, OPS-1
Impact: defaults preserve current behavior; no runtime changes unless flags flipped
2025-09-19 21:33:09 -06:00

1 line
2.5 KiB
JavaScript

"use strict";(()=>{var e={};e.id=3886,e.ids=[3886],e.modules={72934:e=>{e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},55315:e=>{e.exports=require("path")},17360:e=>{e.exports=require("url")},16543:(e,t,o)=>{o.r(t),o.d(t,{GlobalError:()=>i.a,__next_app__:()=>m,originalPathname:()=>l,pages:()=>p,routeModule:()=>c,tree:()=>u}),o(8696),o(40656),o(40509),o(70546);var a=o(30170),n=o(45002),r=o(83876),i=o.n(r),s=o(66299),d={};for(let e in s)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>s[e]);o.d(t,d);let u=["",{children:["book",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(o.bind(o,8696)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/book/page.tsx"]}]},{metadata:{icon:[async e=>(await Promise.resolve().then(o.bind(o,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(o.bind(o,40656)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/layout.tsx"],error:[()=>Promise.resolve().then(o.bind(o,40509)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/error.tsx"],"not-found":[()=>Promise.resolve().then(o.bind(o,70546)),"/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/not-found.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(o.bind(o,57481))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],p=["/home/Nicholai/Documents/Dev/united_v03/united-tattoo/united-tattoo/app/book/page.tsx"],l="/book/page",m={require:o,loadChunk:()=>Promise.resolve()},c=new a.AppPageRouteModule({definition:{kind:n.x.APP_PAGE,page:"/book/page",pathname:"/book",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:u}})},8696:(e,t,o)=>{o.r(t),o.d(t,{default:()=>s});var a=o(72051),n=o(94604),r=o(38252),i=o(86006);function s(){return(0,a.jsxs)("main",{className:"min-h-screen",children:[a.jsx(n.W,{}),a.jsx("div",{className:"pt-16",children:a.jsx(r.F,{})}),a.jsx(i.$,{})]})}}};var t=require("../../webpack-runtime.js");t.C(e);var o=e=>t(t.s=e),a=t.X(0,[9379,5590,7598,9906,8472,3630,8328,4279,2222,5896,7208],()=>o(16543));module.exports=a})();