Skip to content

Cleanup scripts; allow darwin testing - #148

Open
aramprice wants to merge 6 commits into
developfrom
cleanup-and-modernize
Open

Cleanup scripts; allow darwin testing#148
aramprice wants to merge 6 commits into
developfrom
cleanup-and-modernize

Conversation

@aramprice

@aramprice aramprice commented Aug 14, 2026

Copy link
Copy Markdown
Member

Post merge: reconfigure pipeline

@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

Review Change Stack

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: dd665ec2-3832-4ea7-a16f-1bbd21bbebfd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

The pull request hardens repository build, test, and lint scripts with stable root resolution and strict Bash settings. CI adds lint execution and expands non-Windows workflow coverage to macOS. Unix and Windows process-priority fixtures support command-runner tests. Filesystem tests cover home directories and descriptor closure. Async logger tests use explicit package qualification.

Suggested reviewers: colins, neddp

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 41.67% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the script cleanup and expanded Darwin testing changes.
Description check ✅ Passed The description refers to the pipeline changes included in the pull request.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cleanup-and-modernize

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@aramprice
aramprice changed the base branch from master to develop August 14, 2026 22:58
coderabbitai[bot]

This comment was marked as resolved.

@github-project-automation github-project-automation Bot moved this from Inbox to Waiting for Changes | Open for Contribution in Foundational Infrastructure Working Group Aug 14, 2026
@aramprice
aramprice force-pushed the cleanup-and-modernize branch 2 times, most recently from f4ce7d0 to caa7888 Compare August 14, 2026 23:19
@aramprice aramprice changed the title Cleanup and modernize Cleanup scripts; allow darwin testing Aug 17, 2026
@aramprice
aramprice force-pushed the cleanup-and-modernize branch 4 times, most recently from 32d9593 to 74d8490 Compare August 17, 2026 19:34
@aramprice
aramprice requested a balanced review from Copilot August 17, 2026 19:36

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@aramprice
aramprice force-pushed the cleanup-and-modernize branch 5 times, most recently from c7ef569 to 014e3d3 Compare August 17, 2026 20:27
@aramprice
aramprice requested a balanced review from Copilot August 17, 2026 20:29

This comment was marked as resolved.

@aramprice
aramprice force-pushed the cleanup-and-modernize branch 2 times, most recently from 8c1e56f to 9535340 Compare August 17, 2026 23:43
@aramprice
aramprice requested a balanced review from Copilot August 18, 2026 00:18

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@aramprice
aramprice force-pushed the cleanup-and-modernize branch 2 times, most recently from bd970ea to a4a1148 Compare August 18, 2026 21:40
@aramprice
aramprice requested a balanced review from Copilot August 18, 2026 21:47

This comment was marked as resolved.

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@aramprice
aramprice force-pushed the cleanup-and-modernize branch from 6dda9cb to a211600 Compare August 18, 2026 22:56
@aramprice
aramprice requested a balanced review from Copilot August 18, 2026 22:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

- remove `test` which used outdated `go fmt` command
@aramprice
aramprice force-pushed the cleanup-and-modernize branch from a211600 to 0adb725 Compare August 18, 2026 22:59
Comment thread bin/lint Outdated
- adds `bin/lint`
- remove dot-import
- rename package-shadowning vars
This change, and the additiona of a darwin-specific
`getProcessPriority()` allows tests to be run on macOS.
This change allows linters for supported GOOS values to pass and reduces
the number of programmatically skipped tests.
@aramprice
aramprice force-pushed the cleanup-and-modernize branch from 0adb725 to 0252e64 Compare August 19, 2026 00:29
Comment thread bin/lint
cd "${ROOT_DIR}"
if ! command -v golangci-lint &> /dev/null; then
echo "Installing golangci-lint@latest..."
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this worth pinning to a version to avoid changes to linting causing unexpected failures

return []byte(strings.Join(paths, "|"))
}, func(data []byte) {
paths := strings.Split(string(data), "|")
Expect(paths).To(HaveLen(3))

@colins colins Aug 19, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I assume this check was here to avoid index array errors in the following lines
HaveLen(4)?

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

Labels

None yet

Projects

Status: Waiting for Changes | Open for Contribution

Development

Successfully merging this pull request may close these issues.

3 participants