Repository navigation
chore(deps-dev): Bump @vitejs/plugin-react from 5.1.4 to 6.0.1 in /kagenti/ui-v2 - #951
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 5.1.4 to 6.0.1. - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/[email protected]/packages/plugin-react) --- updated-dependencies: - dependency-name: "@vitejs/plugin-react" dependency-version: 6.0.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
mrsabath
left a comment
There was a problem hiding this comment.
Review Summary
CI is broken — Deploy & Test fails with npm ERESOLVE peer dependency conflict.
Root Cause
@vitejs/[email protected] requires peerDependencies: { vite: "^8.0.0" }, but the project has [email protected]. npm refuses to install.
Coordinated Upgrade Required
This is the inverse of PR #953 (vite 7→8):
| PR | Bumps | Requires |
|---|---|---|
| #953 | vite 7→8 |
@vitejs/plugin-react 6+ |
| #951 (this) | @vitejs/plugin-react 5→6 |
vite 8+ |
Neither can merge alone. The solution is a single PR that bumps both:
vite→^8.0.0@vitejs/plugin-react→^6.0.1
Notable Change
plugin-react v6 removes Babel entirely — React Refresh Transform is now handled by OXC in Vite 8. The lockfile shrinks by ~578 lines (all Babel deps removed).
Areas reviewed: Frontend (npm dependencies), CI failure analysis
Commits: 1 commit, signed-off ✓
CI status: FAILING ❌ (Deploy & Test — peer dep conflict)
🤖 Review by Claude Code
mrsabath
left a comment
There was a problem hiding this comment.
Review Summary
This Dependabot PR bumps @vitejs/plugin-react from 5.1.4 to 6.0.1 (major version). The v6 release removes the built-in Babel pipeline (~30 packages dropped), which is safe for this project since vite.config.ts uses react() with no Babel options.
However, @vitejs/[email protected] requires vite ^8.0.0 as a peer dependency, while the project uses vite ^7.3.1. This causes the Deploy & Test CI check to fail with ERESOLVE could not resolve.
Options:
- Bump Vite to 8.x alongside this change
- Close this PR and pin
@vitejs/plugin-reactto^5.xuntil a Vite 8 upgrade is planned
Areas reviewed: Frontend (package.json, vite.config.ts, package-lock.json)
Commits: 1, signed-off
CI status: Deploy & Test FAILING (peer dep conflict)
| @@ -36,7 +36,7 @@ | |||
| "@types/react-dom": "^18.3.0", | |||
There was a problem hiding this comment.
must-fix: @vitejs/[email protected] requires vite ^8.0.0 as a peer dependency, but this project uses vite ^7.3.1 (line 18). CI confirms this breaks the build:
npm error peer vite@"^8.0.0" from @vitejs/[email protected]
npm error Conflicting peer dependency: [email protected]
Either:
- Upgrade
viteto^8.0.0in the same PR, or - Keep
@vitejs/plugin-reactat^5.xuntil a coordinated Vite 8 upgrade
Note: The vite.config.ts uses react() with no Babel options, so the Babel removal in v6 is not a concern for this project.
|
Consolidated into #998. Closing in favor of batched dependency update. |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Batched dependency bumps: - Bump @vitejs/plugin-react from 5.1.4 to 6.0.1 - Bump vite from 7.3.1 to 8.0.0 Consolidates: rossoctl#951, rossoctl#953 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
Batched dependency bumps: - Bump @vitejs/plugin-react from 5.1.4 to 6.0.1 - Bump vite from 7.3.1 to 8.0.0 Consolidates: rossoctl#951, rossoctl#953 Assisted-By: Claude (Anthropic AI) <[email protected]> Signed-off-by: Ladislav Smola <[email protected]>
Hai's review on #2618. Every claim below was re-checked against the cortex tree at v0.8.1 and at main before changing the text. Accuracy rule 2, do not document unreleased behaviour. The page now describes v0.8.1 throughout, which is what the install one-liner delivers: - Revert CTX(1M) to CONTEXT(1M) and keep the 97-column money threshold. cortex#1246 shortens the heading and moves the threshold to 93, but it is in no tag. The contradictory VERIFY markers are reconciled, and a v0.9.0 marker records the follow-up by quoted text rather than by line number, which goes stale. - Drop `agentop configure opencode`, which arrived in cortex#1243 after v0.8.1; on v0.8.1 it prints "coming soon" and exits 0. OpenCode joins Codex on `agentop exec`. - Drop the Codex `configure` row: it only ever prints "coming soon", so "each one takes disable and status" was false for it. - Replace `agentop setup` (cortex#1245, unreleased) with `agentop service restart`. No setup step touches the CA; the proxy mints one on boot when any of tls.crt, tls.key or ca.crt is missing (tlsbridge.EnsureFileSource), so a restart is what regenerates it. Trust-store variables. REQUESTS_CA_BUNDLE, SSL_CERT_FILE, CURL_CA_BUNDLE and GIT_SSL_CAINFO REPLACE the trust store rather than adding to it, so they need ca/bundle.crt, not ca.crt. Pointed at ca.crt a program trusts only the Cortex CA and every unbridged host fails. Only NODE_EXTRA_CA_CERTS is additive. The proxy value gains its scheme. The macOS note was correct for Go only. It is crypto/x509 on darwin that ignores SSL_CERT_FILE; git, curl and Python read these variables there too, so steering a Python user to the keychain sent them somewhere that does nothing for them. Retitled, scoped to Go, and it now gives the login-keychain command instead of an anchor that lands on the section top. Same correction applied to the copy in troubleshooting.md. Latency section, which claimed figures Cortex does not produce: - The caps are mean +/- 1 sigma over the calls in a bucket, not the fastest and slowest call. Removed "Slowest call | 24 s" and the per-session "spread (+/-1 sigma)" row: sigma exists only per chart bucket, SessionSummary has no latency field, and the only window-wide figure is the usage footer's request-weighted LATENCY mean, with no sigma. - Durations are kept for every non-tunnel response, not model calls alone, so fast non-model requests pull the mean down. - A bucket with no measured call reads 0 with the legend "0 = no measured responses"; only an empty window says "no latency samples in this window". - One-call buckets and collapsed caps both draw a bare crossbar, and the lower cap is clamped at zero, so a foot on the bottom row means sigma >= mean, not an instant reply. - The slowest call IS recorded, on the event, in the sortable DURATION column. "Cortex records no maximum" sent readers away from the one view that answers the question; it is the usage charts that keep none. - Issue attribution split correctly: #951 is TTFT and percentiles, #1026 is the maximum and p99. Also: :::caution is not in CONTRIBUTING's callout table and Docusaurus v3 deprecates it, so the one this PR added is now :::warning. The backoff prose is marked macOS-only, since the systemd unit retries every 10s and gives up after 5 starts in 300s. Signed-off-by: Mariusz Sabath <[email protected]> Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Hai's review on #2618. Every claim below was re-checked against the cortex tree at v0.8.1 and at main before changing the text. Accuracy rule 2, do not document unreleased behaviour. The page now describes v0.8.1 throughout, which is what the install one-liner delivers: - Revert CTX(1M) to CONTEXT(1M) and keep the 97-column money threshold. cortex#1246 shortens the heading and moves the threshold to 93, but it is in no tag. The contradictory VERIFY markers are reconciled, and a v0.9.0 marker records the follow-up by quoted text rather than by line number, which goes stale. - Drop `agentop configure opencode`, which arrived in cortex#1243 after v0.8.1; on v0.8.1 it prints "coming soon" and exits 0. OpenCode joins Codex on `agentop exec`. - Drop the Codex `configure` row: it only ever prints "coming soon", so "each one takes disable and status" was false for it. - Replace `agentop setup` (cortex#1245, unreleased) with `agentop service restart`. No setup step touches the CA; the proxy mints one on boot when any of tls.crt, tls.key or ca.crt is missing (tlsbridge.EnsureFileSource), so a restart is what regenerates it. Trust-store variables. REQUESTS_CA_BUNDLE, SSL_CERT_FILE, CURL_CA_BUNDLE and GIT_SSL_CAINFO REPLACE the trust store rather than adding to it, so they need ca/bundle.crt, not ca.crt. Pointed at ca.crt a program trusts only the Cortex CA and every unbridged host fails. Only NODE_EXTRA_CA_CERTS is additive. The proxy value gains its scheme. The macOS note was correct for Go only. It is crypto/x509 on darwin that ignores SSL_CERT_FILE; git, curl and Python read these variables there too, so steering a Python user to the keychain sent them somewhere that does nothing for them. Retitled, scoped to Go, and it now gives the login-keychain command instead of an anchor that lands on the section top. Same correction applied to the copy in troubleshooting.md. Latency section, which claimed figures Cortex does not produce: - The caps are mean +/- 1 sigma over the calls in a bucket, not the fastest and slowest call. Removed "Slowest call | 24 s" and the per-session "spread (+/-1 sigma)" row: sigma exists only per chart bucket, SessionSummary has no latency field, and the only window-wide figure is the usage footer's request-weighted LATENCY mean, with no sigma. - Durations are kept for every non-tunnel response, not model calls alone, so fast non-model requests pull the mean down. - A bucket with no measured call reads 0 with the legend "0 = no measured responses"; only an empty window says "no latency samples in this window". - One-call buckets and collapsed caps both draw a bare crossbar, and the lower cap is clamped at zero, so a foot on the bottom row means sigma >= mean, not an instant reply. - The slowest call IS recorded, on the event, in the sortable DURATION column. "Cortex records no maximum" sent readers away from the one view that answers the question; it is the usage charts that keep none. - Issue attribution split correctly: #951 is TTFT and percentiles, #1026 is the maximum and p99. Also: :::caution is not in CONTRIBUTING's callout table and Docusaurus v3 deprecates it, so the one this PR added is now :::warning. The backoff prose is marked macOS-only, since the systemd unit retries every 10s and gives up after 5 starts in 300s. Signed-off-by: Mariusz Sabath <[email protected]> Assisted-By: Claude Code
…#2618) * docs: correct the latency reading, and cover the new agentop surfaces Three corrections and two additions, all against cortex main as of today. Latency — my own error in #2615. That PR said the whiskers were "the fastest and the slowest call" and told readers to read the upper one as the worst case. The code computes LatMeanMs +/- LatStdDevMs (cmd/agentop/tui/usage_whiskers.go): standard deviation, not extremes. No maximum is recorded anywhere in the pipeline, so the slowest call can sit above the top of the chart with nothing on screen saying so -- which is the whole of cortex#1026. Rewritten to mean with +/-1σ caps, with a caution that the upper cap is not a worst case. The worked example's "Slowest call" row became a spread, since Cortex does not record that figure. Context column — CONTEXT(1M) is now CTX(1M), shortened in cortex#1246. Three occurrences. Stale abctl and a ps grep that misses current installs — the two-installs section used `abctl service stop|install`, and grepped ps for authbridge-proxy alone. The binary is `cortex` now; authbridge-proxy is only the pre-rename name, and a machine carrying both generations is exactly what that section is about, so match either. New: `agentop configure` covers five agents (claude-code, bob, bobshell, opencode, codex), so "Other agents" now names the command per agent instead of sending everyone to set HTTP_PROXY by hand. And `agentop setup` with no --from repairs an install, which is a better answer than "run the install again" for a missing CA. Also verified the two-installs section's own markers against main: all five loopback ports come from the --local preset in cmd/cortex/local.go and the 30-second restart ceiling from superviseMaxDelay in cmd/cortex/supervise.go. Both paths moved in the rename. Refs rossoctl/cortex#963, rossoctl/cortex#1026, rossoctl/cortex#1236, rossoctl/cortex#1237 Signed-off-by: Mariusz Sabath <[email protected]> * docs: Address review on the latency page and the agent surfaces Hai's review on #2618. Every claim below was re-checked against the cortex tree at v0.8.1 and at main before changing the text. Accuracy rule 2, do not document unreleased behaviour. The page now describes v0.8.1 throughout, which is what the install one-liner delivers: - Revert CTX(1M) to CONTEXT(1M) and keep the 97-column money threshold. cortex#1246 shortens the heading and moves the threshold to 93, but it is in no tag. The contradictory VERIFY markers are reconciled, and a v0.9.0 marker records the follow-up by quoted text rather than by line number, which goes stale. - Drop `agentop configure opencode`, which arrived in cortex#1243 after v0.8.1; on v0.8.1 it prints "coming soon" and exits 0. OpenCode joins Codex on `agentop exec`. - Drop the Codex `configure` row: it only ever prints "coming soon", so "each one takes disable and status" was false for it. - Replace `agentop setup` (cortex#1245, unreleased) with `agentop service restart`. No setup step touches the CA; the proxy mints one on boot when any of tls.crt, tls.key or ca.crt is missing (tlsbridge.EnsureFileSource), so a restart is what regenerates it. Trust-store variables. REQUESTS_CA_BUNDLE, SSL_CERT_FILE, CURL_CA_BUNDLE and GIT_SSL_CAINFO REPLACE the trust store rather than adding to it, so they need ca/bundle.crt, not ca.crt. Pointed at ca.crt a program trusts only the Cortex CA and every unbridged host fails. Only NODE_EXTRA_CA_CERTS is additive. The proxy value gains its scheme. The macOS note was correct for Go only. It is crypto/x509 on darwin that ignores SSL_CERT_FILE; git, curl and Python read these variables there too, so steering a Python user to the keychain sent them somewhere that does nothing for them. Retitled, scoped to Go, and it now gives the login-keychain command instead of an anchor that lands on the section top. Same correction applied to the copy in troubleshooting.md. Latency section, which claimed figures Cortex does not produce: - The caps are mean +/- 1 sigma over the calls in a bucket, not the fastest and slowest call. Removed "Slowest call | 24 s" and the per-session "spread (+/-1 sigma)" row: sigma exists only per chart bucket, SessionSummary has no latency field, and the only window-wide figure is the usage footer's request-weighted LATENCY mean, with no sigma. - Durations are kept for every non-tunnel response, not model calls alone, so fast non-model requests pull the mean down. - A bucket with no measured call reads 0 with the legend "0 = no measured responses"; only an empty window says "no latency samples in this window". - One-call buckets and collapsed caps both draw a bare crossbar, and the lower cap is clamped at zero, so a foot on the bottom row means sigma >= mean, not an instant reply. - The slowest call IS recorded, on the event, in the sortable DURATION column. "Cortex records no maximum" sent readers away from the one view that answers the question; it is the usage charts that keep none. - Issue attribution split correctly: #951 is TTFT and percentiles, #1026 is the maximum and p99. Also: :::caution is not in CONTRIBUTING's callout table and Docusaurus v3 deprecates it, so the one this PR added is now :::warning. The backoff prose is marked macOS-only, since the systemd unit retries every 10s and gives up after 5 starts in 300s. Signed-off-by: Mariusz Sabath <[email protected]> Assisted-By: Claude Code * docs: Address round 2 of the review on the agent surfaces and latency Hai's second review on #2618. Every claim below was re-checked against the cortex tree at v0.8.1 (a6cb1d77) and at main before changing the text. The two must-fixes: - OpenCode does not send its traffic from the process you run. One background service per user sends all of it and keeps the environment it started with, so `agentop exec -- opencode` routes nothing when the service is already running, and the routing outlives the command when exec is what started it. The page now says both, plus how to check (`opencode service status`). Codex keeps the old sentence, which is true of Codex alone. - The lower cap on the bottom row of a latency whisker does not mean sigma >= mean. The bottom row holds every value up to a tenth of the frame's top, so a cap there means mean minus 1 sigma is near zero. Re-worded, and "one standard deviation" is spelled out where sigma had not been defined yet. Three of Hai's own round-1 sentences, corrected: - bobshell reads no config at configure time; only claude-code and bob read `~/.cortex/config.yaml`, and the intro now says which. - The by-hand variable list gains HTTP_PROXY and the lowercase proxy names (a plain-http call or a lowercase-only tool silently bypasses Cortex otherwise), and $HOME in place of ~, which does not expand in a quoted export or a settings file. - The ps pattern anchors on the binary followed by a flag (`/(cortex|authbridge-proxy) --`), which the service always passes, so a `tail -f` of proxy.log, a cortex.test binary or an `--proxy .../cortex` argument no longer match. A section that ends in `kill <pid>` owes that much. Smaller corrections from the same review: - The Claude Code row names CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC; the Bob row says the printed command needs sudo, writes the System keychain, and that Bob needs a restart; the bobshell row names the rc files and stops calling a fragment a sentence. - Sorting by DURATION now gives the keys (c, then s in the picker) and two limits: the sort covers the newest 2000 events (o loads older), and a chart opened from Sessions covers every session. - "Typical call" became "average call", the planned-figures note no longer reads as "time-to-first-token percentiles", and the worked example names the source of its 11 s: the usage pane's LATENCY footer, scoped to the session, at most the last 6 h. - The v0.9.0 marker for cortex#1246 now lists every place the heading and the 97-column threshold appear, including "Read the context gauge" here and the CONTEXT column mention in troubleshooting. - No setup or install step *writes* the CA (install.sh and service status do read it); after a restart mints a new CA, a keychain that trusted the old one needs the command again; the service log is proxy.log (log show and journalctl never see the proxy's own lines); the Linux log sample no longer shows a supervisor line systemd does not run; `agentop service stop` stops whichever install holds the one label per user, so the fix sequence says HOME and abctl and why it still converges; the macOS supervisor notes are scoped away from Linux, where ps shows one cortex per running install and the lost unit reads failed. - "Another program stopped working" names the most likely cause, a replacing variable pointed at ca.crt rather than bundle.crt, and the env grep gains SSL_CAINFO so GIT_SSL_CAINFO shows. The no-events checklist no longer tells the reader to set "the certificate variable" by hand for agents that configure or exec covers. - The Go note copies laptop.md's line (LibreSSL, the bundle) instead of drifting from it. Assisted-By: Claude Code Signed-off-by: Mariusz Sabath <[email protected]> --------- Signed-off-by: Mariusz Sabath <[email protected]>
Bumps @vitejs/plugin-react from 5.1.4 to 6.0.1.
Release notes
Sourced from
@vitejs/plugin-react's releases.... (truncated)
Changelog
Sourced from
@vitejs/plugin-react's changelog.... (truncated)
Commits
1e94c06release: [email protected]77c00c0feat(plugin-react): expand@rolldown/plugin-babelpeer dep range (#1146)dcc9012release: [email protected]3a17886docs: add a link to the Oxlint rule for component exports alongside the ESLin...f812135fix(deps): update all non-major dependencies (#1140)a0329a0docs(react): clarify react compiler preset filter (#1137)704e0d3release: [email protected]ac16accfeat(react)!: remove babel (#1123)f01b30cfix(deps): update all non-major dependencies (#1127)b1014bdchore(react): add changelog for #1124Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)