Skip to content

fix(http): перенести опыты курса HTTP для автоматизации под его префикс - #28

Merged
fey merged 2 commits into
mainfrom
fix/http-for-automation-prefix
Oct 22, 2026
Merged

fey merged 2 commits into
mainfrom
fix/http-for-automation-prefix

Conversation

@fey

@fey fey commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Эндпоинты группируются по имени курса, а опыты уроков 400, 450, 650 и 700 курса «HTTP для автоматизации» попали под /http-protocol.

-/http-protocol/login-form, /session        (Path=/http-protocol)
-/http-protocol/cache, /cache/revalidate, /cache/no-store
-/http-protocol/webhooks/inboxes/...
-/http-protocol/reliability/runs/...
+/http-for-automation/login-form, /session  (Path=/http-for-automation)
+/http-for-automation/cache, /cache/revalidate, /cache/no-store
+/http-for-automation/webhooks/inboxes/...
+/http-for-automation/reliability/runs/...

Форма входа переехала в assets/http-for-automation/, со страницы /http-protocol убраны две ссылки на эти опыты. Caddyfile не менялся: новые пути попадают в общий handle.

Evidence

  • Before: test/course-demos.test.ts ходит по /http-protocol/...
    After: тот же тест ходит по /http-for-automation/..., mise run test: 189 passed, 1 skipped; typecheck, lint, fmt:check, check-generated чистые

Merge Danger

Door: two-way

Откат возвращает старые пути.

Blast Radius: курс

Старые пути отвечают 404. Пока курс не пересобран с новыми адресами (правка уроков готова в http_for_automation_course), уроки 400/450/650/700 ведут в пустоту. Порядок: мерж → образ → make deploy → пуш курса и пересборка темы.

🤖 Generated with Claude Code

fey and others added 2 commits October 22, 2026 22:10
Сессия, кеш, вебхуки и повторы жили под /http-protocol, хотя эндпоинты
группируются по имени курса. Теперь они под /http-for-automation, путь
куки тоже.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@fey
fey merged commit 8d58b19 into main Oct 22, 2026
3 checks passed
@fey
fey deleted the fix/http-for-automation-prefix branch October 22, 2026 17:15
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