generated from bfra-me/github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Summary
Add --skip-auth flag to the oMo installer arguments to prevent authentication prompts in headless CI environments. This prevents potential hangs when the installer prompts for credentials.
Motivation
The oMo installer can print auth prompts in certain conditions. In CI environments, these prompts have no way to be answered and can cause timeouts or hangs. The --skip-auth flag is specifically designed for this use case.
Implementation
File: src/lib/setup/omo.ts
Add --skip-auth to the args array in installOmo:
const args = [
`oh-my-opencode@${version}`,
'install',
'--no-tui',
'--skip-auth', // ADD THIS
`--claude=${claude}`,
// ... rest of flags
]Acceptance Criteria
-
--skip-authadded to installer args - Test updated to verify flag is passed
- Build succeeds (
pnpm build) - All tests pass (
pnpm test)
Context
Identified in PR #236 during review of oMo installer behavior.
Scope
- Effort: Small (single line change + test)
- Risk: Low (flag is designed for CI)
- Dependencies: None
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers