Skip to content

dwoc-custom-init-containers-v1#16

Open
akurinnoy wants to merge 5 commits into
mainfrom
supervisor/cfc7c778-d1fb-4849-8782-0da861703254
Open

dwoc-custom-init-containers-v1#16
akurinnoy wants to merge 5 commits into
mainfrom
supervisor/cfc7c778-d1fb-4849-8782-0da861703254

Conversation

@akurinnoy

Copy link
Copy Markdown
Owner

Summary

Automated implementation via supervisor execution pipeline.

Run ID: cfc7c778-d1fb-4849-8782-0da861703254
Plan ID: dwoc-custom-init-containers-v1
Waves completed: 3/3

Tasks

  • T1: Add command validation to EnsureHomeInitContainerFields
  • T2: Add unit tests for EnsureHomeInitContainerFields validation
  • T3: CI and lint compliance verification and PR creation

Integration Waves

  • Wave 1: merged T1
  • Wave 2: merged T2
  • Wave 3: merged T3

akurinnoy and others added 5 commits July 1, 2026 11:37
When a caller supplies an explicit Command to the init-persistent-home
container, validate that it equals exactly [/bin/sh, -c]. Any other
value returns a descriptive error so the workspace controller can fail
the workspace cleanly.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Adds TestEnsureHomeInitContainerFields covering empty command default,
valid command passthrough, invalid command errors, and VolumeMount
assertions. Includes a comment explaining why no YAML fixture is added.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
… tests

- Remove unused expectCustomInitSkipped bool field from TestCustomInitPersistentHome
- Add TestNeedsPersistentHomeDirectoryEphemeral covering the ephemeral storage
  branch of NeedsPersistentHomeDirectory introduced in T1: ephemeral workspaces
  return false unless init-persistent-home is explicitly in the DWOC
- TestEnsureHomeInitContainerFields already present; no YAML fixtures added
  because EnsureHomeInitContainerFields is not on the AddPersistentHomeVolume path

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
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