Refactor code structure for improved readability and maintainability#1602
Refactor code structure for improved readability and maintainability#1602
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates tooling and runtime dependencies across the monorepo (Biome config + lockfiles, plus backend library bumps).
Changes:
- Bump Biome to
2.4.0and updatebiome.jsonschema accordingly. - Upgrade several backend dependencies (AWS SDK, LangChain, Sentry, dotenv, openai, rimraf) and refresh Yarn lockfiles.
- Update
autoadmin-ws-serverdev tooling (Biome) and its lockfile.
Reviewed changes
Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| yarn.lock | Refresh root dependency lockfile for upgraded packages (Biome + backend deps). |
| package.json | Bump root devDependency @biomejs/biome to 2.4.0. |
| biome.json | Update Biome $schema URL to the 2.4.0 schema. |
| backend/package.json | Upgrade backend dependencies (AWS SDK, LangChain, Sentry, dotenv, openai, rimraf). |
| autoadmin-ws-server/yarn.lock | Refresh ws-server lockfile to Biome 2.4.0. |
| autoadmin-ws-server/package.json | Bump ws-server devDependency @biomejs/biome to 2.4.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "devDependencies": { | ||
| "@biomejs/biome": "2.3.8", | ||
| "@biomejs/biome": "2.4.0", | ||
| "husky": "^9.1.7", |
There was a problem hiding this comment.
PR title/description says this is a code structure refactor, but the actual changes here are dependency/version bumps (Biome schema + package version updates). Please update the PR title/description to reflect the dependency upgrade scope (or split the dependency bumps into a separate PR) so reviewers understand the intent and risk profile.
| "@aws-sdk/client-bedrock-runtime": "^3.990.0", | ||
| "@aws-sdk/client-s3": "^3.990.0", | ||
| "@aws-sdk/lib-dynamodb": "^3.990.0", | ||
| "@aws-sdk/s3-request-presigner": "^3.990.0", |
There was a problem hiding this comment.
@aws-sdk/lib-dynamodb v3.990.0 has a required peer dependency on @aws-sdk/client-dynamodb ^3.990.0 (see yarn.lock entry). backend/package.json bumps @aws-sdk/lib-dynamodb to ^3.990.0 but does not add a matching @aws-sdk/client-dynamodb, and the repo currently provides @aws-sdk/client-dynamodb ^3.987.0 via the shared workspace. This leaves the peer dependency unsatisfied/incompatible, which can trigger Yarn peer dependency errors/warnings and potentially load mismatched AWS SDK versions at runtime. Add @aws-sdk/client-dynamodb ^3.990.0 to backend (and ideally align the shared workspace AWS SDK versions too).
No description provided.