Skip to content

Add fast authored JavaScript analysis with reviewed API summaries - #70029

Merged
pelikhan merged 5 commits into
mainfrom
pelikhan-javascript-analysis-summaries
Oct 18, 2026
Merged

pelikhan merged 5 commits into
mainfrom
pelikhan-javascript-analysis-summaries

Conversation

@pelikhan

@pelikhan pelikhan commented Oct 18, 2026 •

Copy link
Copy Markdown
Collaborator

Why

JavaScript secret-flow analysis becomes prohibitively expensive when every lint pass traverses generated workflow runtime code. Analyze user-authored scripts directly and reuse reviewed API transfer summaries instead, without weakening the existing compiled shell/job/output checks or treating incomplete coverage as safety.

Approach

  • Default explicitly configured native JavaScript analysis to fast. Batch and deduplicate authored entry sources across documents, cache native ASTs and per-source syntax failures, and bound each batch to 64 sources / 2 MiB.
  • Add a versioned, reviewed API catalog for masking/escaping, OTLP credentials, Git authentication environment construction, and error helpers. Use summaries only for explicitly mapped runtime sources, verifying the exact resolved file, source hashes, and transitive dependency hashes. Ordinary repository modules traverse normally, regardless of their path. Preserve callback effects and runtime-global identity; masking does not declassify subsequent disclosure.
  • Discover executable schema locations rather than arbitrary properties named script: steps/post-steps, custom jobs, safe-outputs.jobs, safe-output handlers, MCP JavaScript/Bash tools, graders, memory validators, engine drivers, harnesses, log parsers, and MCP configuration adapters. Preserve sandbox, environment, payload-encoding, and return-output contracts, including shared MCP environments and literal file-driver contents.
  • Keep AST priming best-effort and workflow loading streaming. Preserve the established nonfatal companion-Markdown parsing contract while surfacing direct-input and companion-read failures.
  • Add regressions, batching/summary benchmarks, documentation, and a minor changeset. Add native JavaScript CI coverage that installs the pinned compiler so the analysis tests execute instead of being skipped.

ADR: ADR-70029: Fast Authored JavaScript Analysis with Reviewed, Hash-Verified API Summaries

Behavior and limits

Native JavaScript analysis remains opt-in through --javascript-module. --javascript-mode deep retains runtime traversal; an unset Go API mode preserves existing deep behavior. Fast mode explicitly reports excluded generated/cross-job JavaScript flows. Unsupported languages, unreviewed or changed runtime APIs, unavailable inputs, and unresolved callback/coercion effects remain visible coverage warnings, not assumed-safe results.

Validation

Passed the complete taint, AW, and workflow-lint suites; focused CLI lint, companion parsing, priming, cancellation, streaming, and model-contract regressions; impacted unit tests; build and formatting; custom and standard Go lint; schema checks; Actions workflow purity/actionlint checks; and workflow drift validation. All 345 compiled workflows remained in sync.

The first combined review gate passed its impacted tests but reported two test-assertion style findings and reached the shared host's 5-minute lint timeout. After correcting the assertions, standard Go lint completed with 0 issues using supported longer-budget overrides, and make agent-report-progress-no-test passed without repeating the impacted unit suite.

go test ./pkg/workflow/taint ./pkg/workflow/aw ./pkg/workflow/lint -count=1 -timeout=12m
go test ./pkg/cli -run '^Test(Lint|WorkflowLint|JavaScriptLint|BuiltInWorkflowLint|BuiltInThreatRulesCLI|BuiltInSourcePolicyRulesCLI|DefaultWorkflowLintCommand|LinterMinerWorkflowSubAgentModelContract)' -count=1 -timeout=5m
GOMAXPROCS=4 golangci-lint run --allow-parallel-runners --timeout=20m --concurrency=4 ./pkg/cli ./pkg/workflow/aw ./pkg/workflow/taint
make agent-report-progress-no-test

Batch native AST parsing and use reviewed, source-checked runtime API summaries. Cover authored MCP tools, safe-output jobs and handlers, graders, memory validators, and engine script hooks while preserving explicit incomplete-coverage diagnostics and deep mode.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review October 18, 2026 22:35
Copilot AI max review requested due to automatic review settings October 18, 2026 22:35
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · gpt56 · 21.5 AIC · ⌖ 5.32 AIC · ⊞ 14.6K · ◷

