Skip to content

test(traefik): skip TestCustomGlobalConfig on Rancher Desktop, fixes #8167 (#8283) [skip ci]#8283

Merged
rfay merged 2 commits intomainfrom
20260403_rfay_rancher_fail
Apr 3, 2026
Merged

test(traefik): skip TestCustomGlobalConfig on Rancher Desktop, fixes #8167 (#8283) [skip ci]#8283
rfay merged 2 commits intomainfrom
20260403_rfay_rancher_fail

Conversation

@rfay
Copy link
Copy Markdown
Member

@rfay rfay commented Apr 3, 2026

The Issue

TestCustomGlobalConfig regularly fails on Rancher Desktop. The test expects a custom Traefik middleware header (X-Test-Custom-Global: ddev-test-value) but intermittently gets an empty string on Rancher Desktop.

How This PR Solves The Issue

Adds a skip guard for Rancher Desktop, consistent with how other Traefik tests (TestTraefikSimple, TestTraefikStaticConfig) handle unreliable behavior on Lima-based providers. The guard can be overridden with DDEV_RUN_TEST_ANYWAY=true.

Manual Testing Instructions

  • Run TestCustomGlobalConfig on Rancher Desktop and confirm it skips
  • Run with DDEV_RUN_TEST_ANYWAY=true to confirm the override works

Automated Testing Overview

The skip only applies to Rancher Desktop; all other providers continue to run the test.

Release/Deployment Notes

No user-facing changes — test-only fix.

…8167

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rfay rfay requested a review from a team as a code owner April 3, 2026 15:28
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 3, 2026

@jonesrussell
Copy link
Copy Markdown
Contributor

Howdy, I'll spin up a VM with Rancher to review this.

@rfay
Copy link
Copy Markdown
Member Author

rfay commented Apr 3, 2026

Thanks. This is only macOS (we don't test on Rancher on Windows). And it's intermittent, so this PR just gives up on it.

@jonesrussell
Copy link
Copy Markdown
Contributor

jonesrussell commented Apr 3, 2026 via email

@rfay rfay changed the title test(traefik): skip TestCustomGlobalConfig on Rancher Desktop, fixes #8167 test(traefik): skip TestCustomGlobalConfig on Rancher Desktop, fixes #8167 (#8283) [skip ci] Apr 3, 2026
@rfay rfay merged commit cb91809 into main Apr 3, 2026
4 checks passed
@rfay rfay deleted the 20260403_rfay_rancher_fail branch April 3, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rancher Desktop TestCustomGlobalConfig regularly fails

2 participants