mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2096] [MERGED] Guard launcher browser auto-open command #5438
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5438
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2096
Author: @cha1latte
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-2089-safe-browser-open📝 Commits (2)
a5b63b3Guard launcher browser auto-open command429c085Tighten launcher safety guard📊 Changes
2 files changed (+97 additions, -1 deletions)
View changed files
📝
package.json(+2 -1)➕
scripts/check-launcher-safety.mjs(+95 -0)📄 Description
Linked issue
Closes #2089
Why this change
cmd /c,timeout /t,start, andexplorer.refactorno longer has the oldstart.batlauncher path, so this PR adds a refactor-side guard to keep that command pattern from being reintroduced in launcher/script/docs surfaces.What changed
scripts/check-launcher-safety.mjsto scan tracked launcher/script/docs-style files for the reported suspicious delayed browser-open command pattern.--self-testmode that proves the checker catches the issue #2089 command shape and does not flag the safe PowerShellStart-Sleep/Start-Processshape.pnpm check:launcher-safetyinto the fullpnpm checkgate.Refactor impact
Primary owner:
Repo tooling / refactor workflow guard.
Impact areas reviewed:
package.jsoncheck pipeline.start.bat/AUTO_OPEN_BROWSERpath exists onrefactor.Boundary notes:
Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
node scripts\check-launcher-safety.mjs --self-testpassed.pnpm check:launcher-safetypassed and scanned 495 tracked files.pnpm checkpassed locally after wiring the new guard into the check pipeline.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs, release, dependency, or version changes.
UI evidence
Not a UI change. The proof is command output from the launcher safety self-test, focused scan, and full
pnpm check.Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.