Repository navigation
improve(ci): avoid unused work in adaptive scoring - #208926
Merged
Merged
Conversation
Contributor
|
🦞👀 ClawSweeper review completeClawSweeper finished reviewing this revision. |
vincentkoc
force-pushed
the
perf/ci-adaptive-model-features-20261130
branch
from
November 30, 2026 07:01
f6871a5 to
d656353
Compare
vincentkoc
force-pushed
the
perf/ci-adaptive-model-features-20261130
branch
from
November 30, 2026 07:10
d656353 to
6f1a043
Compare
vincentkoc
marked this pull request as ready for review
November 30, 2026 07:17
vincentkoc
enabled auto-merge (squash)
November 30, 2026 07:22
Member
Author
|
Merged via squash auto-merge.
|
vincentkoc
added a commit
that referenced
this pull request
Nov 30, 2026
…ogic * commit 'f7ccd914102ab408606c45c0aa3adbd8427051eb': (1290 commits) refactor(ios): remove unreachable settings and automation controls (#208958) fix: verify deferred activation in package recovery acceptance (#208901) improve(ci): avoid unused adaptive scoring work (#208926) chore(ui): refresh control ui locales (#208959) test(agents): verify user recall and file state across OpenAI compactions (#208909) fix(ui): update the sidebar on startup and recovery screens (#207967) fix(whatsapp): quote the first queued swipe-reply answer (#208791) test(memory-wiki): generate metadata replacement transitions (#208932) fix(ui): hide Claude injected context from chat (#207234) fix(ui): count people instead of emoji in reaction badges (#207235) fix: keep Daybreak when another provider's model list fails (#208883) test(telegram): check the registered preload at polling worker startup (#208936) fix(qa): test Slack verbosity with one direct shell call (#208023) fix(qa): wait for Telegram messages before checking their formatting (#208024) feat(ios): show build details at the bottom of Settings (#208944) chore(ui): refresh control ui locales (#208937) fix: goals stop after native child-result handoffs (#193024) fix(ui): show current tool actions in collapsed chat activity (#208925) improve(ios): put About last in Settings (#208928) test(memory-wiki): generate human-note preservation regressions (#208921) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Adaptive CI scoring computes every supported feature for each file even when the model does not reference it. The current model uses path-token overlap only, so scans of prior dependency lists cannot change any score.
User Impact
The observation pilot avoids unused scoring work. Ranking rows, unknown reasons, and input/model hashes are preserved. This does not change test selection or execution.
Why This Change Was Made
Use the feature set already collected during model validation to gate extraction. All supported features remain available when a model references them, including the existing missing-dependency behavior. The work-count regression uses a fixture-local counter so it stays in the fast test lane.
Evidence
Acceptance was recorded in this draft before the first run: on 800 files, 512 dependency paths per file, and 64 changed paths, dependency searches must fall to zero with identical rows and input/model hashes. Five interleaved baseline/candidate samples use fresh Node processes. A 20% median or p95 regression requires investigation.
Run the fixed workload with
node scripts/perf/ci-adaptive-scoring-measure.mjs. The instrumented scoring-function results were:All ten samples had identical ranking and input/model hashes. These timings exclude process startup and do not establish whole-workflow time or cost savings.