Skip to content

fix(codex): skip per-task marketplace upgrades#5574

Open
wjueyao wants to merge 5 commits into
multica-ai:mainfrom
wjueyao:agent/fix-codex-task-plugin-isolation
Open

fix(codex): skip per-task marketplace upgrades#5574
wjueyao wants to merge 5 commits into
multica-ai:mainfrom
wjueyao:agent/fix-codex-task-plugin-isolation

Conversation

@wjueyao

@wjueyao wjueyao commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

What changed

  • strip user-level [marketplaces.*] update sources from copied per-task Codex
    config
  • preserve [plugins.*] entries so installed plugin capabilities continue
    loading from Multica's exposed shared plugins/cache
  • remove incompatible skills.config entries using semantic TOML source
    ranges rather than line matching
  • preserve unrelated model, profile, MCP, sandbox, and observability config
  • cover dotted, inline, quoted, array-table, multiline-string, shared-config,
    and shared-plugin-cache behavior

Why

Each fresh isolated CODEX_HOME inherited the user's marketplace update
sources. Codex therefore repeated git remote probes and sometimes clones before
the first turn. Slow or unavailable network access could consume the 30-second
semantic inactivity window and fail the task before it emitted any progress
event.

The task still inherits enabled plugin entries and loads their installed code
from the shared cache; only marketplace lifecycle and network refresh are kept
in the shared user home.

Validation

  • go test ./internal/daemon/execenv -count=1
  • go test ./internal/daemon/... -count=1
  • go vet ./internal/daemon/execenv
  • git diff --check

Closes #5573

Strip user marketplace and plugin registry tables from copied task homes so Codex does not refresh unrelated git sources before a turn starts.

Refs multica-ai#5573
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

@wjueyao is attempting to deploy a commit to the IndexLabs Team on Vercel.

A member of the Team first needs to authorize it.

Sanitize task config with TOML source ranges, remove marketplace update sources, and retain installed plugin entries backed by the shared plugin cache.
@wjueyao wjueyao changed the title fix(codex): isolate task plugin registries fix(codex): skip per-task marketplace upgrades Jul 17, 2026
@wjueyao
wjueyao marked this pull request as ready for review July 17, 2026 09:18
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.

Codex task homes repeat user marketplace refreshes and hit startup timeout

1 participant