Skip to content

Make all tests in running_actions_manager_test serial#1984

Merged
palfrey merged 2 commits intoTraceMachina:mainfrom
palfrey:running-actions-manager-all-serial
Oct 16, 2025
Merged

Make all tests in running_actions_manager_test serial#1984
palfrey merged 2 commits intoTraceMachina:mainfrom
palfrey:running-actions-manager-all-serial

Conversation

@palfrey
Copy link
Member

@palfrey palfrey commented Oct 16, 2025

Description

upload_with_single_permit in running_actions_manager_test.rs relied on all of the other tests in that file being marked as #[serial], which wasn't the case and so we occasionally get breaks like https://github.com/TraceMachina/nativelink/actions/runs/18557949719/job/52899860136?pr=1980

Given serial_test supports mod-level attributes we can fix this permanently by moving the attribute to that level. The diff looks large in Github, but locally the diff shows up as mostly just a whitespace change for most of the file.

Type of change

Please delete options that aren't relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

bazel test //...

Checklist

  • Updated documentation if needed
  • Tests added/amended
  • bazel test //... passes locally
  • PR is contained in a single commit, using git amend see some docs

This change is Reviewable

@palfrey palfrey marked this pull request as ready for review October 16, 2025 11:18
Copy link
Collaborator

@MarcusSorealheis MarcusSorealheis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looked strange at first

@palfrey palfrey merged commit 41cdd9c into TraceMachina:main Oct 16, 2025
28 of 29 checks passed
@palfrey palfrey deleted the running-actions-manager-all-serial branch October 16, 2025 13:56
MarcusSorealheis added a commit to MarcusSorealheis/nativelink that referenced this pull request Nov 3, 2025
)

Co-authored-by: Marcus Eagan <marcuseagan@gmail.com>
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.

2 participants