Skip to content

fix(ci): prepare MiMo test fixtures and use date-only docs stamps - #1258

Merged
Gajesh2007 merged 6 commits into
masterfrom
fix/provider-ci-doc-freshness
Sep 30, 2026
Merged

Gajesh2007 merged 6 commits into
masterfrom
fix/provider-ci-doc-freshness

Conversation

@Gajesh2007

@Gajesh2007 Gajesh2007 commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-up to merged #1234 and its failed CI run. This PR does not rewrite #1234 or change any dependency commit, lockfile, runtime default, model weight, or production memory safeguard.

  • Provision the existing pinned public tokenizer/template corpus in Provider Tests and SDK qualification, not just the independent sidecar job. Generate bounded deterministic synthetic fixtures for ordinary metadata tests and separate native startup/prefix/fault checks.
  • Keep hardware, selected-audio, audiovisual-recording and private historical-corpus qualification explicit. Absent opt-ins skip; malformed opt-ins and enabled missing/invalid fixtures fail. Three small native selections use the existing nonzero/no-skip runner and still run after an unrelated test failure when their own prerequisites succeeded.
  • Fix macOS /var versus /private/var equality in the publication/rollback test using POSIX canonical identity, and assemble streamed deltas before asserting the HTTP fixture's complete output.
  • Pin the production vector corpus's EOF format in the Rust fixture generator. Current-head CI exposed a one-byte EOF mismatch; the separately landed fix(release): match generated prompt fixture EOF #1261 repaired the corpus, and this PR preserves that repair with an EOF regression. Retain exact cmp, not a relaxed JSON comparison. No token or contract expectations change.
  • Synchronize the coordinator zombie-stream schedule test with receipt of the first cancel. The old harness could send a stray chunk while cancellation was still releasing capacity, legitimately producing an immediate duplicate. Existing coverage of that race remains; the integration test still checks the +1s/+3s schedule and terminal correlation.
  • Convert documentation freshness stamps to date-only. Stamp-only migrations keep existing dates; the four substantively updated guidance pages use their actual update date. Immutable source URLs and body evidence remain. Frozen-source link checks recover legacy provenance from Git history, or the link-introduction revision for new date-only records; they do not guess revisions from dates.
  • Add conflict-resistant changelog contribution guidance: small topic-local Unreleased sections, review updates in place, no unrelated reordering or release assignment, and preservation of both sides during conflicts. This reduces contention rather than promising conflict-free insertions.

Most changed documentation files contain only the requested stamp-line migration.

Before

flowchart TB
  subgraph Tests["Tests and caller-visible CI"]
    A["run-provider-tests.sh"] --> B["MiMo tests without prerequisite setup"]
    B --> C["Missing inputs or native-lane errors"]
    C --> D["Provider CI fails before validation"]
    E["Zombie chunks before first cancel"] --> F["Immediate duplicate breaks timing assertion"]
    P["Generator and fixture EOF mismatch"] --> Q["cmp stops parity validation"]
  end
  subgraph Docs["Contribution flow"]
    G["docs-stamp.sh: date and HEAD hash"] --> H["Repeated shared stamp edits"]
    H --> I["Merge contention"]
    J["docs-check.sh reads header hash"] --> K["Frozen-source validation"]
    L["Broad changelog edits"] --> I
  end
  classDef error fill:#fee2e2,stroke:#991b1b,color:#111827
  classDef process fill:#dbeafe,stroke:#1e40af,color:#111827
  class A,E,G,J,L,P process
  class B,C,D,F,H,I,Q error
Loading

After

flowchart TB
  subgraph Tests["Tests and caller-visible CI"]
    A["Pinned metadata and tiny fixture setup"] --> B["General metadata and prompt tests"]
    A --> C["Separate native startup, prefix and fault processes"]
    C --> D{"Nonzero tests and no skips?"}
    D -->|Yes| E["Validated CI gate"]
    D -->|No| F["Fail the gate"]
    G["Observe first cancel, then send zombie chunks"] --> H["Assert resend schedule and terminal correlation"]
    P["encode_corpus and landed fixture share EOF format"] --> Q["Exact cmp and cross-language parity checks"]
  end
  subgraph Docs["Contribution flow"]
    I["docs-stamp.sh: date only"] --> J["Preserved dates and evidence"]
    K["docs-historical-source.py reads committed provenance"] --> L["Exact frozen-source validation"]
    M["Topic-local changelog edits"] --> N["Preserve parallel entries and release boundaries"]
  end
  classDef verified fill:#dcfce7,stroke:#166534,color:#111827
  classDef process fill:#dbeafe,stroke:#1e40af,color:#111827
  classDef error fill:#fee2e2,stroke:#991b1b,color:#111827
  class A,B,C,G,I,K,M,P process
  class E,H,J,L,N,Q verified
  class F error
Loading

Blue: preparation/control flow; green: validated outcomes or preserved evidence; red: an attributable failure, never a hidden pass.

Changelog History

