refactor(coding-agent): deferred startup parsing and schema compilation

- Wrapped security contract schemas in a lazy initializer with jitless scopes to eliminate startup JIT compilation tax.
- Enabled jitless scope configuration in auth-broker wire schemas to skip definition-time codegen.
- Deferred startup changelog parsing to overlap with interactive session creation.
This commit is contained in:
can1357
2026-08-03 16:29:53 +02:00
parent 455493dfad
commit fc04aa6fa7
9 changed files with 232 additions and 304 deletions
+1 -4
View File
@@ -111,7 +111,6 @@ const nativeAndIntegrationPackages = [
// and is outside every CI TS bucket.
const localOnlyWorkspacePackages = ["packages/mnemopi", "python/robomp/web"];
const codingAgentNativePathPatterns = [
/(^|\/)[^/]*(bash|native|browser|cmux|mnemopi|hindsight|memory)[^/]*\.test\.ts$/i,
/^test\/[^/]*(ask|gh|irc|task|eval|search|read|write|edit|ast|resolve|sqlite|web-search|fetch|image|ssh|tool)[^/]*\.test\.ts$/,
@@ -326,9 +325,7 @@ async function codingAgentTestCommands(bucket: CodingAgentBucket): Promise<TestC
async function commandsForMode(mode: Mode): Promise<TestCommand[]> {
switch (mode) {
case "workspace":
return [
...fastWorkspacePackages.map(pkg => workspaceTestCommand(pkg, 8)),
];
return fastWorkspacePackages.map(pkg => workspaceTestCommand(pkg, 8));
case "native":
return nativeAndIntegrationPackages.map(pkg => workspaceTestCommand(pkg, 4, { smol: true }));
case "coding-agent-singleton":