Skip to content

45#46

Open
vepretski wants to merge 1502 commits into
vepretski:devfrom
discoart:dev
Open

45#46
vepretski wants to merge 1502 commits into
vepretski:devfrom
discoart:dev

Conversation

@vepretski

@vepretski vepretski commented Jun 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • What changed and why?
  • Link the issue this PR resolves.

Closes #

Type of change

  • chore
  • fix
  • docs
  • refactor
  • test

Validation

  • I ran the relevant local checks for this change.
  • I included command output or a short summary in the PR description.

Checklist

  • I kept this PR focused and production-safe.
  • I did not include secrets or sensitive data.
  • I updated docs/config where needed.

Notes for reviewers

  • Known limitations or follow-up items.

opencode-agent Bot and others added 30 commits June 5, 2026 06:31
opencode-agent Bot and others added 21 commits June 10, 2026 02:47
References, MCP timeouts, Anthropic fallback fixes, desktop session flow improvements.
…dle status always published after loop exit

- Removed PRAGMA wal_checkpoint(PASSIVE) and auto_vacuum=INCREMENTAL from
  database.ts. On a 12GB DB, PASSIVE checkpoint blocks for minutes. SQLite
  WAL mode checkpoints automatically in background. auto_vacuum can be set
  when DB is first created.
- Added Effect.ensuring to runLoop that always publishes session idle status
  after the loop exits (with 100ms delay for event propagation). Previously
  if lastAssistant() or cleanup threw, the idle status was never published,
  leaving the TUI spinner running forever.
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vepretski vepretski linked an issue Jun 16, 2026 that may be closed by this pull request
Open
@discoart discoart force-pushed the dev branch 3 times, most recently from 09c61a2 to fbfda61 Compare June 17, 2026 09:14
discoart added 4 commits June 17, 2026 12:23
…acuum

The upstream merge reverted previous performance fixes:
- wal_checkpoint(PASSIVE) blocks startup 5-10min on large databases
- auto_vacuum = INCREMENTAL was not in upstream

Both are removed to restore fast startup.
Removes Sentry (desktop, app packages), OpenTelemetry (core, opencode),
and PostHog (scripts). All three were gated behind env variables so never
active in the fork, but this eliminates the code entirely:

- Sentry: init blocks, captureException calls, vite plugins, deps, env.d.ts
- OpenTelemetry: observability module (otlp, shared, logging), OTEL flag,
  experimental.openTelemetry config, tracer usage in llm.ts/agent.ts,
  OTEL env passthrough in workspace.ts, OTel deps from package.json
- PostHog: sendToPostHog function and download stats calls in script/stats.ts
- Generated SDK types: openTelemetry boolean removed from type definitions
- Tests: OTEL env var setup/teardown/assertions removed
observability.ts still imported Otlp for loggers() and tracingLayer(),
and otlp.ts was replaced with a circular self-re-export. This broke
startup with 'Otlp.loggers is not a function'.

Fix: Remove Otlp from observability.ts (keep only Logging), and
restore otlp.ts with no-op loggers() and tracingLayer() exports.
- runner/prompt/processor: Effect.catchAll → Effect.catch for effect v4
- processor: O(N²) text/reasoning delta accumulation → O(N) chunks
- processor: remove guard that dropped non-error tool results with no call
- task: runCancel.fork → runCancel.run (cancel was being scheduled, not executed)
- run-state: guard against concurrent runner creation for same sessionID
- compaction: NPE guard for empty messages array
- message-v2: NPE guard for undefined tool output
- prompt: orphan detection uses time.created instead of id
- prompt: fix if/else if structure for tool part result
- build-switch: add re-read reminder on plan→build switch
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.

7