Mod-side rollout: push EcoJobsTracker.dll with lastSeen field to kai-server #31
Labels
No labels
burndown-2026-06
burndown-2026-08
headless
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/eco-app#31
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally filed by @coilysiren on 2026-05-09T06:30:53Z
Context
#3 changed the mod's
/api/v1/skillsDTO from `active: bool` to `lastSeen: string | null`, with the Python tracker deriving "active" from that timestamp. The web app shipped (eco-jobs-tracker.coilysiren.me), but the C# mod DLL on kai-server is still the pre-#3 build, so the live dashboard saw `lastSeen` missing on every player and rendered the entire active set as 0/N.A backwards-compat shim landed in `upstream.py` that falls back to the old `active: bool` so the dashboard reflects "online right now" until the new mod is in place. That restores pre-#3 behavior for now.
To complete the rollout
After the rollout lands
Delete the `active: bool` fallback in `src/eco_spec_tracker/upstream.py:_resolve_last_seen` and the matching test fixture (`tests/test_smoke.py:OLD_MOD_FIXTURE`).
Migrated from coilyco-flight-deck/eco-jobs-tracker#5 during the eco repo consolidation (coilysiren/inbox#100).
Completion evidence: the live fused jobs API reports upstream data rather than mocks, and its seven-day active count exceeded the simultaneous public online count. That cannot come from the retired
active: boolonline-only fallback. Commite042ea5removed that compatibility branch and its old-mod fixture after the live contract was proven. The focused jobs tests passed as part of the 540 passing tests on native Windows.