Skip to content

test(safe-mode): use localhost testbench in Prod env for CI - #9469

Merged
sachin-thakur-bruno merged 1 commit into
usebruno:mainfrom
pooja-bruno:fix/cli-safe-mode-ci
Oct 8, 2026
Merged

sachin-thakur-bruno merged 1 commit into
usebruno:mainfrom
pooja-bruno:fix/cli-safe-mode-ci

Conversation

@pooja-bruno

@pooja-bruno pooja-bruno commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Problem

Fix

Screenshots

Before After

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.
  • I've run the claude code review skill locally.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Summary by CodeRabbit

  • Chores
    • Test reports now include safe-mode results alongside collection results across Linux, macOS, and Windows test runs. This provides a more complete view of test outcomes across supported platforms.

@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: usebruno/bruno/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1f38efbd-4a84-4afd-8d15-df5c00dc8bfe
📥 Commits

Reviewing files that changed from the base of the PR and between 9d177eb and e8bd158.

📒 Files selected for processing (4)
  • .github/workflows/tests-linux.yml
  • .github/workflows/tests-macos.yml
  • .github/workflows/tests-windows.yml
  • packages/bruno-tests/safe-mode/environments/Prod.bru

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.


Walkthrough

The safe-mode test environment now targets localhost. Linux, macOS, and Windows CLI test report steps now include JUnit results from both collection and safe-mode directories.

Changes

Safe-mode CLI tests

Layer / File(s) Summary
Safe-mode environment host
packages/bruno-tests/safe-mode/environments/Prod.bru
The environment host changes from the remote HTTPS URL to http://localhost:8081.
Safe-mode JUnit reporting
.github/workflows/tests-linux.yml, .github/workflows/tests-macos.yml, .github/workflows/tests-windows.yml
Standard and experimental-cache-modules report steps on all three platforms include safe-mode JUnit files alongside collection JUnit files.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to e8bd1

Safe-mode tests target the local testbench, and each platform is configured to publish both JUnit reports. No merge-blocking issue is established.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the safe-mode host configuration change and its CI purpose. It is directly related to the pull request, although it does not mention the JUnit report publishing updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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
🛠️ Fix failing CI checks 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autopilot · 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.

❤️ Share

The host points to localhost now
Safe-mode reports join the flow
Linux gathers both test sets
macOS and Windows do so too
JUnit files appear in the reports

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

@sachin-thakur-bruno
sachin-thakur-bruno merged commit 6c95519 into usebruno:main Oct 8, 2026
30 of 35 checks passed
KoblerS pushed a commit to KoblerS/bruno that referenced this pull request Oct 10, 2026
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