fix: repair frontend ESLint errors and backend CI pipeline#1
Merged
Conversation
added 3 commits
March 18, 2026 14:31
- question-input: stop reading submittedRef during render (react-hooks/refs) - dashboard-grid: move ref assignments into useEffect (react-hooks/refs) - use-upload-message: use lazy initializer instead of setState in effect - card-editor: fix useEffect dependency array, remove stale eslint-disable - portaled-components: remove unused eslint-disable comment - ci: add explicit python-version to uv setup steps
The python-version parameter in setup-uv causes ruff to not be found. Revert to match the working main branch configuration.
- Add .python-version (3.13) so uv uses the correct interpreter - Convert [project.optional-dependencies] dev to [dependency-groups] with separate lint/test/dev groups (PEP 735) - Backend lint job uses --only-group lint (installs only ruff, avoids building pyarrow/pandas/langchain entirely) - Backend test job uses --group test (main deps + pytest) - Regenerate uv.lock for new dependency structure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Frontend lint fixes
submittedRefduring render — deriveisInteractivefrom props only, keep ref as callback guard (react-hooks/refs)useEffect(react-hooks/refs)setIdx()in effect with lazyuseStateinitializer (react-hooks/set-state-in-effect)useEffectdeps to[card], remove 2 staleeslint-disableeslint-disabledirectivesBackend CI fixes
.python-version(3.13) so uv uses the correct interpreter matching locked wheels[project.optional-dependencies] dev→[dependency-groups](PEP 735) with separatelint,test, anddevgroups--only-group lint— installs only ruff, no pyarrow/pandas/langchain build--group test— installs main deps + pytestuv.lockfor new dependency structureTest plan
npm run lint+npm run typecheck— 0 errors, 0 warningsuv run --only-group lint ruff check— passes locally