feat(setup): add --skip-auth flag to oMo installer for CI reliability#260
Merged
marcusrbrown merged 1 commit intofeat/omo-config-updatesfrom Mar 1, 2026
Conversation
Copilot
AI
changed the title
[WIP] Add --skip-auth flag to oMo installer for CI reliability
feat(setup): add --skip-auth flag to oMo installer for CI reliability
Feb 25, 2026
This was referenced Feb 26, 2026
b1c4c16 to
7f2f273
Compare
Co-authored-by: marcusrbrown <831617+marcusrbrown@users.noreply.github.com>
7f2f273 to
2a8ca4c
Compare
marcusrbrown
added a commit
that referenced
this pull request
Mar 2, 2026
* chore: update the project banner * feat(setup): export OPENCODE_CONFIG_CONTENT for CI-safe OpenCode config isolation (#263) feat(setup): export OPENCODE_CONFIG_CONTENT for CI-safe OpenCode config Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * fix(setup): declare and validate opencode-config * feat(setup): add --skip-auth flag to oMo installer for CI reliability (#260) Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * feat(setup): add kimi-for-coding to oMo provider inputs (#268) feat(setup): expose kimi-for-coding oMo CLI flag as action input Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * feat(setup): add `omo-config` action input for custom oMo configuration (#274) feat(setup): add omo-config action input for custom oMo configuration Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> * fix(inputs): add kimi-for-coding to input validation and types Previously, kimi-for-coding was listed as a valid value in action.yaml and handled in setup.ts's parseOmoProviders, but was absent from inputs.ts. This caused users who set 'omo-providers: kimi-for-coding' to fail input validation with: Invalid omo-providers value: "kimi-for-coding". Valid values: ... Three files updated: 1. src/lib/inputs.ts: added 'kimi-for-coding' to VALID_OMO_PROVIDERS and parseOmoProviders function 2. src/lib/types.ts: added readonly kimiForCoding field to OmoProviders 3. src/lib/agent/opencode.test.ts: updated all OmoProviders test objects Fixes PR #266 blocking issue; all 961 tests pass. * fix(setup): harden opencode/omo config input parsing - trim setup inputs and treat whitespace-only config values as not provided - fail fast with explicit error when opencode-config is invalid JSON - enforce opencode-config and omo-config as JSON objects (not null/array/primitive) - harden oMo deep merge against prototype-pollution keys - add regression tests for null/array/string/invalid JSON and whitespace handling - document opencode-config input in README - rebuild dist/main.js --------- Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The oMo installer can emit auth prompts in certain conditions; in headless CI these prompts hang indefinitely. The
--skip-authflag suppresses them.Changes
src/lib/setup/omo.ts— Added--skip-authto thebunxargs ininstallOmo, positioned after--no-tui:src/lib/setup/omo.test.ts— Updated existing arg-array assertions to include--skip-auth; added a dedicated test asserting the flag is present and ordered immediately after--no-tui.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/test/repo/opt/hostedtoolcache/node/24.13.1/x64/bin/node /opt/hostedtoolcache/node/24.13.1/x64/bin/node --input-type=module -e import("file:///home/REDACTED/work/agent/agent/dist/main.js");(http block)https://api.github.com/repos/test/repo/issues/0/labels/agent%3A%20working/opt/hostedtoolcache/node/24.13.1/x64/bin/node /opt/hostedtoolcache/node/24.13.1/x64/bin/node --input-type=module -e import("file:///home/REDACTED/work/agent/agent/dist/main.js");(http block)https://api.github.com/repos/test/repo/labels/opt/hostedtoolcache/node/24.13.1/x64/bin/node /opt/hostedtoolcache/node/24.13.1/x64/bin/node --input-type=module -e import("file:///home/REDACTED/work/agent/agent/dist/main.js");(http block)https://api.github.com/user/opt/hostedtoolcache/node/24.13.1/x64/bin/node /opt/hostedtoolcache/node/24.13.1/x64/bin/node --input-type=module -e import("file:///home/REDACTED/work/agent/agent/dist/main.js");(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.