Validation

  • swift build --build-tests --disable-automatic-resolution: passed on unchanged dependency pins.
  • Publication/rollback selection: 6 tests passed, zero skips.
  • Prepared prompt/local HTTP/stream contracts: 26 tests passed, zero skips. The raw-SSE assertion failure was reproduced before the test fix.
  • Native startup: 2 tests passed; native prefix OFF/ON/interior/underfunded: 4 passed; retained-fault/healthy-peer: 1 passed. All seven passed with zero skips.
  • go test -race ./coordinator/api -run '^(TestIntegration_ZombieStreamRecancelScheduleAndCompleteTerminal|TestIntegration_CancelToTerminalOnLateErrorTerminal|TestCancelSendCountsOnlyDeliveredFrames)$' -count=5: passed.
  • go test -race ./coordinator/...: passed. Local PostgreSQL opt-ins are not configured; CI separately supplies disposable PostgreSQL.
  • Final provider XCTest pass: 533 tests, 115 explicit opt-in skips, zero failures. The full Swift Testing general pass: 3,488 tests passed; all isolated runner selections passed. These are separate passes, not a no-skip full-model qualification claim.
  • Historical-link/parser tests: 53 passed, including semantic rename targets, merge-resolution provenance, reintroduced links and inline/fenced examples. Date-stamping tests: 9 passed. Prompt provisioning: 8 passed. Tiny provisioning/SDK wiring: 8 passed. Native-runner regressions: 13 passed.
  • Caller-level prerequisite regressions: 4 selected tests passed. Disabled native tests skip before absent fixtures and MTP assertions; an explicitly enabled missing wired-fault fixture fails, not skips. Atomic namespace/file creation and exact workflow selectors are covered offline.
  • Full verify-prompt-parity.sh after EOF reconciliation: exact production-corpus comparison, serving tokenizer, Go plans, Rust shared vectors, concurrent-load check and release sidecar load proof passed. No contract/token expectations changed. The later merged fix(release): match generated prompt fixture EOF #1261 corpus uses the original no-newline generator format and passes exact regeneration with the retained regression.
  • make docs-impact-check BASE=origin/master, make docs-check, shell syntax checks and git diff --check: passed.

Scope And Limitations

No protocol/schema/API changes, dependency updates, release/version changes, merging, deployment or traffic changes. Synthetic fixture passes verify exercised control flow, not selected full-model semantics, performance, audio-codec qualification or the remaining release gates in #1234. The selected audio codec and private recorded-divergence corpus remain additional explicit inputs, not fabricated substitutes or routine CI downloads.

The freshness migration is intentionally metadata-only for frozen records. Historical bodies and source links retain their original evidence, including commit hashes needed for reproducibility. Git history remains required for historical relative source validation.

@vercel

vercel Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
d-inference Ready Ready Preview Sep 30, 2026 12:58am UTC
d-inference-console-ui-dev Ready Ready Preview Sep 30, 2026 12:58am UTC
d-inference-landing Ready Ready Preview Sep 30, 2026 12:58am UTC
eigen-homepages-darkbloom Ready Ready Preview Sep 30, 2026 12:58am UTC

Request Review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-30T01:02:33.995971Z fa26055 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Threat model review — advisory

Reviewed head a59b49f57ea3 against base acda005e1f4f.

Review not completed for this head. Previous findings are superseded, not confirmed resolved.
Scan incomplete: aggregate source, file-list or source-tree budget exceeded; split the PR for complete feedback

Models: anthropic/claude-opus-5.5, openai/gpt-6-astra. Findings require human validation; this review never requests changes or blocks merging.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b071076a66

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/AGENTS.md Resolved
@Gajesh2007

Copy link
Copy Markdown
Member Author

Current-head CI confirmed the original repairs: Run Swift tests and all three isolated MiMo native gates passed, as did coordinator, docs, UI, sidecar and E2E integration tests. Both Provider Tests and SDK 27 qualification then failed at exact corpus comparison with cmp: EOF. Reproduction showed every preceding byte matched; only the checked-in final newline was absent. Commit 2bd9470 preserves that newline in the Rust generator with a regression test. The regenerated full production corpus now passes exact cmp; token/contract fixtures and all dependency pins remain unchanged. Latest-head CI is rerunning.

@Gajesh2007

Copy link
Copy Markdown
Member Author

Preserved the independently merged #1261 EOF correction in fa26055. Its no-newline fixture is now paired with the original serializer behavior; this PR retains a regression tying generator EOF to the checked-in fixture. Exact full-corpus regeneration matches, with no fixture diff relative to current master and no token, contract or dependency-pin changes. SDK qualification also provisions the same routine MiMo fixtures before its general test runner. The final composed head is rerunning CI.

@Gajesh2007
Gajesh2007 merged commit 8843707 into master Sep 30, 2026
24 of 25 checks passed

This branch was successfully deployed

4 active deployments
Preview – d-inference-console-ui-dev — fa260559 Deployed Sep 30, 2026 by vercel[bot]
Preview – d-inference-landing — fa260559 Deployed Sep 30, 2026 by vercel[bot]
Preview – d-inference — fa260559 Deployed Sep 30, 2026 by vercel[bot]
Preview – eigen-homepages-darkbloom — fa260559 Deployed Sep 30, 2026 by vercel[bot]
benchmarks — fa260559 Deployed Sep 30, 2026 by Gajesh2007 via E2E Benchmarks #1937
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.

2 participants