Skip to content

Simplify writeDiffRangeDataExtensionPack interface#3849

Open
henrymercer wants to merge 1 commit intomainfrom
henrymercer/simplify-diff-range-interface
Open

Simplify writeDiffRangeDataExtensionPack interface#3849
henrymercer wants to merge 1 commit intomainfrom
henrymercer/simplify-diff-range-interface

Conversation

@henrymercer
Copy link
Copy Markdown
Contributor

Copilot AI review requested due to automatic review settings April 23, 2026 15:48
@henrymercer henrymercer requested a review from a team as a code owner April 23, 2026 15:48
@github-actions github-actions Bot added the size/XS Should be very easy to review label Apr 23, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR simplifies the internal writeDiffRangeDataExtensionPack contract so it always returns an extension pack directory when invoked, and it removes now-unreachable fallback logging in the diff-informed analysis setup path. This aligns setupDiffInformedQueryRun with the fact that it already gates execution on successfully reading precomputed diff ranges.

Changes:

  • Remove the undefined return path from writeDiffRangeDataExtensionPack by requiring a concrete DiffThunkRange[] input.
  • Simplify setupDiffInformedQueryRun logging by removing the conditional warning/info branch and always logging successful pack creation once reached.
Show a summary per file
File Description
src/analyze.ts Makes extension-pack creation always return a path once diff ranges are present; removes unreachable warning path and updates JSDoc/types accordingly.
lib/analyze-action.js Generated build output reflecting the TypeScript changes (not reviewed).

Copilot's findings

  • Files reviewed: 1/2 changed files
  • Comments generated: 0

@henrymercer henrymercer enabled auto-merge April 23, 2026 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Should be very easy to review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants