You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fix queuing regression under configured schedulers - #7764
Remove an externally injected --hpx:queuing option before the regression cases supply their own scheduler.
Handle both --hpx:queuing=value and --hpx:queuing value forms.
Preserve all other test-runner arguments, including the configured thread count.
Any background context you want to provide?
After #7757 merged, the queuing_options_7743 regression failed in configurations that set HPX_WITH_TESTS_COMMAND_LINE=--hpx:queuing=local-workrequesting-fifo. The test supplies a different scheduler for each runtime initialization, so program-options rejected the two occurrences before the assertions ran.
Validated with the failing CI configuration, including work-requesting schedulers and the globally injected scheduler option.
Checklist
Not all points below apply to all pull requests.
I have added a new feature and have added tests to go along with it.
I have fixed a bug and have added a regression test.
I have added a test using random numbers; I have made sure it uses a seed, and that random numbers generated are valid inputs for the tests.
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer TIP This summary will be updated as you push new changes.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
📝 Summary
Summary by CodeRabbit
Tests
Improved regression test reliability by filtering externally supplied queuing options before testing scheduler configurations.
The regression test filters --hpx:queuing options and their values from the incoming argument vector before running the existing scheduler test cases.
Changes: Queuing Option Regression Test
Layer / File(s)
Summary
Filter test arguments libs/core/command_line_handling_local/tests/regressions/queuing_options_7743.cpp
Adds remove_queuing_option to retain the program name and unrelated arguments while removing --hpx:queuing and its value, or --hpx:queuing=.... The test uses the filtered arguments for its scheduler cases.
The test filters the injected scheduler option while preserving the remaining arguments. No actionable merge-blocking risk is identified.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 1 files.
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: fixing the queuing regression under configured schedulers.
Description check
The description directly explains the regression, the argument filtering changes, the supported option forms, and the validation performed.
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Fix all pre-merge checks with AI
✨ Finishing Touches: 💡 1
🧪 Generate unit tests (beta)
Create a new PR
🛠️ Fix failing CI checks: 💡
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #7757.
Proposed Changes
--hpx:queuingoption before the regression cases supply their own scheduler.--hpx:queuing=valueand--hpx:queuing valueforms.Any background context you want to provide?
After #7757 merged, the
queuing_options_7743regression failed in configurations that setHPX_WITH_TESTS_COMMAND_LINE=--hpx:queuing=local-workrequesting-fifo. The test supplies a different scheduler for each runtime initialization, so program-options rejected the two occurrences before the assertions ran.Validated with the failing CI configuration, including work-requesting schedulers and the globally injected scheduler option.
Checklist
Not all points below apply to all pull requests.