Generated by Ponytail Reviewer for #70029

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Commit pushed: 0aaa857

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · haiku45 · 5.02 AIC · ⌖ 7.46 AIC · ◇ 2.54 AIC · ⊞ 9.2K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

Copy link
Copy Markdown
Contributor

🏗️ Design Decision Gate — ADR Required

This PR makes significant changes to core business logic (1,638 new lines under pkg/) but does not have a linked Architecture Decision Record (ADR).

📄 Draft ADR committed: docs/adr/70029-fast-authored-javascript-analysis-with-reviewed-api-summaries.md — review and complete it before merging.

The draft records the decision to make fast the default JavaScript analysis mode in the CLI. Fast mode analyzes only authored scripts and uses the reviewed, SHA-256 and dependency-hash-verified API summaries in summaries.json instead of traversing runtime code. It also covers the 64-source / 2 MiB native batch limits and the deep opt-in mode. One alternative is marked [TODO: verify].

🔒 This PR cannot merge until an ADR is linked in the PR body.

📋 What to do next
  1. Review the draft ADR committed to your branch — it was generated from the PR diff
  2. Complete the missing sections — add context the AI couldn't infer, refine the decision rationale, and list real alternatives you considered
  3. Commit the finalized ADR to docs/adr/ on your branch
  4. Reference the ADR in this PR body by adding a line such as:

    ADR: ADR-70029: Fast Authored JavaScript Analysis with Reviewed, Hash-Verified API Summaries

Once an ADR is linked in the PR body, this gate will re-run and verify the implementation matches the decision.

❓ Why ADRs Matter

"AI made me procrastinate on key design decisions. Because refactoring was cheap, I could always say 'I'll deal with this later.' Deferring decisions corroded my ability to think clearly."

ADRs create a searchable, permanent record of why the codebase looks the way it does. Future contributors (and your future self) will thank you.

📋 Michael Nygard ADR Format Reference

An ADR must contain these four sections to be considered complete:

  • Context — What is the problem? What forces are at play?
  • Decision — What did you decide? Why?
  • Alternatives Considered — What else could have been done?
  • Consequences — What are the trade-offs (positive and negative)?

All ADRs are stored in docs/adr/ as Markdown files numbered by PR number.

🏗️ ADR gate enforced by Design Decision Gate 🏗️ · pi · opus55 · 28.6 AIC · ⌖ 35.8 AIC · ⊞ 1.9K · ◷
Comment /review to run again

@github-actions

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (pr-code-quality-reviewer)
reviewed_at: 2026-10-18T22:37:51Z
review_event: REQUEST_CHANGES
top_themes:
  - fast-mode coverage downgrade for repo modules under actions/setup/js
  - .lock.yml companion markdown parse regression
files_reviewed:
  - pkg/workflow/taint/javascript_modules.go
  - pkg/cli/lint_workflow.go
  - pkg/workflow/taint/authored_scripts.go
  - pkg/workflow/taint/workflow.go
  - pkg/workflow/aw/execution.go
comment_count: 2

Note

This comment is managed by comment memory.

Expand the saved memory block to view or edit the persistent context for this thread.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt54 · 129.5 AIC · ⌖ 6.25 AIC · ⊞ 12.7K · ◷
Comment /review to run again

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking issues in the new fast-JavaScript path: it can silently downgrade real leaks to coverage gaps, and it also makes .lock.yml lint fail because an adjacent same-basename Markdown file is ordinary docs.

### Review themes
  • Fast mode currently treats any repo module under actions/setup/js/ as a reviewed runtime helper, even when it is just authored repository code. That suppresses real traversal in exactly the namespace this feature is trying to optimize.
  • .lock.yml lint now hard-fails on an unparseable companion base.md; that turns a best-effort authored-analysis enhancement into a CI-breaking regression for repositories that colocate docs with generated lock files.
  • I reviewed this statically from the diff and targeted source reads only; I did not run the code or test suite in this review pass.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt54 · 129.5 AIC · ⌖ 6.25 AIC · ⊞ 12.7K
Comment /review to run again

Comment thread pkg/cli/lint_workflow.go Resolved

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review 🧠

Applied /tdd and /codebase-design (per pr-triage) to the high-impact files: javascript_native.go, authored_scripts.go, javascript_summaries.go, javascript_batch.go, javascript/summaries.json, lint_workflow.go.

