Skip to content

test(launch): mock default entity for launch CLI tests#11771

Open
nicholaspun-wandb wants to merge 1 commit intomainfrom
npun/launch-test-fix
Open

test(launch): mock default entity for launch CLI tests#11771
nicholaspun-wandb wants to merge 1 commit intomainfrom
npun/launch-test-fix

Conversation

@nicholaspun-wandb
Copy link
Copy Markdown
Contributor

Description

  • Fixes WB-NNNNN
  • Fixes #NNNN

What does the PR do? Include a concise description of the PR contents.

  • I updated CHANGELOG.unreleased.md, or it's not applicable

Testing

How was this PR tested?

@nicholaspun-wandb nicholaspun-wandb requested a review from a team as a code owner April 22, 2026 20:29
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

Since launch tests are pretty fragile (I find they tend to break due to unrelated refactors), I'm inclined to ask why this change, and whether there is a better way to accomplish this.

Why doesn't InternalApi.default_entity work for these tests? Mocking it could hide a real issue.

Copy link
Copy Markdown
Contributor

@pingleiwandb pingleiwandb Apr 22, 2026

Choose a reason for hiding this comment

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

I think it is related to #11772? It starts failing recently, so might be related to auth change.

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.

Thanks! If that PR is the fix, then this PR would have hidden a real issue. We should merge that one instead.

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.

3 participants