Skip to content

e2e: posit-assistant flake - drop afterAll logout hook#13847

Merged
midleman merged 1 commit into
mainfrom
mi/spiky-game
May 28, 2026
Merged

e2e: posit-assistant flake - drop afterAll logout hook#13847
midleman merged 1 commit into
mainfrom
mi/spiky-game

Conversation

@midleman
Copy link
Copy Markdown
Contributor

@midleman midleman commented May 28, 2026

Summary

Removes the afterAll logout hook from posit-assistant.test.ts to address this flake.

  • The app fixture is worker-scoped and the worker tears down after the spec file finishes, so the logout adds no isolation
  • It does add flake surface, which is what we're seeing in CI
  • Only one provider in POSIT_ASSISTANT_PROVIDERS today; if we add more, prefer a separate spec per provider over re-adding the hook.

QA Notes

@:posit-assistant @:assistant

The app fixture is worker-scoped and the worker tears down after the
spec file, so the logout cleanup adds no isolation but does add CI
flake surface. Drop it.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 28, 2026

E2E Tests 🚀
This PR will run tests tagged with: @:critical @:posit-assistant @:assistant

readme  valid tags

@midleman midleman changed the title Drop afterAll logout hook in posit-assistant e2e e2e: posit-assistant flake - drop afterAll logout hook May 28, 2026
Copy link
Copy Markdown
Contributor

@jonvanausdeln jonvanausdeln left a comment

Choose a reason for hiding this comment

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

LGTM!

It's cool for now.. not sure how I feel about a separate spec for each provider, but cross that bridge when we get there, etc.

@midleman
Copy link
Copy Markdown
Contributor Author

LGTM!

It's cool for now.. not sure how I feel about a separate spec for each provider, but cross that bridge when we get there, etc.

Good deal, we'll worry about that day when it comes. 😅

@midleman midleman merged commit 83225ff into main May 28, 2026
53 checks passed
@midleman midleman deleted the mi/spiky-game branch May 28, 2026 17:38
@github-actions github-actions Bot locked and limited conversation to collaborators May 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants