Existing TrackedRepository and DastTarget records must fold into the new OnboardedTarget model without breaking current scans, dashboards, or webhooks.
Scope
Migration: map each TrackedRepository → OnboardedTarget { target_type: inferred, artifacts: [GitRepo] }; each DastTarget → target with a LiveUrl artifact; link pentest sessions.
Back-compat: keep existing endpoints/pages working (views over the unified model) during transition, or provide adapters.
Data migration script + a rollback note; infer target_type for legacy repos via the classifier (ONB-03) with a safe default.
Acceptance criteria
Existing repos/DAST targets appear as onboarded targets with correct artifacts.
Current scan/webhook/dashboard flows continue to pass integration tests.
Migration is idempotent and reversible.
Depends on
ONB-01, ONB-13. Do last.
Part of #118.
## Context
Existing `TrackedRepository` and `DastTarget` records must fold into the new `OnboardedTarget` model without breaking current scans, dashboards, or webhooks.
## Scope
- Migration: map each `TrackedRepository` → `OnboardedTarget { target_type: inferred, artifacts: [GitRepo] }`; each `DastTarget` → target with a `LiveUrl` artifact; link pentest sessions.
- Back-compat: keep existing endpoints/pages working (views over the unified model) during transition, or provide adapters.
- Data migration script + a rollback note; infer `target_type` for legacy repos via the classifier (ONB-03) with a safe default.
## Acceptance criteria
- Existing repos/DAST targets appear as onboarded targets with correct artifacts.
- Current scan/webhook/dashboard flows continue to pass integration tests.
- Migration is idempotent and reversible.
## Depends on
ONB-01, ONB-13. Do last.
sharang
added this to the Onboarding v1 milestone 2026-07-10 08:34:48 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #118.
Context
Existing
TrackedRepositoryandDastTargetrecords must fold into the newOnboardedTargetmodel without breaking current scans, dashboards, or webhooks.Scope
TrackedRepository→OnboardedTarget { target_type: inferred, artifacts: [GitRepo] }; eachDastTarget→ target with aLiveUrlartifact; link pentest sessions.target_typefor legacy repos via the classifier (ONB-03) with a safe default.Acceptance criteria
Depends on
ONB-01, ONB-13. Do last.