Skip to content

Conversation

@rwb27
Copy link
Collaborator

@rwb27 rwb27 commented Aug 12, 2025

test_actions_list sometimes failed, because the invocation expired and was deleted before we called /action_invocations/ to list the invocations.

I believe the problem was that I used an action with a very short retention time (so I could test expiration of the invocation), and it may have expired before I listed the actions. I've now added an action with a longer retention time. If a full second is elapsing between the two requests, something else has gone quite wrong.

Closes #170

test_actions_list sometimes failed, because the invocation expired and was deleted before we called `/action_invocations/` to list the invocations.

I believe the problem was that I used an action with a very short retention time (so I could test expiration of the invocation), and it may have expired before I listed the actions.
I've now added an action with a longer retention time. If a full second is elapsing between the two requests, something else has gone quite wrong.
@barecheck
Copy link

barecheck bot commented Aug 12, 2025

Barecheck - Code coverage report

Total: 92.87%

Your code coverage diff: 0.00% ▴

✅ All code changes are covered

@rwb27 rwb27 merged commit 9814eaa into main Aug 13, 2025
13 checks passed
@rwb27 rwb27 deleted the fix-test-action-manager branch August 13, 2025 08:57
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.

Race condition in tests

3 participants