test(db): the export-code fixture report is a generating row (BUG-2359 follow-up)
Independent Staging Quality Gate / publish (push) Canceled after 0s
Independent Staging Quality Gate / validate-frontend (push) Canceled after 21s
Independent Staging Quality Gate / validate-python (push) Canceled after 27s

personal_reports ties status 'ready' to a document, hashes and completed_at; the
export rule only reads ownership, so the fixture inserts a 'generating' report as
the reading-log fixture does.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DbBXp2Vp62Ur3C7yRWQdSq
This commit is contained in:
2026-11-26 15:29:55 +08:00
co-authored by Claude Fable 5.2
parent f069c9c280
commit f59e5ba00e
@@ -56,7 +56,9 @@ test("report export codes: own reports only, admin lookup by permission, admin_r
schema_version, presentation_mode, requested_themes, depth,
skill_name, skill_version, skill_source_commit, skill_snapshot_sha256
) values (
'${reportId}', '${ownerId}', '${reportId}', '${HASH}', 'personal_full', 'ready',
-- BUG-2359 follow-up: 'generating' needs no document / hashes / completed_at (personal_reports checks
-- tie status = 'ready' to all four); the export rule only reads ownership.
'${reportId}', '${ownerId}', '${reportId}', '${HASH}', 'personal_full', 'generating',
'report_document.v2', 'default', array['career']::text[], 'standard',
'jyotish-personal-report', '1.0.0', '${"b".repeat(40)}', '${HASH}'
);