Skip to content

fix(worker): restore unique per-node volume names#271

Merged
LuD1161 merged 1 commit intomainfrom
fix/restore-unique-volume-names
Feb 7, 2026
Merged

fix(worker): restore unique per-node volume names#271
LuD1161 merged 1 commit intomainfrom
fix/restore-unique-volume-names

Conversation

@LuD1161
Copy link
Contributor

@LuD1161 LuD1161 commented Feb 7, 2026

Summary

  • Fixes regression from fix(worker): use deterministic volume naming for workflow execution #270 — deterministic naming (tenant-{id}-run-{runId}) removed timestamps, making every node in the same workflow run share one Docker volume name
  • Parallel branches can overwrite each other's files and one branch's cleanup can remove the shared volume while another branch is still using it
  • Reverts to timestamp-based naming in initialize() so each node gets a unique volume
  • Removes deriveVolumeName() — scanners should receive the volume name from clone-repo's output via the workflow graph, not derive it

Test plan

  • Run a workflow with parallel nodes that each create their own volume — verify unique names
  • Run a clone-repo → scanner workflow — verify scanners receive volumeName from clone-repo output via graph edges

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6ee498f2c2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

…ode names

The deterministic naming from f8caa000 made every node in the same
workflow run share one Docker volume name. Parallel branches can
overwrite each other's files and cleanup can remove the volume while
another branch is still using it.

Restore timestamp-based naming in initialize() so each node gets a
unique volume. Remove deriveVolumeName() — downstream components
(scanners) should receive the volume name from clone-repo's output
via the workflow graph instead of deriving it.

Signed-off-by: Aseem Shrey <LuD1161@users.noreply.github.com>
@LuD1161 LuD1161 force-pushed the fix/restore-unique-volume-names branch from 6ee498f to 13672e0 Compare February 7, 2026 20:27
@LuD1161 LuD1161 merged commit 187f47e into main Feb 7, 2026
3 checks passed
@LuD1161 LuD1161 deleted the fix/restore-unique-volume-names branch February 7, 2026 20:30
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.

1 participant