Skip to content

test(migration): TEL-74 adversarial QA — resume, idempotency, scale - #304

Merged
telivity-otaip merged 2 commits into
mainfrom
cursor/migration-qa-adversarial-4f51
Aug 12, 2026
Merged

test(migration): TEL-74 adversarial QA — resume, idempotency, scale#304
telivity-otaip merged 2 commits into
mainfrom
cursor/migration-qa-adversarial-4f51

Conversation

@telivity-otaip

Copy link
Copy Markdown
Collaborator

Summary

Completes the HAIP side of TEL-74 adversarial coverage for the migration engine.

  • Kill mid-batch → resume from checkpoint with zero re-imports of mapped rows
  • Double-run / completed / running resume guards with clear errors
  • Tenant-scoped job reads (wrong propertyId → 404)
  • 5k-row progress accuracy harness (full 50k/20k documented as staging runbook in haip-cloud)

Test plan

  • pnpm --filter @telivityhaip/api test src/modules/migration/ (28 passed)

Companion PRs: remy / haip-cloud / haip-qa on the same branch name.

Open in Web Open in Cursor 

… scale

Add migration-adversarial.spec.ts covering kill/resume checkpoints,
double-run guards, tenant-scoped job reads, and a 5k-row progress harness.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@telivity-otaip
telivity-otaip marked this pull request as ready for review August 12, 2026 15:50
CI --check failed: 1490/212 → 1500/213 after adding migration-adversarial.spec.ts.

Co-authored-by: telivity-otaip <telivity-otaip@users.noreply.github.com>
@telivity-otaip
telivity-otaip merged commit be43bde into main Aug 12, 2026
5 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.

2 participants