refactor(workflow): remove release constructs no consumer uses; release 0.3.1-dev.4 #79

Merged
john merged 1 commit from chore/purge-unused-release into main 2026-11-25 15:00:36 +00:00
Owner

Part of the post-migration purge (dead code / migration-only code review).

Removed (no consumer uses them; checked every consumer repo's non-test Go on main):

  • workflow.NewServiceRelease, ServiceReleaseProps, ServiceRelease, NewScopedRelease, ScopedReleaseProps (Arch stopped using them in the two-key cutover; it builds owned bodies with NewPipeline + CallStep).
  • workload.TenantContext.NewPipeline, NewReleaseEntry, Local, Workers (direct-node graph builders).
  • pipeline.Bound.NewWorkflow (only caller was Arch's unreachable Preview(), removed in the matching Arch purge).

Kept: workload admission/grants/authorization (Registry, Admit, Authorize, TenantContext.Call, BindRelease, Call.Params), NewEntry, NewScopedEntry, NewPipeline, CallStep, pipeline registry/bind/catalog. The workload tests keep the relocation and inherited-authorization checks via Call.Params().

Consumers: corn/ai/monitoring/dev import only pipeline.Manifest/Spec/Step and workload declarations; Arch is updated in the same purge. check.sh passes (vet, tests, govulncheck). 15 insertions, 260 deletions.

Part of the post-migration purge (dead code / migration-only code review). Removed (no consumer uses them; checked every consumer repo's non-test Go on main): - `workflow.NewServiceRelease`, `ServiceReleaseProps`, `ServiceRelease`, `NewScopedRelease`, `ScopedReleaseProps` (Arch stopped using them in the two-key cutover; it builds owned bodies with `NewPipeline` + `CallStep`). - `workload.TenantContext.NewPipeline`, `NewReleaseEntry`, `Local`, `Workers` (direct-node graph builders). - `pipeline.Bound.NewWorkflow` (only caller was Arch's unreachable `Preview()`, removed in the matching Arch purge). Kept: `workload` admission/grants/authorization (`Registry`, `Admit`, `Authorize`, `TenantContext.Call`, `BindRelease`, `Call.Params`), `NewEntry`, `NewScopedEntry`, `NewPipeline`, `CallStep`, `pipeline` registry/bind/catalog. The workload tests keep the relocation and inherited-authorization checks via `Call.Params()`. Consumers: corn/ai/monitoring/dev import only `pipeline.Manifest/Spec/Step` and `workload` declarations; Arch is updated in the same purge. `check.sh` passes (vet, tests, govulncheck). 15 insertions, 260 deletions.
refactor!: remove release constructs no consumer uses; release 0.3.1-dev.4
Some checks failed
CI / release-check-1 (pull_request) Successful in 14s
CI / release-check (pull_request) Successful in 0s
CI / checks (pull_request) Failing after 1m30s
6a99d50b2c
Removes workflow.NewServiceRelease/ServiceReleaseProps/ServiceRelease/NewScopedRelease/ScopedReleaseProps,
workload.TenantContext.NewPipeline/NewReleaseEntry/Local/Workers and pipeline.Bound.NewWorkflow.
No consumer uses them (arch after its two-key cutover builds bodies with workflow.NewPipeline +
CallStep; corn/ai/monitoring/dev use only pipeline.Manifest/Spec/Step and workload declarations).
workload keeps admission, grants and authorization; tests keep the relocation/inheritance checks.
john changed title from refactor!: remove release constructs no consumer uses; release 0.3.1-dev.4 to refactor(workflow)!: remove release constructs no consumer uses; release 0.3.1-dev.4 2026-11-25 14:58:10 +00:00
john force-pushed chore/purge-unused-release from 6a99d50b2c
Some checks failed
CI / release-check-1 (pull_request) Successful in 14s
CI / release-check (pull_request) Successful in 0s
CI / checks (pull_request) Failing after 1m30s
to 327f33eca8
Some checks failed
CI / checks (pull_request) Has been cancelled
CI / release-check (pull_request) Has been cancelled
CI / release-check-1 (pull_request) Has been cancelled
2026-11-25 14:58:11 +00:00
Compare
john changed title from refactor(workflow)!: remove release constructs no consumer uses; release 0.3.1-dev.4 to refactor(workflow): remove release constructs no consumer uses; release 0.3.1-dev.4 2026-11-25 14:58:25 +00:00
john force-pushed chore/purge-unused-release from 327f33eca8
Some checks failed
CI / checks (pull_request) Has been cancelled
CI / release-check (pull_request) Has been cancelled
CI / release-check-1 (pull_request) Has been cancelled
to 922dae57b3
All checks were successful
CI / release-check-1 (pull_request) Successful in 15s
CI / release-check (pull_request) Successful in 0s
CI / checks (pull_request) Successful in 1m56s
2026-11-25 14:58:26 +00:00
Compare
john merged commit 37a10e821a into main 2026-11-25 15:00:36 +00:00
john deleted branch chore/purge-unused-release 2026-11-25 15:00:36 +00:00
Sign in to join this conversation.
No reviewers
No labels
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
john/cdk!79
No description provided.