Skip to content

Preserve starter canary token setup diagnostics - #5926

Merged
shai-almog merged 1 commit into
masterfrom
canary-token-diagnostics
Sep 30, 2026
Merged

shai-almog merged 1 commit into
masterfrom
canary-token-diagnostics

Conversation

@shai-almog

@shai-almog shai-almog commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

The September 30 Linux starter canary timed out during cn1:set-user-token after 600 seconds, before submitting a cloud build. Its failure report contained no process output because Maven ran with -q and the shipped Maven wrapper defaults to silent downloads. The Windows leg passed in the same run; the Linux timeout's underlying cause is not established.

Remove Maven quiet mode for token setup and enable the wrapper's normal verbose output (MVNW_VERBOSE=true). Existing failure and timeout handling retains the diagnostic tail and redacts the token and account email. Timeouts and failure conditions remain unchanged; this improves diagnosis without claiming to fix an unproven download or service defect.

Validation: all 47 canary self-tests pass. Two new subprocess regression tests cover failed and timed-out token setup, assert useful output and credential redaction, and both fail against the original code. git diff --check passes.

Related: #5925 and the failed Linux job.

Live verification: rerunning the failed Linux job on unchanged commit 6454b64064b3acc08ec82baf1ec696a9536599df succeeded. Token setup took 91 seconds, and JavaScript cloud build 1f357f22-7394-4b4a-8d15-18bf10a3225d completed successfully (484 seconds end to end). The overall canary is green and its alert job automatically closed #5925. This supports a transient stall; the original quiet log cannot establish its cause. The PR's hosted canary self-test also passed.

@shai-almog
shai-almog merged commit 8acf6c4 into master Sep 30, 2026
11 checks passed
@shai-almog
shai-almog deleted the canary-token-diagnostics branch September 30, 2026 11:19
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.

Cloud starter is broken for new users

1 participant