Skip to content

fix(ci): master macOS build fails on agent_launch::tests::run_captured_leaves_varied_output_running - #930

Merged
getappz merged 4 commits into
masterfrom
task/762-fix-ci-master-macos-build-fails-on-agent
Oct 20, 2026
Merged

getappz merged 4 commits into
masterfrom
task/762-fix-ci-master-macos-build-fails-on-agent

Conversation

@getappz

@getappz getappz commented Oct 19, 2026 •

Copy link
Copy Markdown
Owner

Fix macOS-only failure of run_captured_leaves_varied_output_running: force LC_ALL=C for tr reading /dev/urandom (BSD tr 'Illegal byte sequence' under UTF-8 locale)


Opened by claude-code on i-flare-c997d745ae66 (flared:c997d745ae66) for item #762 via agentflare.

Summary by CodeRabbit

  • Tests
    • Updated a stalled-output test to use a fixed sequence of distinct step labels while still verifying that varied output completes successfully without being marked as stalled.

…S illegal byte sequence)

Agentflare-Agent: claude-code
Agentflare-Branch: task/762-fix-ci-master-macos-build-fails-on-agent
Agentflare-Item: 762
Agentflare-Session: f402c471-1655-4be5-8f8e-5f024ce8b385
@coderabbitai

coderabbitai Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: getappz/agentflare/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: 335c4e90-7ccb-4ee8-a69d-f77020ecfaf1
📥 Commits

Reviewing files that changed from the base of the PR and between 8789df4 and a053d69.

📒 Files selected for processing: 1
  • src/agent_launch_tests.rs

Included review availability: This review used your included allowance. 1 included review remains after this review. Your included PR review attempts over the past 7 days set your current allowance at 4 reviews per hour.

📝 Walkthrough

The stall-detection test now prints a fixed sequence of distinct step labels. Its assertions remain unchanged.

Changes: Stall-detection test

Layer / File(s) Summary
Deterministic test output
src/agent_launch_tests.rs
The test child prints distinct step labels instead of random labels. The stall-detection assertions remain unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to a053d

The test now uses deterministic varied output while retaining its stall-detection checks. No actionable merge risk is identified.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description explains the macOS-specific failure and the proposed fix, but it omits the required Test plan and Notes for reviewers sections. Add the Test plan section with completed test results and add Notes for reviewers with risk areas, edge cases, and backwards-compatibility information.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the CI fix and the failing macOS test. It is specific and related to the main change.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files.
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.
  • Fix all pre-merge checks with AI
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

Agentflare-Agent: claude-code
Agentflare-Branch: task/762-fix-ci-master-macos-build-fails-on-agent
Agentflare-Item: 762
Agentflare-Session: f402c471-1655-4be5-8f8e-5f024ce8b385
Comment thread .github/workflows/macos-probe.yml Fixed
…ndom (hangs/errors on macOS)

Agentflare-Agent: claude-code
Agentflare-Branch: task/762-fix-ci-master-macos-build-fails-on-agent
Agentflare-Item: 762
Agentflare-Session: f402c471-1655-4be5-8f8e-5f024ce8b385
Comment thread .github/workflows/macos-probe.yml Fixed
Agentflare-Agent: claude-code
Agentflare-Branch: task/762-fix-ci-master-macos-build-fails-on-agent
Agentflare-Item: 762
Agentflare-Session: f402c471-1655-4be5-8f8e-5f024ce8b385
@getappz
getappz marked this pull request as ready for review October 19, 2026 19:53
@getappz
getappz merged commit b08f0db into master Oct 20, 2026
18 checks passed
@getappz
getappz deleted the task/762-fix-ci-master-macos-build-fails-on-agent branch October 20, 2026 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants