Repository navigation
test(clickstack-upgrade): key the provisioner wait on the dashboard, dump logs on timeout - #285
Merged
Merged
Conversation
…eated line in the new pod Gate run 46986599979 failed the 7f9537a baseline waiting 420 s for "Created provisioned dashboard" in the new HyperDX pod. That baseline already ran the same provisioner, and the team is registered seconds before the upgrade, so the old pod (serving for about two minutes while the new one starts) can create the dashboard in a tick of its own; the new pod then has nothing to create and logs no such line. The same leg passed an hour earlier when the old pod's tick missed. The wait now keys on the dashboard existing in HyperDX, then deletes it and requires THIS pod to create it again within one provisioner tick plus slack, which proves the new pod's watcher and provisioner whoever created it first. On a timeout the suite prints both containers' logs. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016RAxvm3ReSNJ4Vzepck9JT
…me and message The provisioner logs the dashboard name as a field, so the count must match the message and the name on the same line. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016RAxvm3ReSNJ4Vzepck9JT
HTTP 0 (no response), 429 and 5xx are retried with a short backoff, and so is the ghcr token request; 401 and 404 are answers about the reference and fail on the first try. A single dropped connection to ghcr failed a PR's preflight on an unrelated change. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016RAxvm3ReSNJ4Vzepck9JT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
A release-candidate gate run failed the clickstack-upgrade leg for the 0.1.68 baseline with "timed out waiting for the provisioner to write the dashboard (last: False)" after 420 s; the same leg had passed an hour earlier on identical code.
Cause
The suite waited for a "Created provisioned dashboard" line in the NEW HyperDX pod. The 0.1.68 baseline already runs the provisioner, and the team is registered seconds before the upgrade. The old pod keeps serving for about two minutes while the new one starts, so a provisioner tick in it can create the dashboard first. The new pod then finds it present and never logs "Created". Whether that happens depends on where the old pod's minute tick falls, which is why it is intermittent. The failed run's log has no container logs, so this is inferred from the timeline (team registered 22:38:59, upgrade 22:39:00, new pod Ready 22:40:41, 420 s of silence), not observed; the diagnostics added here will confirm or refute it on the next occurrence.
Fix
No chart change.
🤖 Generated with Claude Code
https://claude.ai/code/session_016RAxvm3ReSNJ4Vzepck9JT