Skip to content

ci(deploy): dump cluster state on failure - #11949

Closed
sttts wants to merge 1 commit into
ai-dynamo:mainfrom
sttts:sttts-vcluster-pytest-prefactor
Closed

sttts wants to merge 1 commit into
ai-dynamo:mainfrom
sttts:sttts-vcluster-pytest-prefactor

Conversation

@sttts

@sttts sttts commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Use kubectl cluster-info dump for the shared deploy-test failure fallback.
  • Dump the test namespace plus default before cleanup into the existing pod-logs artifact.
  • Keep resource-specific diagnostics in the existing Python test managers.

Prerequisite for #11946.

Validation

  • pre-commit
  • YAML validation

@sttts
sttts temporarily deployed to external_collaborator July 21, 2026 14:24 — with GitHub Actions Inactive
@sttts
sttts temporarily deployed to external_collaborator July 21, 2026 14:24 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi sttts! Thank you for contributing to ai-dynamo/dynamo.

Just a reminder: The NVIDIA Test Github Validation CI runs an essential subset of the testing framework to quickly catch errors.Your PR reviewers may elect to test the changes comprehensively before approving your changes.

🚀

@github-actions github-actions Bot added external-contribution Pull request is from an external contributor actions ci Issues/PRs that reference CI build/test labels Jul 21, 2026
@datadog-official

datadog-official Bot commented Jul 21, 2026 •

Copy link
Copy Markdown

🎯 Code Coverage (details)
• Patch Coverage: 100.00%
• Overall Coverage: 44.58% (+3.58%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: c6c5e94 | Docs | Give us feedback!

@sttts
sttts force-pushed the sttts-vcluster-pytest-prefactor branch from fc432ec to 94f50b0 Compare July 21, 2026 14:32
@sttts
sttts temporarily deployed to external_collaborator July 21, 2026 14:32 — with GitHub Actions Inactive
@dynamo-ops

Copy link
Copy Markdown
Contributor

/ok to test 94f50b0

@sttts sttts changed the title ci(deploy): extract reusable vCluster pytest action ci(deploy): reuse vCluster preparation across deploy tests Jul 21, 2026
@sttts
sttts marked this pull request as ready for review July 21, 2026 14:34
@sttts
sttts requested a review from a team as a code owner July 21, 2026 14:34

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@coderabbitai

coderabbitai Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Walkthrough

Changes

The PR adds a composite prepare-vcluster action that checks, bootstraps, and connects to vClusters, then updates PR, post-merge, and shared deploy workflows to consume its outputs.

vCluster workflow integration

Layer / File(s) Summary
Prepare vCluster action
.github/actions/prepare-vcluster/action.yml
Defines configuration inputs, existed and kubeconfig_base64 outputs, and conditional check, bootstrap, and connect steps.
Pull request workflow migration
.github/workflows/pr.yaml
Updates vLLM, SGLang, and TRT-LLM checkpoint setup and deploy-test jobs to use prepare-vcluster outputs.
Post-merge and shared workflow migration
.github/workflows/post-merge-ci.yml, .github/workflows/shared-deploy-test.yml
Replaces separate vCluster preparation steps across checkpoint, GAIE, and shared deploy-test jobs with the consolidated action and output wiring.

Estimated code review effort: 3 (Moderate) | ~25 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Title check ⚠️ Warning The title mentions cluster-state dumps, but the PR actually adds a shared vCluster preparation action and workflow refactors. Retitle it to describe the vCluster prepare/action workflow change, e.g. "ci(deploy): consolidate vCluster setup into prepare-vcluster".
Description check ⚠️ Warning The description omits required template sections like Overview, Details, reviewer start, and Related Issues. Fill in the template sections and add a Related Issues entry, either linking the issue or explicitly confirming none.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Comment @coderabbitai help to get the list of available commands.

@sttts
sttts force-pushed the sttts-vcluster-pytest-prefactor branch from 94f50b0 to 07b1447 Compare July 21, 2026 14:41
@pull-request-size pull-request-size Bot added size/M and removed size/L labels Jul 21, 2026
@sttts
sttts temporarily deployed to external_collaborator July 21, 2026 14:41 — with GitHub Actions Inactive
@dynamo-ops

Copy link
Copy Markdown
Contributor

/ok to test 07b1447

@sttts sttts changed the title ci(deploy): reuse vCluster preparation across deploy tests ci(deploy): collect diagnostics before cleanup Jul 21, 2026
@sttts
sttts temporarily deployed to external_collaborator July 21, 2026 14:47 — with GitHub Actions Inactive
@sttts sttts changed the title ci(deploy): collect diagnostics before cleanup ci(deploy): centralize test lifecycle and diagnostics Jul 21, 2026
@dynamo-ops

Copy link
Copy Markdown
Contributor

/ok to test 45e0031

@sttts
sttts force-pushed the sttts-vcluster-pytest-prefactor branch from 45e0031 to 78eebd3 Compare July 21, 2026 14:51
@sttts
sttts temporarily deployed to external_collaborator July 21, 2026 14:51 — with GitHub Actions Inactive
@sttts sttts changed the title ci(deploy): centralize test lifecycle and diagnostics ci(deploy): share failure diagnostics Jul 21, 2026
@dynamo-ops

Copy link
Copy Markdown
Contributor

/ok to test 78eebd3

Signed-off-by: Dr. Stefan Schimanski <[email protected]>
@sttts
sttts force-pushed the sttts-vcluster-pytest-prefactor branch from 78eebd3 to c6c5e94 Compare July 21, 2026 16:51
@pull-request-size pull-request-size Bot added size/S and removed size/M labels Jul 21, 2026
@sttts
sttts temporarily deployed to external_collaborator July 21, 2026 16:51 — with GitHub Actions Inactive
@dynamo-ops

Copy link
Copy Markdown
Contributor

/ok to test c6c5e94

@sttts sttts changed the title ci(deploy): share failure diagnostics ci(deploy): dump cluster state on failure Jul 21, 2026
@sttts sttts closed this Aug 10, 2026

This branch was previously deployed

1 inactive deployment
external_collaborator — c6c5e94a Deployed Jul 21, 2026 by sttts via ok-to-test #3387
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

actions ci Issues/PRs that reference CI build/test external-contribution Pull request is from an external contributor size/S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants