Skip to content

Deduplicate file arguments in format and fixup commands#262

Open
JosephDenman wants to merge 1 commit intomainfrom
JosephDenman/deduplicate-format-and-fixup
Open

Deduplicate file arguments in format and fixup commands#262
JosephDenman wants to merge 1 commit intomainfrom
JosephDenman/deduplicate-format-and-fixup

Conversation

@JosephDenman
Copy link
Copy Markdown
Contributor

PR #260 was flaking on macos-latesttest_sc34 passes the same file twice to compact format --verbose, which spawns two concurrent tasks via JoinSet. This PR deduplicates file paths before spawning async formatting/fixup tasks, fixing a race condition where two tasks would simultaneously invoke the external binary on the same file.

Signed-off-by: JosephDenman <joseph.denman@iohk.io>
@JosephDenman JosephDenman requested review from a team as code owners March 25, 2026 18:23
@JosephDenman JosephDenman requested a review from kmillikin March 25, 2026 18:23
@JosephDenman JosephDenman self-assigned this Mar 25, 2026
@JosephDenman JosephDenman added release: 0.31 Expected April 7 type: bug Something isn't working run-release-workflow labels Mar 25, 2026
@github-actions
Copy link
Copy Markdown

Plugin Test Summary

 1 files   3 suites   1s ⏱️
21 tests 21 ✅ 0 💤 0 ❌
23 runs  23 ✅ 0 💤 0 ❌

Results for commit 19f7ed0.

@github-actions
Copy link
Copy Markdown

Compactc E2E Tests Results - linux-release-x86_64

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit 19f7ed0.

@github-actions
Copy link
Copy Markdown

Compactc E2E Tests Results - macos-release-aarch64

  1 files   48 suites   2m 9s ⏱️
467 tests 460 ✅ 7 💤 0 ❌
478 runs  471 ✅ 7 💤 0 ❌

Results for commit 19f7ed0.

@github-actions
Copy link
Copy Markdown

Compactc E2E Tests Results - linux-release-aarch64

  1 files   48 suites   3m 14s ⏱️
467 tests 460 ✅ 7 💤 0 ❌
478 runs  471 ✅ 7 💤 0 ❌

Results for commit 19f7ed0.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 25, 2026

Compactc E2E Test Summary

2 825 tests   2 825 ✅  5m 51s ⏱️
    1 suites      0 💤
    1 files        0 ❌

Results for commit 19f7ed0.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown

Compactc E2E Tests Results - macos-release-x86_64

  1 files   48 suites   6m 47s ⏱️
467 tests 460 ✅ 7 💤 0 ❌
478 runs  471 ✅ 7 💤 0 ❌

Results for commit 19f7ed0.

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

Labels

release: 0.31 Expected April 7 type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants