fix(tradein): не запекать preview-флаг в прод-образ + noindex/баннер (#2205) #2223
No reviewers
Labels
No labels
admin
analytics
auth
automation
bug
business
chore
ci
compliance
data
data-moat
docs
duplicate
dx
enhancement
Fable 5 ревью
feedback/max
generative
GG-форсайт
needs-discussion
needs-human
observability
pause-bots
performance
priority/p0
priority/p1
priority/p2
priority/p3
scope/backend
scope/db
scope/devops
scope/frontend
scope/qa
scrapers
security
site-finder
stage/1
stage/2
status/blocked
status/done
status/needs-analysis
status/needs-fix
status/qa
status/ready
status/review
status/wip
tech-debt
tradein
ux
week ревью 1
wontfix
вторичка
ИРД
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: lekss361/gendesign#2223
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "fix/tradein-no-public-preview"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
build-frontend(deploy-tradein.yml) убран build-argNEXT_PUBLIC_ENABLE_PREVIEW=1— фейк-оценка/trade-in/ui-preview/estimate(публично отдавала «9,70 млн ₽» для реального адреса Репина, verified live) больше не собирается в прод-образ.ui-preview/layout.tsx:robots: noindex/nofollow+ серверныйnotFound()-гейт (belt-and-suspenders для случайно собранных с флагом окружений).Известное ограничение (задокументировано в layout.tsx)
HTTP-статус остаётся 200: Next 15 коммитит статус до разрешения
notFound()на матчнутом client-сегменте; тело = not-found boundary, фикстурные данные не отдаются, noindex присутствует. Жёсткий 404 = middleware.ts, вне скоупа.Как проверено (локально, prod-симуляция)
npm run buildбез флага +npm start:/ui-preview/estimate— 0 совпадений «9,70»/«Репина»/фикстуры;<meta name="robots" content="noindex, nofollow">присутствует.Post-deploy план
curl прод ui-preview → фикстурная сумма/адрес отсутствуют;
/trade-in(реальный флоу) не задет пересборкой.Refs #2205