Skip to content

ci: retain uncached Tier 2 recovery for MCP plugin builds #4478

Closed

Description

@zackees

Repeated failure

Client PR #4457 run 42749378573 failed its native build twice (jobs 129609833829 and 129621068146). The main Tier 2 build detects the lost zccache daemon and successfully rebuilds uncached. It then builds the MCP graphics/media plugins, where ffmpeg-mux fails with exit 125 against that same dead daemon.

Root cause: validate.sh exports ZCCACHE_DISABLE=1 only inside the main recovery subshell. Its later mcp-tests.sh child never receives the flag, so its plugin build still invokes the unavailable daemon. The log explicitly reports successful uncached recovery and identical C/Rust exports before the MCP plugin build fails.

Fix

Keep the existing one-retry behavior and real-compile-error handling. Persist the uncached flag in the validation process when recovery cannot re-probe the daemon, so subsequent MCP child builds inherit it. Add RED/GREEN coverage to the existing build-errors Python test module for downstream child inheritance, including the healthy-daemon case.

Include this focused MCP build-path fix in #4457. Parent #4444. No new workflow, public header, C test, or Rust test binary.

Activity

  1. added
    bug
    ready
    on Nov 10, 2026
  2. zackees commented on Nov 10, 2026

    @zackees
    MemberAuthor

    Claiming: add a RED regression in the existing build-errors harness proving that the MCP child loses the uncached recovery flag, then keep the flag in the validation process (GREEN). Preserve the single retry and compiler-error behavior; include the focused repair in #4457. First update this session.

  3. zackees commented on Nov 10, 2026

    @zackees
    MemberAuthor

    Fixed by merged #4457. RED proved the downstream MCP plugin child lost the uncached recovery flag; GREEN keeps ZCCACHE_DISABLE in the validation process. All 12 build-error checks pass, including healthy-daemon and real-compiler-error cases. Native build/MCP validation and both Tier 2 configurations subsequently passed; unrelated Ubuntu mirror failures were retried without changing application behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions