Skip to content

Worker: fix an issue with batch logging#1353

Open
josephjclark wants to merge 12 commits intomainfrom
investigate-flaky-tests
Open

Worker: fix an issue with batch logging#1353
josephjclark wants to merge 12 commits intomainfrom
investigate-flaky-tests

Conversation

@josephjclark
Copy link
Copy Markdown
Collaborator

@josephjclark josephjclark commented Apr 2, 2026

Short Description

Fixes #1350

See issue

Implementation Details

Ok so I don't know the exact case that's causing intermittend fails - but what I've done is manually re-write the tests for the event processor in a much more unit testy way. This divorces the event processor from the runtime and lets me have much more control over tests, so I can recreate particular scenarios more reliably.

The more integration style tests, involving the engine, are still useful - so they're in.

AI Usage

Please disclose whether you've used AI anywhere in this PR (it's cool, we just
want to know!):

  • I have used Claude Code
  • I have used another model
  • I have not used AI

You can read more details in our
Responsible AI Policy

@github-project-automation github-project-automation bot moved this to New Issues in Core Apr 2, 2026
@josephjclark
Copy link
Copy Markdown
Collaborator Author

claude may have found a gap which can cause problems - but that fix doesn't help the actual problem

@josephjclark josephjclark force-pushed the investigate-flaky-tests branch from b75de8c to 9b223c2 Compare April 7, 2026 14:42
@josephjclark josephjclark changed the title Investigate flaky tests Worker: fix an issue with batch logging Apr 8, 2026
@josephjclark josephjclark marked this pull request as ready for review April 8, 2026 17:35
@josephjclark
Copy link
Copy Markdown
Collaborator Author

I'll fix the build and typings in the morning 😫

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New Issues

Development

Successfully merging this pull request may close these issues.

Flaky integration test: run:complete triggers before step:complete

2 participants