Skip to content

Commit 861fbb9

Browse files
committed
Skip target repo project config during integration runs
Integration runs now launch opencode with OPENCODE_DISABLE_PROJECT_CONFIG=1 so a cloned repo's .opencode/opencode.json(c) can't fail the build with keys the installed OpenCode doesn't recognize (e.g. Unrecognized key: references).
1 parent d5079c0 commit 861fbb9

4 files changed

Lines changed: 10 additions & 2 deletions

File tree

.alfonso/release-notes/v0.1.3.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# @cortexkit/orw v0.1.3
2+
3+
Reliability fix for integration runs.
4+
5+
## Fixes
6+
7+
- Integration runs now skip the target repo's project `opencode.json` / `.opencode` config. A release build no longer fails when the cloned repo carries config keys that your installed OpenCode doesn't recognize (for example `Unrecognized key: references`).

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Full user-facing release notes live in GitHub Releases. This file is a lightweig
66

77
## 0.1.x
88

9+
- **0.1.3** — Integration runs now ignore the target repo's project `opencode.json`/`.opencode` config, so a release build no longer fails when the cloned repo carries config keys your installed OpenCode doesn't recognize.
910
- **0.1.2** — Stopped internal command captures from printing to the terminal and made CLI failures print concise messages instead of Bun stack traces.
1011
- **0.1.1** — Added CLI help output and made unknown commands show help instead of a Bun stack trace.
1112
- **0.1.0** — Initial public release of `@cortexkit/orw`: Bun-powered OpenCode release integration watcher with macOS/Linux/Windows CLI support plus local branch, GitHub branch URL, and GitHub PR URL integration sources.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cortexkit/orw",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "Local OpenCode release integration watcher",
55
"keywords": [
66
"opencode",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ async function check(cfg: Cfg, force: boolean) {
329329
{
330330
cwd: cfg.work_repo,
331331
log,
332-
env,
332+
env: { ...env, OPENCODE_DISABLE_PROJECT_CONFIG: "1" },
333333
},
334334
);
335335
} catch (err) {

0 commit comments

Comments
 (0)