You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[scanner] Add the hub Fleet activity page /activity with ETag polling, Hive chips and group-by-hive headers #16063
Part of #15965 (fourth child of RFC #15861 by @hanthor). Second of three ordered pieces; blocked by #16062, which provides the shared row asset this page embeds.
What
Add the read-only hub Fleet activity page at /activity, linked next to the existing 🔬 Evidence drill-down (src/pkg/hub/server.go route table near evidencePath; page pattern in src/pkg/hub/saas_pages.go / assets/dashboard.html).
Add a Hive column with colour chips. Group-by-hive renders one header row per hive with item counts, freshness (stale after two missed heartbeats, from the heartbeat timestamps the ring already stores) and an "upgrade to report activity" note for reporting: false spokes.
Truncation (truncated / events_dropped) and stale or missing sources are always visible on the board, never hidden behind a tooltip.
Rows link to the item on GitHub; the hive chip links to that hive's own tracker via the hub's existing hive routes. No action menus.
Titles render as text (never innerHTML) and are length-capped server-side in ActivityView.
src/docs/ page for the hub Fleet activity view (link it from src/docs/hosted-hub.md), and a changelog.d/added-*.md fragment.
Acceptance
Test with two spokes heartbeating to one hub: a user scoped to one hive sees only that hive's rows; an admin sees both, verified through the page handler (extend the pattern in src/pkg/hub/activity_test.go / *_ui_test.go).
The page serves with the hub's CSP (src/pkg/dashboard/webstatic/csp_script_src.go conventions) and the static-asset cache headers already used by src/pkg/hub/static.
Display-mode integration (?kiosk=1, am.*, ?display=1, hub-activity playlist view) is deliberately left to the third child.
Decision taken by hive: ship the plain polled page first; display mode follows separately so the page can be reviewed on its own.
Attribution requirement inherited from #15861: mention @hanthor in the PR description and link #15861 and #15965; state what shipped separately from activation status.
🔒 Claimed by @Karibhou (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply /unclaim to release, or /claim to take it over if you outrank the holder.
Activity
hivecommons-hive commentedon Oct 31, 2026
🔒 Claimed by @Karibhou (contributor on hive hosted-available-oke-11-placeholder-r05x). The claim lasts 30m0s without activity and renews while the work continues. Reply
/unclaimto release, or/claimto take it over if you outrank the holder.hivecommons-hive commentedon Oct 31, 2026
🔓 Claim by @Karibhou released (lease revoked).
🌱 test(hub): assert the activity page globals against trackerrow.Requ…
✨ feature(hub): add the Fleet activity page /activity with ETag polli…
✨ feature(hub): wire the Fleet activity page into display mode
✨ feature(hub): wire the Fleet activity page into display mode (#16088)