Skip to content

Conversation

@hila-f-qodo
Copy link

Benchmark PR from qodo-benchmark#66

@augmentcode
Copy link

augmentcode bot commented Dec 31, 2025

🤖 Augment PR Summary

Summary: This PR updates the web lint workflow to run Oxlint before ESLint.

Changes:

  • Added a lint:oxlint script and chained it into lint/lint:quiet/lint:complexity
  • Added oxlint as a dev dependency and updated pnpm-lock.yaml with platform-specific binaries
  • Adjusted error handling in the workflow DSL import modal (catch/throw behavior)

Technical Notes: Oxlint runs using web/.oxlintrc.json over the web workspace before ESLint.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

catch (e) {
setLoading(false)
notify({ type: 'error', message: t('workflow.common.importFailure') })
throw new Error('Import failed')
Copy link

Choose a reason for hiding this comment

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

throw new Error('Import failed') changes the UX from a toast notification to an unhandled exception, and it will skip isCreatingRef.current = false below (potentially blocking subsequent imports). If this was done to satisfy a linter, consider ensuring the original error handling/cleanup behavior is preserved.

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎

"lodash": "^4.17.21",
"magicast": "^0.3.5",
"nock": "^14.0.10",
"oxlint": "^1.31.0",
Copy link

Choose a reason for hiding this comment

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

Adding oxlint@^1.31.0 introduces a Node requirement of ^20.19.0 || >=22.12.0 (as recorded in pnpm-lock.yaml), but engines.node currently allows >=v22.11.0 so installs on 22.11.x could fail. Consider aligning the engines range with oxlint’s minimum if 22.11 is meant to be supported.

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎

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