Skip to content

fix(release): suppress mise output in gh JSON responses - #118

Merged
0xApotheosis merged 1 commit into
developfrom
fix/release-gh-json
Oct 12, 2026
Merged

0xApotheosis merged 1 commit into
developfrom
fix/release-gh-json

Conversation

@0xApotheosis

Copy link
Copy Markdown
Member

Description

Sets MISE_QUIET=1 for release-script GitHub CLI calls so mise-backed wrappers don't mix setup output into gh pr list JSON. Uses argument-based execution throughout and gives an actionable error if stdout still contains invalid JSON.

Verification

Run bun test scripts/release-pr.test.ts. The fake gh wrapper emits setup output unless quiet mode is enabled; PR JSON should parse even when the parent environment sets MISE_QUIET=0. The same test checks that unexpected stdout gets the wrapper diagnostic and command failures preserve stderr.

Confirmed locally with the simulated wrapper. No release branches were pushed or releases created during verification.

@railway-app

railway-app Bot commented Oct 12, 2026

Copy link
Copy Markdown

🚅 Deployed to the website-frontend-pr-118 environment in website-frontend

1 service not affected by this PR
  • website-frontend

@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6235b839-0deb-45ae-95c8-c8e9ebee8ae2

📥 Commits

Reviewing files that changed from the base of the PR and between 8b76087 and 1be07ed.


📒 Files selected for processing (4)
  • scripts/release-gh.ts
  • scripts/release-pr.test.ts
  • scripts/release-pr.ts
  • scripts/release.ts

 _______________________________
< Copilot: Off. CodeRabbit: On. >
 -------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ 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

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.

@0xApotheosis
0xApotheosis merged commit b717b81 into develop Oct 12, 2026
1 of 2 checks passed
@0xApotheosis
0xApotheosis deleted the fix/release-gh-json branch October 12, 2026 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant