fix(diagnostics): trust internal trace parents (#71574)

* fix(diagnostics): trust internal trace parents

* fix(diagnostics): harden trusted trace metadata

* fix(tooling): honor explicit oxlint threads

* fix(agents): use stable nonmutating sort helpers

* chore(plugin-sdk): refresh api baseline

* fix(diagnostics): gate internal event subscriptions

* fix(diagnostics): isolate listener event copies

* chore(plugin-sdk): refresh internal diagnostics baseline

* chore(plugin-sdk): refresh diagnostics event baseline

* fix(diagnostics): keep event state module local

* fix(diagnostics): harden internal subscription capability

* fix(diagnostics): freeze listener metadata
This commit is contained in:
Vincent Koc
2026-04-25 10:18:52 -07:00
committed by GitHub
parent 8e7d382c37
commit dcdf97685b
21 changed files with 555 additions and 94 deletions

View File

@@ -251,6 +251,19 @@ describe("local-heavy-check-runtime", () => {
]);
});
it("honors an explicit oxlint thread count", () => {
const { args } = applyLocalOxlintPolicy(["--threads=8"], makeEnv(), ROOMY_HOST);
expect(args).toEqual([
"--threads=8",
"--type-aware",
"--tsconfig",
"tsconfig.oxlint.json",
"--report-unused-disable-directives-severity",
"error",
]);
});
it("allows forcing full-speed oxlint runs on roomy hosts", () => {
const { args } = applyLocalOxlintPolicy(
[],