ci(tradein): pre-merge гейт — backend pytest + frontend type-check/lint (#2208) #2220
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#2220
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "chore/tradein-premerge-ci"
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
.forgejo/workflows/ci-tradein.yml: pull_request-гейт для tradein-mvp — backend pytest (blocking) + frontendtsc --noEmit+next lint(blocking). Paths-filter:tradein-mvp/backend/**,tradein-mvp/packages/**, workspaceuv.lock/pyproject.toml→ pytest;tradein-mvp/frontend/**→ type-check/lint. Раньше tradein-PR мержились на пусто-зелёных чеках (ci.yml фильтрует только главный стек).--deselecttest_cian_valuation::test_cache_hit_returns_cachedв обоих workflow — тест проходит в полном прогоне. Остаётся один deselect (test_search_cache_hit, 401 в whole-suite ordering, pre-existing).pytest-timeout>=2.3.0+timeout = 120в pyproject (страховка от зависших тестов; действует и на pre-merge гейт, и на deploy test-job).uv sync --frozenв обоих test-job: workspace-локtradein-mvp/uv.locktracked (комменты про «gitignored lock» устарели с воркспейса #2137), зеркалит Dockerfile.next lintуходит в интерактивный prompt и падает в CI) +@eslint/eslintrcв devDeps + 2 lint-фикса (').Как проверено
uv sync --frozenok.npm run type-checkexit 0;npm run lintexit 0 (warnings only).Refs #2208