fix(e2e): surface terminal diagnose detail #809
No reviewers
Labels
No Label
merge-queue
merge-queue-hold
release-blocker
release-test
security
test-label-sre
tier:high
tier:low
tier:medium
triage-test
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: molecule-ai/molecule-core#809
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/e2e-diagnose-detail"
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
detailalongsideerrorin the staging full-SaaS E2E failure messageRoot Cause
The current main failure was an infra/IAM drift: staging tenant role
MoleculeTenantEICRole-staginghadec2-instance-connect:OpenTunnelbut lackedec2:DescribeInstanceConnectEndpoints, which AWS CLI needs before binding the local EIC tunnel port.Verification
StagingEICOpenTunnelGrantto includeec2:DescribeInstanceConnectEndpointsinus-east-2.erroranddetail.git diff --checkSOP Checklist
tests/e2e/test_staging_full_saas.sh.ec2:DescribeInstanceConnectEndpointshid under a generic wait-for-port error because the script discarded diagnose detail.QA APPROVED — diagnostic formatting only; parser sample and diff check verified.
Security APPROVED — no credential output; diagnose detail is already returned by authenticated tenant endpoint and stays in CI logs.
/sop-ack comprehensive-testing Parser sample and git diff --check verified; full staging E2E will run on post-merge push.
/sop-ack local-postgres-e2e N/A for E2E shell diagnostic formatting.
/sop-ack staging-smoke Staging IAM hotfix applied; post-merge full SaaS E2E will validate.
/sop-ack root-cause Root cause was missing ec2:DescribeInstanceConnectEndpoints on MoleculeTenantEICRole-staging plus CI hiding diagnose detail.
/sop-ack five-axis-review Reviewed correctness/readability/architecture/security/performance; no behavioral success-path change.
/sop-ack no-backwards-compat No shim or dead code; one-line diagnostic improvement.
/sop-ack memory-consulted CI org-health and runner contract memories consulted.