test: repair QR, legal and billing E2E fixtures #482
No reviewers
Labels
No labels
Compat/Breaking
Component/Enclave-Builder
Component/Infrastructure
Deploy/BYOC
Deploy/Full-managed
Deploy/Self-hosted
Interface/API
Interface/CLI
Interface/Git
Interface/Web
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Status/Abandoned
Status/Blocked
Status/Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
public/platform!482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/e2e-fixtures-and-status-assertions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
user_id, fail on SQL/setup errors, preserve the original exit status, and clean up the seeded session.Test-only: three scripts, +29/-10 lines. No production code, schema, networking, or financial assertions changed. Related to #457; this is a separate prerequisite repair targeting
main, not a networking change.Test plan and results
Final signed commit
7aece5929a894b77a628e0841226ccd86aebe784bash -nchecks ontest_qr_login.sh,test_legal_tracking.sh, andtest_billing.sh: all passed.git diff --check 629b2aed1a1acad973c8c347c9e21e17dce50161...7aece5929a894b77a628e0841226ccd86aebe784andgit verify-commit HEAD: passed.mainpassed.Real-service E2Es on the unchanged candidate scripts
Built API/gateway/email/metering through the existing Make component recipes, using a temporary container-name adapter, a private internal Docker network, synthetic configuration and a fresh disposable PostgreSQL database. No application responses were mocked, no cloud credentials were supplied, and shared services were not replaced.
Executed
python3 /tmp/platform-e2e-fixes-hlyi6bxx/run-patched.py fresh, which ran:bash tests/e2e/test_legal_tracking.sh: 22 passed, 0 failed, exit 0.bash tests/e2e/test_qr_login.sh: 8 passed, 0 failed, exit 0.bash tests/e2e/test_billing.sh: 37 passed, 0 failed, exit 0.The original scripts reproduced the fixture/status failures. Focused QR and billing fixture/error-reporting controls also passed separately; these command-boundary controls are not substitutes for the real-service E2Es.
The E2Es ran before committing on base
ececa104af7be22799049c6293fa559e3f002be1plus this patch. The subsequent base advance changed only two READMEs. All three tested script hashes match the final committed blobs; service runtime/build inputs were unchanged. These are retained E2E results, not a claim of a new post-commit service deployment. The regular gate above was rerun on the final commit.Owned containers, database volume, network and image tags were removed; pre-existing container IDs/images/start times/statuses matched their baseline.
Limits / follow-ups
7aece5929ato1148a302f5anton referenced this pull request2026-10-16 05:14:28 +00:00