Skip to content

fix: lint:changes command to only lint changed files - #2665

Open
joyenjoyer wants to merge 1 commit into
instui-5035-oxlint-migrationfrom
lint_changes_fix
Open

fix: lint:changes command to only lint changed files#2665
joyenjoyer wants to merge 1 commit into
instui-5035-oxlint-migrationfrom
lint_changes_fix

Conversation

@joyenjoyer

Copy link
Copy Markdown
Contributor

Summary

  • Replace broken --since HEAD^ flag with git merge-base to properly target changed files
  • Pass changed files directly to oxlint instead of routing through workspace runner
  • Fixes lint:changes to skip unchanged portions of the codebase

Test Plan

  • pnpm run lint:changes now only lints files in the diff since merge-base

Fixes INSTUI-5090

@joyenjoyer
joyenjoyer changed the base branch from master to instui-5035-oxlint-migration July 29, 2026 11:24
@joyenjoyer joyenjoyer self-assigned this Jul 29, 2026
@joyenjoyer
joyenjoyer requested a review from balzss July 29, 2026 11:24
@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://instructure.design/pr-preview/pr-2665/

Built to branch gh-pages at 2026-07-29 11:38 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Replace the broken --since flag with proper merge-base diff logic. The command
now gets files changed since merge-base with master and passes them directly to
oxlint instead of routing through the workspace runner which would lint the
entire codebase.
github-actions Bot pushed a commit that referenced this pull request Jul 29, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Visual regression report

⚠️ Changes detected.

Status Count
Unchanged 0
Changed 1
New 96
Removed 32

📊 View full report

Diff images (33)

alert.png — baseline no longer produced

avatar.png — baseline no longer produced

badge.png — baseline no longer produced

billboard.png — baseline no longer produced

breadcrumb.png — baseline no longer produced

button-and-derivatives.png — baseline no longer produced

byline.png — baseline no longer produced

calendar.png — baseline no longer produced

checkbox.png — baseline no longer produced

checkboxgroup.png — baseline no longer produced

colorpicker.png — baseline no longer produced

contextview.png — baseline no longer produced

custom-and-lucide-icons.png — baseline no longer produced

dateinput-dateinput2.png — baseline no longer produced

datetimeinput.png — baseline no longer produced

diff-demo.png — 6324 pixels differ

drilldown.png — baseline no longer produced

filedrop.png — baseline no longer produced

form-errors.png — baseline no longer produced

heading.png — baseline no longer produced

img.png — baseline no longer produced

link.png — baseline no longer produced

menu.png — baseline no longer produced

metric-pill-tag-timeselect-text.png — baseline no longer produced

options.png — baseline no longer produced

pagination.png — baseline no longer produced

progressbar.png — baseline no longer produced

select-simpleselect.png — baseline no longer produced

table.png — baseline no longer produced

tabs.png — baseline no longer produced

tooltip.png — baseline no longer produced

treebrowser.png — baseline no longer produced

view.png — baseline no longer produced

Baselines come from the visual-baselines branch. They refresh on every merge to master.

github-actions Bot pushed a commit that referenced this pull request Jul 29, 2026
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.

1 participant