Repository navigation
Comparing changes
Open a pull request
base repository: offendingcommit/openconcho
base: v0.15.0
head repository: offendingcommit/openconcho
compare: v0.16.0
- 14 commits
- 12 files changed
- 2 contributors
Commits on Jun 2, 2026
-
feat(web): merge Fleet into a server-filterable Dashboard
Implements Phase 1 of the UI navigation rework (docs/superpowers/specs/ 2026-06-02-ui-navigation-rework.md): the Dashboard now lists every workspace across every configured server as <workspace> (<server>), filterable by server, with cross-server aggregate cards (reusing computeFleetAggregates). Opening a workspace activates its server then drills into the existing detail route. Per-server fan-out lives in a ServerWorkspaceRows child (rules-of-hooks safe, mirrors FleetRow). Fleet removed from the sidebar nav; the /fleet route is left intact for now (full removal deferred to avoid churning fleet.test.tsx while #54 is open).
Configuration menu - View commit details
-
Copy full SHA for e66f927 - Browse repository at this point
Copy the full SHA e66f927View commit details
Commits on Jun 3, 2026
-
fix(ci): replace userEvent.selectOptions with fireEvent.change; bump …
…setup-node to v6 userEvent.selectOptions hangs in jsdom when firing pointer + change event sequences — fireEvent.change fires the React-controlled onChange directly and is deterministic. Removes userEvent import (no longer used). Bump actions/setup-node from v4 to v6 to clear the Node.js 20 deprecation warning on GitHub Actions runners.
Configuration menu - View commit details
-
Copy full SHA for 1c28cae - Browse repository at this point
Copy the full SHA 1c28caeView commit details -
fix(web): break metricsEqual lastSeen dep-loop; add staleTime to test
Remove lastSeen from metricsEqual in ServerWorkspaceRows: computeFleetAggregates never reads lastSeen, so comparing it in metricsEqual causes background TanStack Query refetches (dataUpdatedAt changes) to trigger spurious onMetrics callbacks, cascading into a Dashboard → ServerWorkspaceRows render loop that hits React's 100-render limit in CI. Add staleTime: Infinity to the test QueryClient to prevent background refetches from interfering with test assertions.
Configuration menu - View commit details
-
Copy full SHA for 173f096 - Browse repository at this point
Copy the full SHA 173f096View commit details -
fix(web): reset serverFilter when the selected instance is removed
If the user filters to a specific server and that instance is then deleted (e.g. from Settings), shownInstances becomes [] — empty table, no message. A useEffect resets the filter to ALL_SERVERS whenever the selected ID disappears from the instances list.
Configuration menu - View commit details
-
Copy full SHA for 699ec38 - Browse repository at this point
Copy the full SHA 699ec38View commit details -
feat(web): redirect /fleet to Dashboard; update fleet tests
/fleet now redirects to / so bookmarks and muscle-memory links land on the unified Dashboard rather than a 404-style dead route. Fleet tests updated to assert the redirect and the per-instance rows the Dashboard renders.
Configuration menu - View commit details
-
Copy full SHA for da126b2 - Browse repository at this point
Copy the full SHA da126b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36fb6ee - Browse repository at this point
Copy the full SHA 36fb6eeView commit details -
fix(dashboard): remove lastSeen from metrics useMemo deps to break re…
…nder loop lastSeen tracked workspacesQ.dataUpdatedAt which updates on every background refetch, creating a new metrics object reference each cycle. The useEffect dep on metrics then fired unconditionally, calling onMetrics → setMetricsById → Dashboard re-render → another refetch → infinite loop. computeFleetAggregates never reads lastSeen, so reporting it upward was pointless. Hardcode null and drop it from the dep array entirely.
Configuration menu - View commit details
-
Copy full SHA for f79cdaf - Browse repository at this point
Copy the full SHA f79cdafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c99af7 - Browse repository at this point
Copy the full SHA 3c99af7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e59bfd9 - Browse repository at this point
Copy the full SHA e59bfd9View commit details -
fix(dashboard): use primitive deps in onMetrics effect to break rende…
…r loop Using a metrics object as a useEffect dep causes the loop: onMetrics → setMetricsById → Dashboard re-renders → ServerWorkspaceRows re-renders → useQueries runs → TanStack Query cache subscriber fires (Sidebar's setNow) → query result objects are new references → metrics useMemo returns new object → effect dep changed → onMetrics again → ∞ Fix: depend on the five primitive values (workspaceCount, conclusionCount, queueActive, queuePending, health) directly. React compares primitives by value, so the effect only fires when actual data changes, not on reference churn from re-renders. Also adds server-workspace-rows.test.tsx with three focused unit tests: correct health:ok report, stability after load (no re-fire), and health transition coverage.
Configuration menu - View commit details
-
Copy full SHA for 9cc8637 - Browse repository at this point
Copy the full SHA 9cc8637View commit details -
fix(dashboard): guard setMetricsById against same-value calls to end …
…loop Even with primitive useEffect deps, TanStack Query or React concurrent rendering can cause onMetrics to fire with identical values mid-render-cycle. Add a ref-based equality check in Dashboard.onMetrics: if all five metric values are unchanged, skip setMetricsById entirely — no state update, no Dashboard re-render, loop terminates. Also fixes vi.fn<TFunction>() typing in server-workspace-rows.test.tsx to satisfy tsc (Vitest 4 single-type-arg signature).
Configuration menu - View commit details
-
Copy full SHA for 3b88a41 - Browse repository at this point
Copy the full SHA 3b88a41View commit details -
fix(web): stop Sidebar re-render loop from cache-event subscriber
setNow(Date.now()) was called on every query-cache event, including events dispatched synchronously during ServerWorkspaceRows' render. On CI, consecutive Date.now() calls cross millisecond boundaries so each call returns a new value — React always re-renders Sidebar, which re-renders the layout, which re-renders ServerWorkspaceRows, which fires more cache events. After ~25 cycles React throws "Maximum update depth exceeded." Fix: remove setNow from the cache subscriber. setNow now fires only from the 30s interval timer, where it correctly refreshes the "X ago" display text without triggering a render loop. Also adds a deterministic CI-repro test that mocks Date.now to return incrementing values and asserts the filter-change path completes without looping.
Configuration menu - View commit details
-
Copy full SHA for 7e529c8 - Browse repository at this point
Copy the full SHA 7e529c8View commit details
Commits on Jun 10, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 01371db - Browse repository at this point
Copy the full SHA 01371dbView commit details -
chore(release): 0.16.0 [skip ci]
# [0.16.0](v0.15.0...v0.16.0) (2026-06-10) ### Bug Fixes * **ci:** replace userEvent.selectOptions with fireEvent.change; bump setup-node to v6 ([1c28cae](1c28cae)) * **dashboard:** guard setMetricsById against same-value calls to end loop ([3b88a41](3b88a41)) * **dashboard:** remove lastSeen from metrics useMemo deps to break render loop ([f79cdaf](f79cdaf)) * **dashboard:** use primitive deps in onMetrics effect to break render loop ([9cc8637](9cc8637)) * **test:** remove unused within import from fleet.test.tsx ([36fb6ee](36fb6ee)) * **web:** break metricsEqual lastSeen dep-loop; add staleTime to test ([173f096](173f096)) * **web:** reset serverFilter when the selected instance is removed ([699ec38](699ec38)) * **web:** stop Sidebar re-render loop from cache-event subscriber ([7e529c8](7e529c8)) ### Features * **web:** merge Fleet into a server-filterable Dashboard ([e66f927](e66f927)), closes [#54](#54) * **web:** redirect /fleet to Dashboard; update fleet tests ([da126b2](da126b2))
Configuration menu - View commit details
-
Copy full SHA for b250492 - Browse repository at this point
Copy the full SHA b250492View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.15.0...v0.16.0