Skip to content

Commit

Permalink
doc: document race happening when showing summary in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku authored and phracek committed Sep 25, 2024
1 parent e8ff7a6 commit a2342ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,3 +175,7 @@ Action uses the `pull_request_status_name` as the name of the test. Also it is u
<p align="center">
<img src="images/summary-comment.png" width="600" alt="Summary comment example" />
</p>
> [!WARNING]
>
> When running multiple tests in parallel, you can encounter race conditions when updating the summary comment. We have implemented a locking mechanism to prevent this issue, but currently there is no proper way how to synchronize independent workflow jobs. Statuses are updated independently so they don't have this issue and are always up to date.
Binary file modified images/summary-comment.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a2342ae

Please sign in to comment.