Skip to content

fixed bugs - #47

Merged
MatthiasLen merged 1 commit into
mainfrom
45-bugtracker-house-keeping
May 25, 2026
Merged

fixed bugs#47
MatthiasLen merged 1 commit into
mainfrom
45-bugtracker-house-keeping

Conversation

@MatthiasLen

Copy link
Copy Markdown
Owner

No description provided.

@MatthiasLen MatthiasLen self-assigned this May 25, 2026
@MatthiasLen MatthiasLen added the bug Something isn't working label May 25, 2026
@MatthiasLen MatthiasLen linked an issue May 25, 2026 that may be closed by this pull request
@MatthiasLen
MatthiasLen requested a review from Copilot May 25, 2026 19:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR tightens isolation and sweep execution correctness by adding validation and safer subprocess output handling, with accompanying regression tests.

Changes:

  • Add Sweep input validation (samples/warmups/params) and make parameter configurations repeatable by snapshotting iterables.
  • Validate reporter objects via a runtime-checkable SweepReporter protocol before running a sweep.
  • Limit captured worker stdout/stderr to a bounded tail stored in temp files, and adjust process priority setting to request absolute max Unix priority.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/benchcaddy/core.py Validates Sweep inputs early, snapshots params, streams configurations, and validates reporters before running.
src/benchcaddy/reporting.py Marks SweepReporter as @runtime_checkable to support runtime protocol validation.
src/benchcaddy/isolation/process.py Requests absolute max Unix priority via psutil, and bounds worker output capture via temp files + tail reading.
tests/test_core.py Adds coverage for sweep validation, param snapshotting, and reporter validation ordering.
tests/test_isolation.py Adds coverage for absolute Unix priority requests and bounded worker stderr tail behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MatthiasLen
MatthiasLen merged commit fcfdc81 into main May 25, 2026
2 checks passed
@MatthiasLen
MatthiasLen deleted the 45-bugtracker-house-keeping branch May 25, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bugtracker / House-keeping

2 participants