This is a well-engineered PR: the reviewed API summary catalog's sha256 hashes for all 4 cataloged modules (actions_secret_masking.cjs, otlp_header_helpers.cjs, git_auth_env.cjs, error_helpers.cjs) independently verified correct against the real repo sources, the authoredScripts() discovery is deliberately restricted to known executable schema locations (not a recursive scan) with a clear security-conscious comment, and the test suite is comprehensive with descriptive names and clear Arrange/Act/Assert structure.

Two non-blocking findings posted inline:

📋 Key Themes
  • CI coverage gap (/tdd): nativeJavaScriptOptions skips every native-compiler test unless @typescript/native-preview is pre-installed under pkg/workflow/taint/javascript/node_modules. No CI workflow or Makefile target appears to run npm ci --prefix pkg/workflow/taint/javascript, so the new fast-mode test suite (batching, caching, summary catalog) may never execute automatically.
  • Design clarity (/codebase-design): AnalyzeAuthoredJavaScript runs a full double analysis (JS-enabled + JS-disabled baseline) and subtracts findings by set difference. This works and is tested, but a short code comment explaining why set-subtraction was chosen over single-pass attribution would help future readers, especially given this executes once per linted file in the batch-priming path.

Positive Highlights

  • ✅ sha256-verified reviewed API catalog correctly models non-declassifying effects (masking/escaping don't launder taint; unresolved callbacks are flagged as gaps rather than silently assumed safe)
  • ✅ Executable schema discovery is explicit and auditable, not a generic recursive key scan
  • ✅ Comprehensive, well-named test coverage across new files

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · sonnet50 · 193.9 AIC · ⌖ 14.1 AIC · ⊞ 10.1K
Comment /matt to run again

Comments that could not be inline-anchored

pkg/workflow/taint/javascript_test.go:20

[/tdd] nativeJavaScriptOptions silently t.Skip()s every native-compiler test (including TestJavaScriptFastPairedGraph, TestJavaScriptSummary*, TestNativeJavaScriptBatch*) unless node_modules/@typescript/native-preview is pre-installed under pkg/workflow/taint/javascript/. I couldn't find any CI workflow or Makefile target that runs npm ci --prefix pkg/workflow/taint/javascript (checked Makefile and .github/workflows/*.yml), so this entire new fast-mode test suite may nev…

pkg/workflow/taint/authored.go:88

[/codebase-design] AnalyzeAuthoredJavaScript fully re-runs AnalyzeAuthoredDocument twice per document (once with JS enabled, once as a JS-disabled baseline) just to subtract duplicate findings/gaps by set difference. AnalyzeAuthoredDocument itself already calls AnalyzeAuthoredScripts internally, so this is effectively 2x analyzer traversals plus a second AnalyzeAuthoredScripts call per document on every fast-mode lint/analyze.

<details>
<summary>💡 Why this matters / suggested fi…

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved analysis-correctness and lint-reliability issues prevent safe approval.

11 open issues
What changed in this PR

Adds an opt-in fast path for gh-aw JavaScript secret-flow analysis using authored scripts and reviewed runtime API summaries.

Changes:

  • Batch and cache native JavaScript parsing.
  • Discover executable script hooks and apply reviewed API transfer models.
  • Add mode flags, coverage warnings, regressions, benchmarks, and documentation.
File Description
pkg/​workflow/​taint/​workflow.go Selects authored analysis in fast mode.
pkg/​workflow/​taint/​taint.go Tracks literal script handling.
pkg/​workflow/​taint/​shell.go Controls Actions interpolation.
pkg/​workflow/​taint/​javascript/​summaries.json Defines reviewed API contracts.
pkg/​workflow/​taint/​javascript/​native.cjs Parses bounded source batches.
pkg/​workflow/​taint/​javascript.go Adds analysis modes and batch interfaces.
pkg/​workflow/​taint/​javascript_workflow.go Shares rendering and checks returned outputs.
pkg/​workflow/​taint/​javascript_test.go Warms parser caches for tests.
pkg/​workflow/​taint/​javascript_summaries.go Implements verified transfer summaries.
pkg/​workflow/​taint/​javascript_summaries_test.go Tests summary identity and effects.
pkg/​workflow/​taint/​javascript_native.go Batches, deduplicates, and caches parsing.
pkg/​workflow/​taint/​javascript_modules.go Routes runtime imports through summaries.
pkg/​workflow/​taint/​javascript_fast_test.go Tests fast/deep integration.
pkg/​workflow/​taint/​javascript_eval.go Validates modes and bounds summary recursion.
pkg/​workflow/​taint/​javascript_calls.go Dispatches summarized calls.
pkg/​workflow/​taint/​javascript_batch.go Primes authored source caches.
pkg/​workflow/​taint/​javascript_batch_test.go Tests batching and failure isolation.
pkg/​workflow/​taint/​authored.go Combines authored checks and removes duplicates.
pkg/​workflow/​taint/​authored_scripts.go Discovers and analyzes script hooks.
pkg/​workflow/​taint/​authored_scripts_test.go Tests hook discovery and execution boundaries.
pkg/​workflow/​aw/​execution.go Includes safe-output jobs.
pkg/​cli/​lint_workflow.go Prepares inputs and exposes coverage warnings.
pkg/​cli/​lint_javascript.go Adds JavaScript mode configuration.
pkg/​cli/​lint_javascript_test.go Tests flags and warning visibility.
pkg/​cli/​lint_javascript_batch_test.go Tests cross-document cache priming.
docs/​src/​content/​docs/​setup/​cli.md Documents modes, hooks, and limitations.
docs/​src/​content/​docs/​reference/​compilation-process.md Explains analysis architecture.
.changeset/​minor-fast-authored-javascript-analysis.md Records the minor release changes.

Review effort: Max

Comment thread pkg/cli/lint_workflow.go Resolved
Comment thread pkg/workflow/taint/authored_scripts.go Resolved
Comment thread pkg/workflow/taint/authored_scripts.go Resolved
Comment thread pkg/workflow/taint/authored_scripts.go Resolved
Comment thread pkg/cli/lint_workflow.go Resolved
Comment thread pkg/workflow/taint/authored_scripts.go Resolved
Comment thread pkg/workflow/taint/authored_scripts.go Resolved
pelikhan and others added 2 commits October 18, 2026 16:00
…nalysis-summaries

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Review the updated OTLP collector and retain environment-source and warning-callback effects for the new runner-mask API, including its masking-helper re-export. Refresh both verified source identities and add regression coverage.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot address the following outstanding work in one pass:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (pkg/workflow/taint/javascript_modules.go:41): This path-prefix shortcut drops coverage for ordinary repository code: any authored module that happens to live under actions/setup/js/ is treated as a reviewed runtime helper and fast mode refuses to traverse it unless it has a catalog entry, so real secret leaks in user code degrade into a warning-only gap. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  3. Review (pkg/cli/lint_workflow.go:153): This turns an unrelated adjacent Markdown file into a hard lint failure for an otherwise valid .lock.yml, which is a behavior regression that can break CI just because base.md is documentation instead of an AW workflow. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  4. Review (pkg/cli/lint_workflow.go:109): Treat cache priming as best-effort and propagate only caller cancellation. parseNativeBatch has its own 20-second deadline; when it expires, its context.DeadlineExceeded reaches loadErr, and runWorkflowLint returns before running any rule or writing diagnostics/JSON, even though the caller is still active. Priming also repeats document-validation errors without filenames before the runner reports them per file. Leave those failures to per-file analysis, which can parse uncached sources on demand, and abort preparation only when the caller's context is done. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  5. Review (pkg/workflow/taint/authored_scripts.go:144): Read engine.behaviors (plural), as defined by EngineDefinition.Behaviors (engine_definition.go:350). The singular key silently skips valid harnesses, log parsers, and MCP configuration adapters; paired fast mode also excludes their compiled JavaScript. Correct the collector and diagnostic paths, and update the regression fixture and CLI documentation, which currently repeat the same unsupported singular key. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  6. Review (pkg/workflow/taint/authored_scripts.go:167): Build each hook's owning environment before dispatch. These hooks receive only workflow-level bindings: inline drivers lose the enclosing engine.env, file drivers return before environment setup, and safe-output handlers omit safe-outputs.env. A secret declared only in either owning block is therefore untainted when the script logs process.env.TOKEN, although runtime supplies it through applyEngineAndAgentEnv (engine_helpers.go:197–198) or addCustomSafeOutputEnvVars (safe_outputs_env.go:235–248). Preserve those scopes and their override order for inline/file drivers and safe-outp... - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  7. Review (pkg/workflow/taint/authored_scripts.go:199): Model the shared MCP server environment rather than each tool's local env alone. collectMCPScriptsSecrets merges all tool environments in sorted tool-name order (mcp_scripts_renderer.go:24–34), and every JavaScript child inherits that environment (mcp_handler_javascript.cjs:41). If tool A declares secret TOKEN and tool B returns process.env.TOKEN, B's disclosure is missed here. Build the effective shared environment once, preserve the compiler's overwrite order, and use it for every MCP tool without reapplying a superseded local binding. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  8. Review (pkg/workflow/taint/javascript_modules.go:60): Resolve the requested file before selecting a reviewed summary. If an unreviewed extensionless actions/setup/js/error_helpers exists alongside reviewed error_helpers.cjs, Node loads the exact extensionless file, but this branch selects and hashes the .cjs file instead. The unreviewed implementation can then receive a trusted summary without a coverage gap. Let source resolution run first, then verify the exact resolved target through summaryModule; add a regression with both files present. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  9. Review (pkg/cli/lint_workflow.go:98): Avoid retaining every parsed workflow for runs that do not need JavaScript priming. This preparation loop loads all Actions graphs and companion documents into inputs, and the lint loop keeps the slice alive throughout the run—even with JavaScript disabled. Previously each file was loaded and checked separately. Peak parsed-AST memory now grows with the entire directory rather than one file. Keep ordinary linting streaming, and for fast-mode priming collect only the authored documents needed to warm the parser before loading compiled graphs per file. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  10. Review (pkg/cli/lint_workflow.go:153): Update the companion-parse failure contract along with this behavior change. TestLintInputParseFailuresPreserveOtherAST/AW (pkg/cli/lint_inputs_test.go:99–126) deliberately supplies a malformed companion and still asserts require.NoError(t, err) at line 120. This new branch makes that assertion fail, even though the compiled graph is still checked. Keep incomplete coverage visible, but update the test to expect the sanitized error while preserving the compiled diagnostic, and document the new nonzero exit behavior. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  11. Review (pkg/workflow/taint/authored_scripts.go:217): Apply the operational-value evaluator's environment allowlist before adding GH_TOKEN. safeFunctionEnv (actions/setup/js/operational_value_grader.cjs:51–57) removes arbitrary workflow variables before spawning Bash, but this branch retains them. Thus workflow env.TOKEN: ${{ secrets.TOKEN }} plus echo "$TOKEN" produces a confirmed leak error even though TOKEN is absent at runtime. Filter the bindings to that runtime allowlist and correct the entry-point regression that currently expects this false positive. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  12. Review (pkg/workflow/taint/authored_scripts.go:231): Do not Actions-interpolate repository driver files. Custom drivers run directly from the checkout (copilot_engine_execution.go:411–418), so a file containing console.log("${{ secrets.TOKEN }}") prints literal text, not a secret. Rendering it here invents a leak; valid JavaScript template text such as ${{a: 1}.a} can also cause an Actions-expression parse error and fail linting. Skip rendering when sourcePath identifies a loaded file, while retaining it for inline driver source. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  13. Review (pkg/workflow/taint/javascript_summaries.go:85): Inspect the values coerced by each summary, not just immediate callable fields. For getErrorMessage({message: {toString() { console.error(process.env.TOKEN); return "error"; }}}), the runtime calls String(error.message) (error_helpers.cjs:33). Here message has only nested fields, so the callback body contributes neither a finding nor a coverage gap. Model that coercion or explicitly report incomplete coverage, including predicates that invoke getErrorMessage, and add a nested-coercion regression. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  14. Review (pkg/workflow/taint/javascript_summaries.go:140): Read summarized modules' runtime globals independently of caller-local bindings. These helpers execute in their own CommonJS scope, but this lookup uses the caller's current lexical process. Calling getOTLPSecretValues() inside a function whose process parameter contains public headers can therefore remove the real environment's credential taint. Preserve an unshadowed runtime-global binding for summary environment reads and global.core callbacks, while retaining actual mutations to those global objects. - Add fast authored JavaScript analysis with reviewed API summaries #70029 (comment)
  15. Fix failing check impacted-go-tests (FAILURE): https://github.com/github/gh-aw/actions/runs/39175568876/job/117817486934.

Push the necessary fixes, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved. Use the pr-finisher skill and stop when only human review or CI remains; do not trigger CI.

Sous-chef head: 04b7287
Sous-chef work: 08bc535ff10ab910fbdda61014429efaf82dab0404ec372bf28ad30a5cba1403 1624f555d69fdcf76c625c5eb7b60be677fe8ee14eac86982c97c9e5c7f26082 25b90bbfe2faa47c8d08503e13fa9396e1bd7892dc3c678171961477008d1ce7 42e5d572d9d75b7168fe7d0aeda0717cc07e65ed240f6d299e6fec661214f1ac 5343ca888c6c636b62b4d01354fb8a19e232c5baf76432b8b9407e626c48c45c 54c22a70b9426f91d71095451897bdf4a41ee46b71436140e3e23415f53d74c5 5f23e083765ad197936a1ec7ce29d39b721f2b6ec24a1e2fd66aa31b127c21b3 7d38b722dc2dce0b090909b55bb898aeaa7483271bcbd0c778dc8daea4944ba3 9fb5d3912ccb04582e0e77e582252ccfe2f96201d919ea627d86edef05c04893 ac449adb524d13cab9f0fed06015b7ed6b2324b9628e369f8430a3d6f3201a33 bc6c0b4ae0c67aa273e367b12afb4606f33459463d35cc0de06322e85ec652bc e805e19d1eb3bba050f82b54261b77ff74ca1969d5c869900bcb320db6b3f656 f115a9a38b18aeff0d44963d5d9bf11c5ba4e06b08b89541924be38b8f3b57e2 f9d1d7fb3c70853c1df627064123ca7347a0dcb03b97533b115bb3d76a0a4ac0
Sous-chef state: 8a6bbceee8f367141836d24e1a8f36c5cb1d82735f99b33b9ea8f740db2cfb9c

Generated by 👨‍🍳 PR Sous Chef · pi · haiku45 · 11.1 AIC · ⌖ 6.91 AIC · ⊞ 1.1K · ◷
Comment /souschef to run again

Correct runtime summary provenance, module resolution, and runtime-global modeling. Preserve companion parsing and streaming lint behavior, and align authored hook environments with execution contracts. Add regressions, native compiler CI coverage, and finalize the ADR.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan

Copy link
Copy Markdown
Collaborator Author

In reply to #70029 (comment): Accepted the review follow-ups: added a CI job that installs the pinned native compiler and runs the JavaScript analysis regressions, and documented why the JS-disabled baseline preserves JavaScript-to-shell flows.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

In reply to #70029 (comment): No additional code change is needed for this completion notice. The module-provenance and companion-parsing findings are addressed in their individual review threads with regression coverage.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

In reply to #70029 (comment): No code change is requested by this no-action report. The fixes in this batch are validated locally rather than treating the review completion notice as evidence of correctness.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

In reply to #70029 (comment): Accepted: finalized the committed ADR, removed its draft placeholders, and linked ADR-70029 in the PR description.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

In reply to #70029 (comment): No code change is requested by this no-action report. Added focused regressions for the substantive findings and a CI job that installs the native compiler so those tests execute instead of being skipped.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

In reply to #70029 (comment): Accepted: finalized ADR-70029 with the provenance boundary, execution contracts, alternatives, and trade-offs, and linked it in the PR description. Removed the unverified alternative note and draft status.

@pelikhan

Copy link
Copy Markdown
Collaborator Author

In reply to #70029 (comment): The recorded module-provenance and companion-parsing themes are addressed in their individual threads with regression coverage. No edit to this generated comment-memory payload is needed.

@pelikhan
pelikhan merged commit e52a492 into main Oct 18, 2026
130 checks passed
@pelikhan
pelikhan deleted the pelikhan-javascript-analysis-summaries branch October 18, 2026 23:47

Copilot AI commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

@copilot address the following outstanding work in one pass:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes....

The listed fixes landed in 0705b54, and all 13 review threads are answered and resolved. Ran make merge-main (0e7aabd) and pushed two related follow-up regressions/fixes in ed059c7. Local build, lint, targeted tests, impacted tests, and all 345 workflow drift checks passed. Native compiler installation was blocked by feed DNS; automated review was unavailable and CodeQL timed out (fallback read-only review completed). PR #70029 was merged concurrently at 0705b54, so the later branch commits are not included in that merge. No CI was triggered.

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.92.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants