Repository navigation
fix(ci): resolve installed metadata and measure diff-scoped gates - #7654
Conversation
Quest-Claim: 18c0b3a3fd42aca1
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
Co-Authored-By: GPT-6.1 Sol <noreply@openai.com>
The maintainer settled the goal's test command on 2026-11-03: the five-minute bound covers `just check`, including its selected modules' test phases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 19 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
kixelated
left a comment
There was a problem hiding this comment.
Automated review by review (OpenAI)
Reviewed head 16d9600 against base 9294812. No actionable findings. The direct pkg-config queries match the installed layouts, and the namespace probe retains the existing local skip and strict CI behavior while avoiding the checkout copy.
Verification: GitHub-only static review of the changes, package templates and probe caller. I did not run the gates or benchmarks or inspect the local benchmark logs.
(Written by review, OpenAI)
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
- Installed pkg-config lookup —
nix/overlay.nix,sh/c/check.sh,sh/cpp/check.sh,sh/obs/qlog.sh, andsh/obs/unit.shnow pass the installed.pcpath instead of exportingPKG_CONFIG_PATH, which Nix's wrapper overrides. Confirmed with pkgconf 1.8.1 that an explicit.pcpath expands${pcfiledir}-relativelibdir/includediridentically, that none of these.pctemplates carryRequires, and that a missing file fails underset -e.test/smoke/smoke.shkeeps its name-based lookup as documented. - Namespace probe —
nix/runner/userns-probe.nixreadsflake.lockand fetches the locked nixpkgs node directly, removing the whole-checkout copy that raced generated output while still emittingMOQ_USERNS_UNAVAILABLEfor the local skip. The path literal needs onlyflake.lock, and the sole caller (sh/dispatch.sh) already passes--impure. - Quest docs —
quest/m0/ci/five-minutes.mdnarrows the goal tojust checkwith its test phases, records the 2026-11-03 decision and the landed #7472/#7473 reductions, adds the warm measurement table, and moves external blockers to## Waiting;quest/m0/ci/README.mdlinks the narrowed goal. Cross-checked the io_uring default-test claim (sh/rs/select.sh) and the Features nightly/release invocation, both accurate.
deepseek-v4.1-flash-1017 (free via Pullfrog for OSS) | 𝕏

Problem
The FFI gate installed C/C++ packages and passed their CMake probes, then failed at pkg-config lookup. Nix's wrapper replaces
PKG_CONFIG_PATHwith its target-specific value, so exporting a new path inside a check did not select the just-installed package.The five-minute quest also still listed gate reductions already shipped by moq-dev/moq#7472 and moq-dev/moq#7473.
Approach
.pcfile directly in C/C++, OBS, and Nix package validation. This preserves pkg-config's dependency search and verifies the intended install prefix.flake.lock, independent of the changing checkout.Measurements
One observation per route after a successful preparation run, with another comment-only source edit.
bench/local.pyadmitted the wholejust check HEADonce, with four nextest workers andCHECK_JOBS=3. Other agents were running; these are observations, not a controlled comparison with historical results.The default FFI attempt also reproduced recursive Gradle function lookup, already owned by moq-dev/moq#7632. It was cancelled and all its children stopped. The two subsequent FFI runs passed using the supported
GRADLE_CMDoverride set to the dev shell's executable. Their timings do not establish a passing default gate. Swift skipped on Linux.Impact
Alternatives
Changing Nix's internal wrapper variables would couple the scripts to its implementation. Explicit metadata paths also avoid selecting another installed MoQ package. The proposed published-smoke change was dropped after review to preserve its consumer-facing, name-based lookup coverage.
Decisions
Decided 2026-11-03 (maintainer): what the historical
just testgoal covers.just check, including its selected modules' test phases" (recommended): the diff-scoped gate, which already runs each selected module's tests. Barejust testonly lists the cross-language suites.Applied to the quest's Goal and Plan and to the CI epic's link. The historical
just testbaseline row stays as history and is not compared with new measurements. This confirms the PR's recommended direction, so no design change.Validation
On head 16d960098c, after merging
origin/mainat 929481236b (no conflicts):quest gate just check origin/main(in the current flake's dev shell): passed. c 38 s, cpp 56 s, obs_compile 12 s, test gh 57 s, quest, shell, markdown, and the other selected modules passed, 75 s wall time. The flake module skipped because the local Nix builder cannot create user namespaces (MOQ_USERNS_UNAVAILABLE, exit 77), the intended local skip.quest(pind003102) failedcheck queston## Waitingheadings in 23 quests. The flake's pinnedquest(36d0429) accepts them, so this was the environment and not the branch.quest check --base origin/main: 564 documents ok.quest gate just ci origin/mainfailed only in the strict flake lane on the same namespace limit. C and C++ package probes, both configured FFI gates, and all net/JS measurement gates passed.Review
quest review --base origin/main --new, Codex / GPT-6.1 Sol, medium effort. Session01a1a3c1-5280-7d72-aec4-b1ae9e471f10, round 1, reviewed 16d960098c against 929481236b: no findings.The PR had no review threads or automated findings to address.
Earlier rounds (Claude Code / Claude Opus 5.5, session
0b6790b7-ff3a-4fea-8644-706d6ce76eda, clean on a5dbd0bfd3) fixed:Remaining in the quest
The quest stays open, rewritten to what remains. Its
## Waitingsection tracks the outside conditions, which do not block this PR:Follow-ups
No new quests. Admission, hakari, and Gradle discovery retain their existing owners.
Originally written by GPT-6.1 Sol.
(Written by Claude Opus 5.5)