Repository navigation
Conversation
Co-authored-by: Evank253 <154094143+Evank253@users.noreply.github.com>
Co-authored-by: Evank253 <154094143+Evank253@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix VibeDev to run properly end-to-end
Fix VibeDev end-to-end: ESLint v9 config, working lint, health endpoint smoke test in CI
Aug 5, 2026
Evank253
approved these changes
Aug 5, 2026
There was a problem hiding this comment.
Pull request overview
This PR aims to make CI enforcement real end-to-end by introducing an ESLint v9 flat config, ensuring the server lint step actually fails on violations, and adding a CI smoke test that starts the backend and checks the /api/health endpoint.
Changes:
- Add a new ESLint v9 flat config (
eslint.config.js) covering server JS and client JS/JSX. - Update dependencies/lockfile to support the ESLint v9 config.
- Update CI to run server lint without bypassing failures and to smoke-test the health endpoint.
Reviewed changes
Copilot reviewed 3 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| package.json | Adds ESLint config dependency (but currently with dependency scope/version inconsistencies). |
| package-lock.json | Lockfile updates reflecting the dependency changes. |
| eslint.config.js | Introduces ESLint v9 flat config for server + client with React/React Hooks rules. |
| .github/workflows/ci.yml | Makes lint blocking and adds a backend /api/health smoke test step. |
Suppressed comments (1)
package.json:44
@eslint/jsis duplicated acrossdependenciesanddevDependencies, and the versions differ (^10.0.1vs^9.22.0). This can lead to unexpected resolutions and potential incompatibility with ESLint 9. Keep a single@eslint/jsentry indevDependenciesand align it with the ESLint major version.
"devDependencies": {
"eslint": "^9.22.0",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.2.0",
"prettier": "^3.5.3",
"@eslint/js": "^9.22.0"
},
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The CI lint step was silently no-oping (ESLint v9 requires a flat config file, none existed), and CI had no actual server health check — only import-level smoke tests.
Changes
eslint.config.js— New ESLint v9 flat config coveringserver/**/*.jsandclient/src/**/*.{js,jsx}. Includes proper globals for Node 18 (nativefetch,URL, etc.) and React plugin rules.package.json— Added@eslint/jstodevDependencies..github/workflows/ci.yml:npx eslint server/— v9 syntax,--extflag removed,|| truebypass removed so lint failures are now visible.Smoke-test health endpointstep: starts the server, waits, curls/api/health, asserts HTTP 200, then kills the process.