fix(job): propagate spec.tags to Job.tags on job.create #50

Merged
mahmoud merged 1 commit from development_job_tags_propagation into development 2026-04-27 16:44:01 +00:00
Owner

The RPC handler stored the ActionSpec on job.spec (with tags) but never
copied tags onto the top-level Job.tags. As a result JobSummary.tags
returned by job.list was always empty, breaking every caller that
filters or matches by tag — including hero_codescalers' Jobs tab and the
new jobs.cleanup RPC.

One-line fix: set tags: spec.tags.clone() before moving spec into the
struct.

The RPC handler stored the ActionSpec on `job.spec` (with tags) but never copied tags onto the top-level `Job.tags`. As a result `JobSummary.tags` returned by `job.list` was always empty, breaking every caller that filters or matches by tag — including hero_codescalers' Jobs tab and the new `jobs.cleanup` RPC. One-line fix: set `tags: spec.tags.clone()` before moving spec into the struct.
fix(job): propagate spec.tags to Job.tags on job.create
All checks were successful
Tests / test (pull_request) Successful in 3m55s
Build and Test / build (pull_request) Successful in 5m42s
91bb2664c7
The RPC handler stored the ActionSpec on `job.spec` (with tags) but never
copied tags onto the top-level `Job.tags`. As a result `JobSummary.tags`
returned by `job.list` was always empty, breaking every caller that
filters or matches by tag — including hero_codescalers' Jobs tab and the
new `jobs.cleanup` RPC.

One-line fix: set `tags: spec.tags.clone()` before moving spec into the
struct.
mahmoud merged commit 115f74c035 into development 2026-04-27 16:44:01 +00:00
mahmoud deleted branch development_job_tags_propagation 2026-04-27 16:44:04 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_proc!50
No description provided.