Skip to content

feat: handle Delete_Layer tasks flow (MAPCO-10814) - #72

Merged
CL-SHLOMIKONCHA merged 11 commits into
masterfrom
feat/delete-layer-tasks-flow
Jul 26, 2026
Merged

CL-SHLOMIKONCHA merged 11 commits into
masterfrom
feat/delete-layer-tasks-flow

Conversation

@roicohen326

Copy link
Copy Markdown
Contributor
Question Answer
Bug fix ✖
New feature ✔
Breaking change ✖
Deprecations ✖
Documentation ✖
Tests added ✖
Chore ✖

roicohen326 and others added 11 commits July 15, 2026 16:38
Add a DeleteLayerJobHandler for the new Delete_Layer job type, wiring
its task flow (delete -> tiles-deletion -> artifacts-deletion ->
finalize) through config, helm, and the job handler factory. The
tiles-deletion and artifacts-deletion tasks are excluded from
auto-creation since another service creates them with real per-layer
parameters job-tracker doesn't have.

Bumps @map-colonies/raster-shared to 8.3.0-alpha.0 (exact pin, matching
ingestion-trigger) since the deletion types are only available on the
alpha track.
Cover the cross-repo context, the generic job/task engine, the design
rationale behind the new handler, config wiring across all four
layers, the raster-shared alpha-pin situation, and the test strategy.
A separate, jargon-free doc explaining what job-tracker does, what a
"handler" is, and what changed for Delete_Layer — for anyone who wants
the gist without the code-level deep-dive.
Delete_Layer tasks are all created externally - job-tracker no longer
creates any task for this job type. The job completes when all tasks
are done (isJobCompleted override, like the seed handler).
A tiles-deletion task always follows delete, so the job completes only
when all tasks are done and the completed notification is for
tiles-deletion - a completed delete alone never completes the job.
…_DELETION

JOB_DEFINITIONS_TASK_DELETION was easily confused with
JOB_DEFINITIONS_TASK_DELETE (the delete task).
Remove redundant pending-deletion-tasks progress test (only one delete
task ever exists) and add a failed tiles-deletion task scenario.
Comment thread src/tasks/handlers/deleteLayer/deleteLayerHandler.ts Outdated
@CL-SHLOMIKONCHA
CL-SHLOMIKONCHA merged commit 211a89f into master Jul 26, 2026
5 checks passed
@CL-SHLOMIKONCHA
CL-SHLOMIKONCHA deleted the feat/delete-layer-tasks-flow branch July 26, 2026 11:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants