Skip to content

Consolidate tooling, benchmark and E2E refactors - #1096

Open
Gajesh2007 wants to merge 227 commits into
masterfrom
refactor/tooling-consolidated
Open

Gajesh2007 wants to merge 227 commits into
masterfrom
refactor/tooling-consolidated

Conversation

@Gajesh2007

@Gajesh2007 Gajesh2007 commented Sep 16, 2026 •

Copy link
Copy Markdown
Member

Consolidate 24 tooling, benchmark and E2E refactors against current master, after provider #1094 and web #1095. Benchmark execution, evidence validation, testbed lifecycle, installer recovery and release preflight have focused owners and stronger failure checks.

Incomplete responses cannot inflate load success counts; replay and released-artifact readers reject special files; MTP reports bind their exact inputs; documentation orphan checks follow rendered navigation. Installer failures retain recoverable prior payloads, and the dev bootstrap provisions the resource names required by its shared environment writer.

Remaining order: #1096 → #1056. This PR targets master. Merge with a merge commit to preserve the coordinator stack ancestry, then update and retarget #1056. No production operation or release publication is performed here.

Before and after

flowchart LR
  subgraph Before
    A[Benchmark or release command] --> B[Repeated setup and mixed orchestration]
    B --> C[Reports or remote writes]
    D[24 overlapping PRs] --> E[Separate conflicts and review fixes]
    F[Docs check] --> G[Reference and inline scans]
    G --> H[Footnote or cross-cell false navigation]
  end
  subgraph After
    I[Same commands] --> J[Owned lifecycle and shared validation modules]
    J --> K[Exact artifact and complete response checks]
    K --> L[Validated reports or preflighted writes]
    M[One PR after provider and web] --> N[All 24 exact source heads]
    O[One Markdown parse] --> P[Rendered links within table cells]
    P --> Q[Reachability plus historical source validation]
  end
Loading

Included PRs

All source heads below are ancestors of this branch. #915 includes #903, and #956 includes #901. This PR replaces their separate merge paths. All 24 source PRs are closed with redirects here; their branches and review history remain available.

PR Change Included head
#900 Separate testbed lifecycle ownership and capability admission da8c4b127666
#901 Modularize MTP benchmark orchestration and report validation d9f7ad0b9535
#903 Consolidate load statistics and index profiler events once 965589a915ac
#910 Run omitted checks and fix Git and docs validation gaps a2de52685d44
#915 Count complete response bodies in E2E load results 0072f6afaf94
#917 Consolidate benchmark setup and preserve full measurement durations af3999480323
#918 Share validated dev environment setup between boot and deploy 462d3e1a1424
#921 Preserve installer recovery backups and own temporary downloads 938c073d66fa
#924 Share provider release signing checks and safely encode tag metadata 35d8c5ae64c4
#926 Preserve complete input in automated PR reviews 4e8deda62b01
#927 Retain and reap testbed commands before lifecycle cleanup c15dfeb8ac0f
#929 Align E2E defaults and cache fixtures with exact release identities 25646414774b
#932 Reject special files before verifying released provider artifacts 4676daa74074
#935 Correlate cache evidence and avoid repeated SSE transcript copies 3519ca56cdd6
#939 fix(e2e): require observed latency and consolidate assertion reports e33fcb97969c
#941 refactor(benchmarks): preserve source evidence and simplify model reports 1512c69871e0
#942 Align contributor and dependency entry points with the current repository 28c26b0bf035
#944 fix(benchmarks): retain complete attention refusals and reuse replay reference 951acc81bd7e
#947 Validate model publishing before remote writes and preserve failures 7e71f840efd8
#949 Fix completion accounting in load and startup measurement helpers a1e892926881
#951 Refuse non-regular attention replay inputs without blocking 2b4be4e88319
#952 Validate replay artifact ownership and simplify benchmark evidence operations d506c6758d8a
#954 Stop cache soak monitoring cleanly and count complete log lines once 2e35f4cc3d6f
#956 Validate MTP artifact and performance evidence from exact inputs 7d4f63a6a02c

Integration with current master

  • Signed merge b7f7eeb61 imports updated web head e5b9d8d40; 90e4138c9 records its squash-merged master baseline ce809b792 without changing the tree. All 24 source heads remain ancestors. The review diff is 145 files: the original 144 paths plus the native benchmark's timing adapter.
  • Preserves the current App Attest release workflow: exact signed artifacts are retained, staged independently, qualified separately and published through the Linux publication job. The obsolete inline registration/publication block is removed. Shared profile/entitlement validation remains, including App Attest entitlement verification. The tag-text regression now executes the current artifact-preparation workflow and checks both retained JSON documents.
  • Preserves Qwen4/Bonsai native benchmark dispatch and JSON5 parsing. Both ordinary and native benchmark paths use the shared whole-second duration conversion; no model, sampling, precision or serving-default change is introduced.
  • Carries LocalEndpointPort into the extracted provider-startup owner while retaining early endpoint selection validation. Startup failure still reaps owned children before cleanup.
  • CI keeps current release/resource/GPU checks plus the refactor's tooling, admin, landing and testbed coverage. The duplicated signing-validation invocation is consolidated. Informational exact-cache output checks remain separate from blocking inference/default-fixture checks.
  • Current console/admin code, provider serving code and SDK pins match master exactly. Shared changelog and documentation retain the latest App Attest, Bonsai and Qwen guidance.

