358 Commits
Author SHA1 Message Date
Oke Iyanuoluwa EnochandYsopwnable 21cfc809bc ci(windows): run the caller path separator regression in the Windows lane (#4988)
test(ci): keep the separator regression in the Windows-only lane guard

Fold windowsTargetSeparators.test.ts into the existing guard for
Windows-only cases instead of a separate test with the same reason.

Co-authored-by: Ysopwnable <161784452+N0zoM1z0@users.noreply.github.com>
2026-11-28 23:49:35 +08:00
gensokyo-devandgensokyo-dev 2dcdacce92 fix(ci): accept a skipped selection the macOS lane runs
A selection whose every module is gated to macOS, such as a change to only
tests/acceptance/applications/nativePlistNesting.test.ts, can only report
skipped modules on Linux, and the portable report then failed with 'Every
portable test module was skipped' although the macOS lane ran the tests.

The report now accepts an entirely skipped selection when the plan selected
the macOS lane and every reported module is gated to macOS by the same
isDarwinGatedTestSource rule that the macOS lane uses to discover its
tests. The summary says so. Any other entirely skipped selection, and an
entirely skipped complete suite, still fail.

Fixes #14596

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-28 23:31:40 +08:00
0c7ebd68c4 ci(mutation): run four Stryker workers on the sweep's 4-vCPU runner (#15001)
Stryker divides concurrency between TypeScript checkers and test runners,
so the configurations' concurrency of 2 ran one checker and one test
runner. The reverse-tools sweep reached 884 of 1034 mutants before its
90-minute budget and has not completed since 2026-11-14. On four pinned
cores, a reverse-tools subset (167 mutants) took 1642 s at 2 and 801 s at
4, with identical outcomes. The workflow now passes --concurrency 4; the
configurations keep 2 for shared local machines.

Co-authored-by: gensokyo-dev <gensokyo-dev@users.noreply.github.com>
Co-authored-by: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-28 18:58:43 +08:00
gensokyo-devandgensokyo-dev b5460632c9 ci: run Knip in the build job on every code change
Knip ran only in the full-tier deep static job, so pull requests merged
with unused exports and the next scheduled run failed; 3 of the last 12
scheduled CI runs on main failed only on Knip. It needs the built workers
that package imports name, so it now runs in the build job after
test:prepare, where it adds the Knip run itself (about 20 s cold) to a
job every code change already runs. Its cache steps move with it and the
deep job no longer repeats it.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-28 18:47:05 +08:00
Vincent Koc b3cb15bfec perf(ci): narrow the CodeQL selector checkout (#14940) 2026-11-28 06:46:48 +08:00
Vincent Koc 1d056364b1 ci(deps): update the CodeQL action to 4.39.5 (#14926) 2026-11-28 03:45:42 +08:00
jeromeskiiiandmorluto 3273cbd1e2 fix(mutation): unblock the daily mutation sweep (#14748)
* fix(mutation): include every mutated file in the mutation project

Stryker's typescript-checker watches the files the mutation project
includes. A mutated file the project leaves out has no watcher, and the
sweep aborts with "no watcher is registered for it" before it reports a
score. The semantics suite mutates src/rizin/RizinDebugFrames.ts and
src/rizin/RizinDebugEvidence.ts, and the reverse-tools suite mutates
src/domain/analysisResourceLimits.ts; none of the three was in
tsconfig.reverse-tools-mutation.json, so the daily mutation sweep failed
before it produced a report.

Add the three files to the project. Add scripts/verify/mutation-target-tsconfig.mjs,
which reads the resolved mutation targets from both configurations and
fails when the project does not cover them or lists a file the repository
no longer has. The guard runs in the deep static lane and before the
sweep, so the drift is reported by name instead of as a checker
abort.

* fix(mutation): give the reverse-tools sweep the time it needs

The reverse-tools suite reached 805 of 1008 mutants after 57 minutes of
mutation testing on the 2026-11-26 scheduled run and was killed by the
60-minute job budget before it could report a score. The suite needs
about 70 minutes of mutation testing plus the setup it runs before it.

Raise the job budget to 90 minutes so the sweep reports instead of
being cancelled. The budget is the only change; the suite and its
mutant set are untouched.

* fix(ci): select mutation quality for debugger limit changes

---------

Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-27 19:13:03 +00:00
Vincent Koc e7c203a5d9 perf(ci): skip unused test runtime uploads (#14903) 2026-11-27 22:17:25 +08:00
Vincent Koc f89480536d perf(ci): run the Windows typecheck once per matrix (#14875) 2026-11-27 18:13:53 +08:00
1a09a8ef46 fix(ci): bound packet capture prerequisite acquisition (#14716)
* fix(ci): bound packet capture prerequisite acquisition

* test(ci): enforce packet capture prerequisite order

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-27 11:36:53 +08:00
Vincent Koc 39d3dbaac5 perf(ci): run architecture guards once in full qualification (#14812) 2026-11-27 00:49:12 +00:00
2SinceJulyandVincent Koc 2bb086c87a feat(providers): retain native selection provenance in Evidence (#9668)
* feat(providers): retain provider selection provenance with session evidence

The registry records how a deep provider became selected and why every other candidate was rejected, and binary_session exposes those facts for the active route. Evidence already carried provider identity, but nothing recorded which candidates the session evaluated, so a retained record could not explain why this engine produced the observation or what the alternatives were.

Attach provider_selection to Evidence admitted by the session: the selection source and, for each evaluated candidate, its identity and version, selection state, availability and target-support outcome, and the stable rejection codes. The field is optional and excluded from semantic identity, following caller_input_path, so each admitted record stays attributable to the exact provider instance without changing observation identity, evidence IDs or replay.

Copy only stable selection facts. Candidate diagnostics, remediation prose and target content stay in the session status projection instead of being repeated in every record.

* style(domain): reformat the provider-selection assertion

oxfmt --check rejected the three-line expect() call; the formatter's
single-line layout is the canonical one, so Static checks failed only
on formatting.

* fix(evidence): keep a rejected record inside the Result boundary

`recordEvidence` ran `withEvidenceProviderSelection` before handing the record
to the ledger. That helper parses to seal the rebound envelope, so a tampered or
otherwise invalid record threw a `ZodError` from the attribution step and never
reached `EvidenceLedger.record`, which is where the declared `Result` is
produced. `tests/boundary/mcp/processEvidenceIdentityMcp.test.ts:454` asserts
`session.recordEvidence(tampered).ok === false` and fails on the throw.

Authenticate the input first and return the ledger's own rejection for a value
it would refuse anyway; attribution then only ever sees a record its reader
accepts.

* fix(binary): attribute imported records to the recording session

Import replaces a same-ID record's presentation metadata, and
provider_selection is part of that metadata. When runDirectAnalysis imports
the provider's own bundle, the copy it rebuilds carries no selection, so the
import erased the attribution the session had stamped and the caller kept an
unattributed record instead. Attribute at both merge sites, where the session
already authenticates everything it admits.

A refreshed route after a failed switch can bind a different selection than
the one the earlier binding held, so re-derive it there as the initial open
does; spreading the previous binding kept the stale value.

* fix(binary): admit record input before sealing it for attribution

recordEvidence and the two bundle import paths seal Evidence through
withEvidenceProviderSelection before handing it to the ledger. A sealed
value skips the ledger's ordinary-JSON and heap-headroom admission, so a
session with no authentication allowance accepted a mutable record and a
large record was copied and traversed before the guard ran.

Hold the caller's own value to that admission first, then attribute. The
import paths also refuse with a Result instead of falling through to an
unattributed import when admission fails.

* fix(binary): re-attribute a sealed record without traversing it again

recordEvidence now admits the caller's value before attributing it, but a
record returned by evidenceForAnalysis has already been through that
admission and is sealed. Running the ordinary-JSON walk and the
heap-headroom check over it again repeats the work the ledger itself
skips for a sealed value.

Ask the ledger first: a value it holds is the admission it made, so the
check costs one lookup. Only a value the ledger has not seen pays for the
full walk.

* fix(providers): return the recorded Evidence after import

Import re-stamps session provenance onto the Evidence it records, but callers kept the pre-import copy, so retained selection attribution and cache metadata were dropped from what analysis reported. Read the recorded record back after a successful import, and leave an already-retained record as the ledger attributed it instead of re-deriving attribution from the caller's copy.

* fix(providers): keep the caller's copy when re-attributing an imported record

The merge with main brought in the unchanged-record path, where an import whose only change is display metadata now replaces the ledger's record. Re-attributing that incoming value put the session's provider selection on the caller's copy, so the import reported a record that differed from what the caller sent. Attribution now applies only to records the ledger does not already hold.

The snapshot cache test now asserts the session's attribution explicitly instead of byte equality with the un-attributed source.

* fix(providers): keep the caller's record when importing over a retained one

The previous change skipped attribution for a record the ledger already held, which left the imported copy's own selection — missing or from another session — in place. Import replaces a same-ID record's presentation metadata, and provider_selection is part of it, so the session's attribution wins over the caller's copy while the caller's other display metadata is kept untouched.

* fix(providers): attribute staged snapshot and unknown-mutation Evidence

Address the open review findings on session provider provenance:

- importAnalysisSnapshot merged the re-attributed bundle into the ledger but
  staged the snapshot's own bundle, so AnalysisSnapshotCache rebuilt replay
  bindings from records the merge had replaced. Hand the merged bundle back
  to the stage so replays bind to the attributed evidence.
- recordResult recorded an attributed record and then serialized the
  caller's copy, so successful MCP responses omitted provider_selection
  while the ledger and exports carried it. Read the recorded Evidence back
  before delivery, as the direct analysis path already does.
- recordUnknown and updateUnknown synthesized unknown-mutation Evidence
  without the active session's provider selection, so those exported
  records were unattributed. Thread the binding's selection through to
  unknownMutationEvidence, which is where the record is produced.

* fix(providers): attribute the atomic Evidence-and-Unknown mutation record

recordEvidenceWithUnknown synthesizes its own rea.residual-unknown-mutation record, so the selection the session threads into recordUnknown and updateUnknown never reached it. The atomic comparison workflows therefore exported one record without provider_selection, contradicting the guarantee that every admitted record carries the recording session's selection. Thread the active binding through the atomic method as well; analyst-authored mutation records still keep analyst-inference authority and gain only the session selection.

* fix(evidence): require one selected candidate in provider provenance

provider_selection carries no separate selected-provider id, so a reader can only name the recording session's provider when exactly one candidate claims the selection. The schema accepted any candidates array, so an imported bundle could re-export zero or several selected candidates under a stable Evidence id and consumers would have no way to resolve the provider.

The recording paths always derive the selection from a single bound provider (AnalysisProviderRegistry selects one usable candidate, and SessionProviderRouter marks only the bound id selected), so the refine rejects only foreign input.

* fix(evidence): adopt the recording session's selection on a duplicate record

Recording an observation the ledger already holds under the same semantic ID
returned duplicate and discarded the attributed object, so lookup and export
kept the imported record's missing or foreign provider_selection. Replace the
retained display metadata with the active selection on that path; semantic
identity and the stored payload stay the same record.

The provenance schema also accepted a selected candidate that is unavailable
or unsupported, which no registry path can bind. Require the selected
candidate to be available and supported so an imported bundle cannot
re-export a selection that never occurred.

* fix(evidence): keep retained display metadata and notify observers on duplicate

Attribution replaced the whole stored record with the incoming copy, so a
provider-produced duplicate without the caller-selected path, alias set or
subject display erased the metadata the recording session retained merely to
add provider_selection. Adopt only the display facts the incoming copy actually
carries; omission is not deletion. Import keeps its documented replace
semantics.

The duplicate branch also returned before refreshEvidenceMetadata and
#emitSnapshotChanged, so replay caches and snapshot subscribers kept the old
metadata after a successful replacement. Treat a non-no-op replacement exactly
as the import path does.

* fix(artifacts): compare Evidence by identity across a replay session

The composed-workflow test opened a second fixture, which writes its own
temp artifact, so a replay record's subject path and the session-attributed
provider selection no longer matched the snapshot copy. Both are display
metadata outside the Evidence id; the provider call is what establishes
the binding here, so compare the content the id commits to and assert the
ids separately, which the test already does.

Also apply the formatter to BinarySessionInvestigation.test.ts, which
fails format:check on its own.

* fix(server): deliver the retained copy that carries the session selection

Recording stamps the active session's provider selection onto the ledger copy
of a semantic ID. The tools that build or project their own Evidence value
then delivered that unattributed copy, so the MCP response and the snapshot
export disagreed for the same evidence_id: Ghidra reference and evidence
flows, composed workflow overviews, analysis functions and the process
capture tools all failed deep-equality against the retained record.

Hand the delivered copy the session's selection when the ID is retained.
Other retained display metadata, such as a caller path carried by an
imported record, stays as the caller built it.

* test(investigation): keep the session test within its lint and format limits

Two checks on this branch failed for reasons the branch itself introduced:

format:check wants the withEvidenceProviderSelection call in
UnknownEvidence.ts wrapped at its argument list, which the branch's
edit moved off.

lint reports max-lines-per-function (152 lines, limit 150) for the
"reobserves resource-scoped ..." case after the branch expanded two
assertions in it. The provider-selection expectation is a fixed value,
so it moves to a module-level constant and the case drops back under
the limit without weakening either assertion.

* fix(server): carry the session selection on the workflow copy delivered

Commit 76d14ff9f stamped the delivered copy with the retained session
selection by patching registerEnhancedTools and registerEvidenceTools.
Upstream #11617 replaced both with the shared contract bindings, so the
merge dropped the stamp and the composed-workflow tools delivered an
unattributed copy again: workflowSnapshotReplayMcp compares the live
binary_overview response against the replayed Evidence and saw 19 fields
against 18.

Stamp at createAnalysisToolHandler, where every analysis workflow's
Evidence leaves for delivery, using the retention lookup already passed
in. A call whose ID is not retained, or whose record carries no
selection, is delivered unchanged.

* chore(schemas): record the provider_selection evidence schema digest

Adding provider_selection to the shared Evidence schema changes the output
compact schema of every tool that returns Evidence, so Build package
rejects 211 stale advertised catalog summaries. The summaries were
refreshed by running npm run verify:advertised-schemas -- --update-summary;
each file changes only its output compact digest.

* test(mcp): assert retained provider attribution instead of producer identity

Recording now stamps the session's provider selection onto retained Evidence,
so a producer-built copy and the retained record share every semantic member
but differ in provider_selection. Replace raw object identity/equality
assertions with display-metadata agreement plus a selection-neutral deep
comparison, and deliver the retained selection from contract tools so callers
do not receive an unattributed copy of the same evidence_id.

Verified: tests/boundary/mcp (345 files, 2289 passed / 12 skipped after
generating .cache/mcp-tool-catalog.json); npx tsc --noEmit exit 0.

* test(mcp): share the selection-neutral comparison across provenance assertions

Seven sites repeated the same spread-and-mask expression, which pushed the
test past the 150-line function limit and failed Static checks. Move it into a
withoutSelection helper that drops the session's provider_selection stamp and
compare both sides through it.

Verified: npm run check:fast (typecheck, lint, architecture guards);
the six boundary files CI reported, 37 passed.

* test(mcp): fold repeated retention checks into one helper

Static checks failed on format:check for three files and then on
max-lines-per-function after oxfmt re-wrapped the assertions. Run oxfmt on
the three files and replace the repeated selection-neutral comparisons with
an expectRetained helper so the test stays under the 150-line limit.

Verified: npm run check:fast (typecheck, lint, architecture guards);
npm run format:check; the six boundary files CI reported, 37 passed.

* test(snapshot): compare retained records without the session selection stamp

The same attribution change makes a fixture-built record differ from the
retained one by provider_selection alone, so the equality assertion failed in
both the portable and sharded lanes. Mask the stamp and keep every semantic
member under strict comparison.

Verified: npx vitest run tests/boundary/filesystem/analysisSnapshotProvenance.test.ts,
2 passed; npm run lint (0 errors); oxfmt --check.

* chore(schemas): record the provider_selection output digest on five tools

The session_provider_facts binding gained a .describe() explaining that the
selection source and candidate outcomes are retained with each admitted
Evidence record. That text is part of the advertised output schema, so every
tool whose output embeds the binding has a new compact digest.

Regenerate the committed catalog summaries with
npm run verify:advertised-schemas -- --update-summary. Only the five output
compact hashes change; no tool's shape or pattern changes.

* fix(evidence): keep a retained record's caller-selected path when adopting metadata

adoptEvidenceDisplayMetadata let a later copy's caller_input_path overwrite the value already held under the same semantic id, so a second selection through a different alias rewrote the display path the first selection recorded. Prefer the retained value and take the incoming one only as a fact the retained record lacks.

* fix(evidence): stamp the session provider selection on summarized delivery

Recording stamps the active session's provider_selection onto the retained
record under the same Evidence id. The summary delivery path re-admitted
the summarized copy without that stamp, so a caller reading a summarized
result saw no provider_selection while the retained record carried one, and
the response and the retained view disagreed for a single id. Pass the
retention lookup to deliverEvidenceResult on both the analyze_function and
external-mutation summary paths so the delivered copy carries the same stamp.

* chore(schemas): refresh UEFI tool summaries for the Evidence schema change

main added the UEFI inspection and extraction tools after this branch
regenerated the advertised catalog summaries, so their output compact
digest still recorded the pre-provider_selection value. Regenerate them
so the shared Evidence schema digest matches the branch.

* test(investigation): compare borrowed records without the selection stamp

Importing a sealed bundle stamps the session's provider_selection onto every retained record, so a borrowed record no longer shares object identity with the caller's unstamped bundle record. Replace the identity and equality assertions with a selection-neutral deep comparison, matching the attribution handling already applied to the snapshot and MCP provenance tests.

* fix(investigation): admit unknown mutations against their expanded Evidence

record_unknown and update_unknown check authentication headroom against the
caller's input before building the mutation Evidence. The Evidence repeats
parts of the input (for example the question in both parameters and the
normalized result), so with live headroom that admits the input but not the
larger record, the operation authenticated and sealed a representation past
the stated bound. #readEvidence skips the admission for immutable records, so
nothing downstream re-checked it.

Charge the derived Evidence's authentication cost in addition to the input
before sealing it, across the record, atomic record-with-unknown and update
paths. The regression test finds an allowance between the two sizes and
asserts the operation is refused with no Evidence recorded.

* chore(schemas): refresh advertised summaries after the provider-selection change

The advertised-schema catalog digests still described the pre-change input
schemas, so the Build package lane failed with 28 missing or stale summary
files and skipped every lane downstream of it. Regenerate the summaries with
npm run verify:advertised-schemas -- --update-summary.

* test(deno): damage Deno PE resource framing at the directory entry

The fixed-allowance case shrank the language directory Size to make the
65,535-row table malformed, but #14253 now walks resource trees at their
RVA whatever Size declares, so the table stayed well-formed and the run
reported the entry allowance (truncated/limit) instead of malformed
framing (unsupported_target/malformed). Point the type directory's entry
at a language directory outside the file-backed resource bytes, whose
header cannot be read. This mirrors the fix already on main (271bad782).

* fix(evidence): preserve source provenance and admit before copying

* fix(providers): scope selection provenance to native executions

* fix(providers): carry native provenance through workflow projections

* fix(providers): retain selection on shared session limitations

* fix(providers): preserve provenance during source recovery

* test(contracts): refresh combined Android reference schema

* fix(evidence): admit provider metadata before copying observations

* fix(evidence): recover completed calls after context refusal

* test(contracts): format merged call path schema summary

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-27 01:25:26 +08:00
gensokyo-devandgensokyo-dev f781e31091 ci: fit the binary layout toolchain download into three attempts
Each hosted APT download attempt now has its own deadline, so the
900-second budget would let three attempts outlast the 25-minute job.
Give each attempt 360 seconds: a resumed second attempt still covers the
slowest observed cold download (657 seconds), and the test asserts that
three attempts leave the job five minutes to build and verify fixtures.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-26 22:53:06 +08:00
gensokyo-devandgensokyo-dev 1919f7ef67 ci: retry transient failures of pinned release downloads
curl --retry covers only timeouts and a few HTTP statuses, so a
connection reset mid-transfer failed the Ghidra SDK acquisition outright.
Retry every transient error for the pinned downloads, as the web network
capture lane already does; each archive is still checked against its
pinned SHA-256 before use.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-26 22:53:06 +08:00
gensokyo-devandgensokyo-dev d87c365950 ci: resume hosted APT package downloads across bounded attempts
A slow archive connection can still be progressing when the single
download deadline expires, failing the Windows native controls lane
while MinGW archives were mid-transfer. Download within three bounded
attempts instead; APT keeps completed archives and resumes partial ones,
so a later attempt reconnects and continues. Installation still runs
only from the local cache after a successful download.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-26 22:53:06 +08:00
Vincent Koc 0410571266 build(deps): update the pinned npm toolchain to 11.21.3 (#14692) 2026-11-26 18:05:17 +08:00
Vincent Koc 8d302d2dad fix(ci): include the cache retention helper dependency (#14689) 2026-11-26 09:07:14 +00:00
Vincent Koc d0de59653f perf(ci): check out only the cache retention inputs (#14677) 2026-11-26 07:22:00 +00:00
morluto 8d31a29daa ci(apple): give the macOS lane room for the discovered macOS-gated tests
The discovered macOS-gated tests take about 7.5 minutes on macos-15, on
top of a 10-15 minute lane.
2026-11-25 11:45:20 -05:00
morluto fa2776d065 ci(apple): discover and run every macOS-gated test on macOS
Tests gated with skipIf/runIf to macOS never ran on the Linux lanes and
only ran on macOS when hand-picked, so they went stale. A small owned
script parses each tracked test with @babel/parser and evaluates its
skipIf/runIf conditions (and platform-conditional for/each case lists)
for linux and darwin with three-valued logic, listing the tests that
are skipped on Linux and may run on macOS. The apple-artifacts job runs
all of them; the hand-picked step keeps only the ungated tests.
2026-11-25 11:18:45 -05:00
Vincent Koc e2c092613c perf(ci): limit classifier checkouts to inputs used by the tier (#14546) 2026-11-25 15:06:43 +00:00
Vincent Koc f148353ff1 perf(ci): reuse collected job lists for failure reports (#14537) 2026-11-25 14:46:46 +00:00
Vincent Koc d8da811b5c perf(ci): fail before report setup when no test group ran (#14483) 2026-11-25 10:29:55 +00:00
Vincent Koc a0390ba877 perf(ci): skip timing downloads for single-test selections (#14477) 2026-11-25 09:57:22 +00:00
Vincent Koc 079f426eb5 perf(ci): skip ancestor lookup for reused scheduled runs (#14431) 2026-11-25 07:54:06 +00:00
Vincent Koc 8e4c1c5f8d perf(ci): narrow cache retention checkouts (#14402) 2026-11-25 00:42:43 +00:00
morluto 42bbf33f2d fix(ci): preserve CodeQL PR checkout history and exclude non-shipped verifiers (#14385)
* fix(ci): preserve CodeQL PR checkout history and exclude non-shipped verifiers

* test(ci): verify planCodeqlLanguages excludes non-shipped verifiers
2026-11-24 17:51:18 +00:00
Vincent Koc 79efc75a11 perf(ci): check out only timing reporter inputs (#14378)
* perf(ci): check out only timing reporter inputs

* test(ci): pin the timing reporter sparse checkout inputs
2026-11-24 17:48:33 +00:00
Vincent Koc 5ef6cd89b5 perf(ci): narrow pull request classifier checkouts to traced inputs (#14376) 2026-11-24 17:39:46 +00:00
morluto c718143643 perf(ci): warm caches on main push and run scheduled fast main sweeps (#14383)
* perf(ci): warm caches on main push and run scheduled fast main sweeps

* fix(ci): preserve checkout history and fail-closed baseline/sweep gates
2026-11-24 12:11:44 -05:00
morluto 14b916795c perf(ci): run scheduled full qualification every six hours (#14374) 2026-11-24 11:52:44 -05:00
3015c13bcd fix(ci): make Windows native artifact uploads retryable (#14362)
* fix(ci): make Windows native artifact uploads retryable

* test(ci): type action fields at the workflow boundary

* fix(ci): verify Windows fixtures before replacing uploads

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-24 11:48:33 -05:00
d15068e2b4 fix(ci): keep static diagnostics for each workflow attempt (#14360)
* fix(ci): keep static diagnostics for each workflow attempt

* test(ci): verify artifact retrieval for static-check retries

* docs(ci): explain static diagnostic names on reruns

---------

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
Co-authored-by: ShuaixinHuang <197200901+ShuaixinHuang@users.noreply.github.com>
2026-11-24 11:48:28 -05:00
ShuaixinHuangandShuaixinHuang 5095e12059 fix(ci): refresh health diagnostics on workflow retries (#14349)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
2026-11-24 11:48:17 -05:00
Vincent Koc 62b5d27638 perf(ci): limit push and qualification classifier checkouts to scripts (#14341)
* perf(ci): limit qualification classifier checkout to scripts

* perf(ci): retain push ancestry without checking out test sources
2026-11-24 10:42:03 +00:00
Vincent Koc 7e16cb3600 perf(ci): skip the portable report runner for non-code changes (#14333) 2026-11-24 10:20:52 +00:00
Vincent Koc 30fe9d9f42 perf(ci): omit development tools from failure reporting (#14332) 2026-11-24 10:04:43 +00:00
3075064d69 ci(deps): upgrade setup-node to 7.1.0 and preserve explicit npm cache policy (#8133)
* chore(deps): bump actions/setup-node from 4.4.0 to 7.1.0

Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.4.0 to 7.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.4.0...949feb2413d6458794dcd2491c4babbbce0c15c1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci: record affected-test predictions above the live cutoff (#14300)

* ci: compare frozen selections with observed test failures (#14301)

* chore(deps): bump markdownify from 1.2.3 to 1.2.4 in /website (#14227)

Bumps [markdownify](https://github.com/matthewwithanm/python-markdownify) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/matthewwithanm/python-markdownify/releases)
- [Commits](https://github.com/matthewwithanm/python-markdownify/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: markdownify
  dependency-version: 1.2.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump rcssmin from 1.2.2 to 1.3.0 in /website (#14229)

Bumps [rcssmin](https://github.com/ndparker/rcssmin) from 1.2.2 to 1.3.0.
- [Changelog](https://github.com/ndparker/rcssmin/blob/master/CHANGES)
- [Commits](https://github.com/ndparker/rcssmin/compare/1.2.2...1.3.0)

---
updated-dependencies:
- dependency-name: rcssmin
  dependency-version: 1.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix(ci): retry recorded crash dependency acquisition without stale index cache (#14076)

Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>

* ci: publish the portable build cache only for selected consumers (#14307)

* ci: run the verified actionlint release binary (#14309)

* chore(deps): bump pyyaml from 6.0.3 to 6.0.4 in /website (#14228)

Bumps [pyyaml](https://github.com/yaml/pyyaml) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/6.0.4/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/6.0.3...6.0.4)

---
updated-dependencies:
- dependency-name: pyyaml
  dependency-version: 6.0.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* test(ci): narrow workflow steps at the cache policy boundary

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
Co-authored-by: ShuaixinHuang <1836656514@qq.com>
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
2026-11-24 17:58:42 +08:00
dependabot[bot]andVincent Koc d957d43ec1 ci(deps): upgrade Pages, artifact transfers and cache actions together (#8128)
* chore(deps): bump actions/deploy-pages from 4.0.5 to 5.0.1

Bumps [actions/deploy-pages](https://github.com/actions/deploy-pages) from 4.0.5 to 5.0.1.
- [Release notes](https://github.com/actions/deploy-pages/releases)
- [Commits](https://github.com/actions/deploy-pages/compare/d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e...368f82528645a54fb793d4d04e342629a3f51346)

---
updated-dependencies:
- dependency-name: actions/deploy-pages
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* ci(deps): upgrade artifact transfers and cache actions together

* style(ci): format cache action policy assertion

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-11-24 17:46:13 +08:00
Vincent Koc 1e1db9e342 perf(ci): reuse installed website rendering packages (#14337) 2026-11-24 09:43:52 +00:00
Vincent Koc b73cc58925 ci: shallow-checkout the classifier for qualification runs (#14312) 2026-11-24 08:53:46 +00:00
Vincent Koc 21facfdeac ci: run the verified actionlint release binary (#14309) 2026-11-24 08:38:48 +00:00
Vincent Koc 2b818e0dbf ci: publish the portable build cache only for selected consumers (#14307) 2026-11-24 08:34:30 +00:00
ShuaixinHuangandShuaixinHuang 98beb5424a fix(ci): retry recorded crash dependency acquisition without stale index cache (#14076)
Co-authored-by: ShuaixinHuang <ShuaixinHuang@users.noreply.github.com>
2026-11-24 16:26:58 +08:00
Vincent Koc 54f6fd4f90 ci: compare frozen selections with observed test failures (#14301) 2026-11-24 08:11:10 +00:00
Vincent Koc e6bf4af1c9 ci: record affected-test predictions above the live cutoff (#14300) 2026-11-24 07:53:03 +00:00
Vincent Koc b8dd2c47d4 ci: wait for static checks before broad PR test shards (#14299)
* ci: validate workflow anchors with actionlint 1.7.12

* ci: wait for static checks before broad PR test shards
2026-11-24 15:38:56 +08:00
Vincent Koc f9195263d0 ci: validate workflow anchors with actionlint 1.7.12 (#14298) 2026-11-24 07:38:34 +00:00
a92d502472 docs(github): require reported verification and factual docs in PR template (#14130)
* docs(github): require reported verification and factual docs in PR template

Record the maintainer checks for running needed validation, limiting
comments to constraints and decisions, and keeping documentation factual.
Mirror that guidance in AGENTS.md where it was not already stated.

* docs(github): assign the PR checklist to the author

Rename Before merge so the PR author completes it before requesting
review, and point the draft-PR note at that section.

* docs(github): confirm root cause and engineering rules on PRs

Add a few author-checklist items for the root cause, owning-boundary
interpretation, retained cleanup facts, and REA_ limit settings.

* docs(github): attest engineering rules in the PR template only

Restore AGENTS.md to main and phrase the new author-checklist items
as author attestations, including hardcoded limits rather than every limit.

Co-authored-by: morluto <morluto@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: morluto <morluto@users.noreply.github.com>
2026-11-23 12:43:44 -05:00
morluto 313f2f8372 fix(ci): run type-aware lint on changed files in fast PRs (#14068) 2026-11-23 12:57:36 +00:00