Skip to content

Prod: expose vacancy catalog applicant actions - #720

Merged
TThanos3000 merged 1 commit into
masterfrom
feature/prod-vacancy-catalog-applicant-actions
Aug 30, 2026
Merged

Prod: expose vacancy catalog applicant actions#720
TThanos3000 merged 1 commit into
masterfrom
feature/prod-vacancy-catalog-applicant-actions

Conversation

@TThanos3000

@TThanos3000 TThanos3000 commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

Что изменено

Semantic port проверенной функциональности DEV PR #719 поверх production vacancy architecture:

  • общая сериализация applicant state вынесена в VacancyApplicantStateSerializerMixin;
  • VacancyCatalogSerializer возвращает read-only has_responded, response_status, can_respond, can_manage_responses;
  • VacancyList применяет существующий production selector with_applicant_state() к get_public_vacancies_queryset();
  • добавлены regression-тесты anonymous/outsider/leader/collaborator/pending/accepted/rejected и постоянного количества запросов.

Production vacancy/managers.py не переносился: каталог уже построен на get_public_vacancies_queryset(), _vacancy_queryset() и production public-profile selectors. Сохранены текущая публичная фильтрация, prefetch/select_related, pending response count, detail contract и response lifecycle.

Проверки

CI:

  • Backend PostgreSQL CI — success, 8m32s;
  • PostgreSQL locking/constraint tests — 86/86;
  • полный PostgreSQL backend suite — 1241/1241;
  • Django configuration/models checks — success;
  • migration consistency — No changes detected;
  • CI/Lint — success;
  • дополнительный полный CI suite — 1241/1241, success.

Локально:

  • Black изменённых файлов — пройден;
  • Flake8 изменённых файлов — пройден;
  • manage.py check --tag models — пройден;
  • makemigrations --check --dry-run --skip-checksNo changes detected;
  • git diff --check — пройден;
  • runtime-проверка полей serializer: catalog/detail содержат 4 поля, create serializer их не содержит — пройдена.

Локальные DB-тесты не стартовали из-за отсутствия PostgreSQL/Docker (localhost:5432 connection refused), а обычный Windows manage.py check ограничен отсутствующей системной библиотекой WeasyPrint gobject-2.0-0; обе проверки успешно выполнены Linux PostgreSQL CI.

Repository-wide Black/Flake8 локально выявляют существующие нарушения вне diff; изменённые файлы и штатный CI/Lint проходят.

Scope

  • моделей и миграций нет;
  • projects/CV/files не изменялись;
  • frontend (Angular/React) не изменялся;
  • workflows, Docker и deploy не изменялись.

@TThanos3000
TThanos3000 marked this pull request as ready for review August 30, 2026 21:26
@TThanos3000
TThanos3000 merged commit 295d85f into master Aug 30, 2026
6 checks passed
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