Skip to content

fix: Wait for chargedEventCounts in toFinishWith - #262

Open
janbuchar wants to merge 2 commits into
masterfrom
poll-charged-events
Open

janbuchar wants to merge 2 commits into
masterfrom
poll-charged-events

Conversation

@janbuchar

Copy link
Copy Markdown
Collaborator
  • the platform adds charged events to the run record some time after the run finishes, more so when the run hits its charge limit, so toFinishWith({ chargedEventCounts }) could check them too early
  • the matcher now re-fetches the run for up to a minute until the expected counts show up, and stops early once a count is past its maximum
  • the platform is moving to immediate consistency soon; then the first fetch already has the counts and this never waits, so nothing needs undoing
  • adds RunTestResult.fetchRunInfo(), getRunInfo() without the cache

@janbuchar janbuchar added t-tooling Issues with this label are in the ownership of the tooling team. adhoc Ad-hoc unplanned task added during the sprint. labels Nov 24, 2026
@janbuchar
janbuchar requested review from Patai5 and removed request for Patai5 November 24, 2026 21:42
@janbuchar janbuchar self-assigned this Nov 24, 2026

This branch has not been deployed

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

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant