Skip to content

fix(smoke): include the provisioner's bounded diagnostic in the failure reason - #2493

Merged
Brad-Edwards merged 2 commits into
devfrom
fix/smoke-report-diagnostic
Oct 5, 2026
Merged

Brad-Edwards merged 2 commits into
devfrom
fix/smoke-report-diagnostic

Conversation

@Brad-Edwards

Copy link
Copy Markdown
Owner

Problem

#2488 made the smoke print the failed range's recorded reason, but the range keeps only the closed reason code. On aws-dev that printed cloud_operation_failed, which does not say what failed.

Change

The provisioner's authored, value-free diagnostic (bounded by MAX_DIAGNOSTIC_CHARS) rides the latest raes_terminal_failed operation result for the request. get_range_failure_reason_by_request now appends it, so the smoke log reads <reason_code>: <diagnostic>.

Verification

tests/mission_control/test_run_post_deploy_smoke_command.py passes; the failure-reason case seeds a real terminal-failed result row and asserts the code and diagnostic both reach the smoke error.

…re reason

The range keeps only the closed reason code (for example
cloud_operation_failed), which says nothing about what failed. The
provisioner's authored, value-free diagnostic rides the latest terminal-failed
operation result; append it so the smoke log names the failing step.
@Brad-Edwards
Brad-Edwards merged commit 22dba48 into dev Oct 5, 2026
5 checks passed
@Brad-Edwards
Brad-Edwards deleted the fix/smoke-report-diagnostic branch October 5, 2026 07:39
@sonarqubecloud

sonarqubecloud Bot commented Oct 5, 2026

Copy link
Copy Markdown

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.

1 participant