Validation

On pinned Go 1.25.0 / Python 3.12.13 / NumPy 2.4.2 / Node 22.23.1 and Apple Swift 6.3.3:

  • Full pre-push Go tests, formatting, console lint and production build: pass. GitHub reports all 227 PR commits Verified; all review threads are resolved.
  • make tooling-test: 460 tests pass (273 script/package, 140 benchmark, 34 host, 4 release-resolution, 9 signing-validation).
  • go test -race ./e2e/testbed/... -count=1: all four packages pass. Selected root E2E CPU fixtures: 51 top-level tests pass; the explicit artifact input-plan preparation helper remains skipped without a supplied plan.
  • swift build --build-tests --jobs 4: pass. Source-matched metallib built/verified and staged. Selected benchmark CPU run: 191 tests in 16 suites pass, with the nonzero/no-skip wrapper. Additional scheduler/evaluator/bandwidth checks: 15 tests pass. The real-model Qwen prefill evaluation is explicitly excluded from the CPU run and retains its opt-in gate.
  • Exact ReplayIO.swift compiled and executed with six regular/bounded/symlink/directory/empty/FIFO cases, each under a five-second process deadline: pass.
  • Current release-publication/pipeline tests: 12 + 10 pass; profile/tag workflow fixtures: 2 pass; App Attest entitlement fixtures: 7 pass; historical source-link fixtures: 16 pass; native GPU routing fixtures: 10 pass. Atomic installer/rollback checks and installer embed parity pass. Version parity remains 0.9.7.
  • Console: 784 tests pass, lint 0 errors / 85 warnings, production build passes. Admin: 16 tests pass, 2 existing database cases skipped without a disposable DB; lint, types and production build pass with a loopback placeholder database URL. Landing: 8 tests pass.
  • make docs-impact-check BASE=origin/master: pass for 145 paths. make docs-check: 312 files pass. Diff whitespace check passes.
  • Actionlint workflow structure/expression checks pass. Full Actionlint reports the same two pre-existing release-workflow ShellCheck advisories as master (SC2046 and SC2129); no new advisory was introduced.

Hosted checks on the updated head are separate from these local results. No live model benchmark, cloud bootstrap, fleet rollout, artifact publication, production deployment or release qualification is claimed.

Hosted validation on 90e4138c9

  • CI: success, including provider Swift tests, production prompt parity, Nemotron SDK gates, coordinator/testbed tests, tooling, release integrity and UI checks.
  • Integration Tests: success. Blocking paged inference/profile and contiguous default-mode gates pass; both compatibility directions with released v0.7.12 pass. The informational exact-cache test also passes.
  • SDK 27 preparation: both release and qualification build jobs pass. These are CI results, not production release qualification.
  • Contribution Policy: success. All 227 commits are Verified. CodeQL and all three Vercel checks pass; review threads are resolved.
  • The existing non-gating profile report logged parse mean 1.9647 ms against 1 ms and p95 7.12 ms against 5 ms, across 10 requests at concurrency 3. The profile test and its thresholds are unchanged from master; this run alone does not establish a performance regression. The CI success should not be read as every advisory latency target passing.
  • E2E Benchmarks remains waiting for its manual environment approval and was not run. GitHub reports the branch conflict-free but still BLOCKED; no merge was performed.

@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: 111f1ca9ad

ℹ️ 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 deploy/gcp/vm-startup.sh Resolved
@Gajesh2007

Copy link
Copy Markdown
Member Author

@codex review Fixed the confirmed bootstrap finding in1235aa658: all environment secret resources now exist before the documented populate/startup retry. The new fixture reproduces the prior failure and verifies idempotent creation, preservation of populated values and successful retry using local transport stubs; all5 dev-env tests and normal pre-push checks pass. Please review this final head.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 1235aa658d

ℹ️ 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".

Base automatically changed from refactor/web-consolidated to master September 21, 2026 20:46
Comment on lines +30 to +40
from mtp_benchmark.constants import (
REPO_ROOT,
PACKAGE_ROOT,
DEFAULT_TARGET_ID,
DEFAULT_ASSISTANT_ID,
DEFAULT_TEST_FILTER,
REPORT_NAME,
LOG_NAME,
SUPERVISOR_CONTRACT,
LEGACY_M5_INACTIVE_REASON_PREFIX as LEGACY_M5_INACTIVE_REASON_PREFIX,
)
Comment on lines +46 to +49
from mtp_benchmark.metrics import (
expected_mtp_expectation,
validate_automatic_fixed_fallback as validate_automatic_fixed_fallback,
)
Comment on lines +50 to +53
from mtp_benchmark.report import (
validate_report,
expected_coverage as expected_coverage,
)

This branch had an error being deployed

1 failed and 3 active deployments
Preview – d-inference — 90e4138c Deployed Sep 22, 2026 by vercel[bot]
Preview – d-inference-console-ui-dev — 90e4138c Deployed Sep 22, 2026 by vercel[bot]
Preview – d-inference-landing — 90e4138c Deployed Sep 22, 2026 by vercel[bot]
benchmarks — 90e4138c Deployed Sep 22, 2026 by Gajesh2007 via E2E Benchmarks #1519
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.

1 participant