Repository navigation
refactor(op): Create plan provider, flatten plan namespace (#264) - #266
Merged
Merged
Conversation
added 3 commits
March 25, 2026 11:05
Phase 1 of extracting starlark from pkg/op. The plan Provider is an executing receiver whose methods create graph nodes during script evaluation. - Create pkg/op/provider/plan with Provider (Complete, Degraded, Fatal, WaitUntil, Gather, Choose) and factory (PlanReceiverFactory) - PlanRoot becomes thin namespace assembly: plan Provider's ExecutingReceiver + sub-namespace attributes - Flatten plan namespace: plan.flow.complete -> plan.complete, etc. - Delete flow/planned.go (methods moved to plan Provider) - Remove PlanningReceiverFactory from flowProvider - Remove plan.source (redundant with plan.file.read_text) - Add PlanReceiverFactory interface to pkg/op/provider.go - Add Go pointer handle passthrough to unmarshal infrastructure - Update devlore-test scripts for flat namespace - Regenerated receiver code from updated doc-comment template
Phase 1 of extracting starlark from pkg/op. The plan Provider is an executing receiver whose methods create graph nodes during script evaluation. - Create pkg/op/provider/plan with Provider (Complete, Degraded, Fatal, WaitUntil, Gather, Choose) and factory (PlanReceiverFactory) - PlanRoot becomes thin namespace assembly: plan Provider's ExecutingReceiver + sub-namespace attributes - Flatten plan namespace: plan.flow.complete -> plan.complete, etc. - Delete flow/planned.go (methods moved to plan Provider) - Remove PlanningReceiverFactory from flowProvider - Remove plan.source (redundant with plan.file.read_text) - Add PlanReceiverFactory interface to pkg/op/provider.go - Add Go pointer handle passthrough to unmarshal infrastructure - Update devlore-test scripts for flat namespace - Regenerated receiver code from updated doc-comment template
…actor/devlore-cli into refactor/extract-starlark-from-op
This was referenced Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phase 1 of #264 — extract starlark infrastructure from
pkg/opintopkg/op/bind.pkg/op/provider/plan/) — executing receiver whose methods create graph nodes during script evaluation. Methods:Complete,Degraded,Fatal,WaitUntil,Gather,ChooseExecutingReceiver+ sub-namespace attributes (plan.file,plan.git, etc.)plan.flow.complete->plan.complete,plan.flow.degraded->plan.degraded, etc.flow/planned.go(methods moved to plan Provider),plan.source(redundant withplan.file.read_text)(graph, project, reg)instead of(ctx)*Promise) pass through as-is inunmarshalValueandunmarshalToAnyDeferred to Phase 1.50
**kwargssupport in ExecutingReceiver bridge (needed forplan.degraded/plan.fataltemplate kwargs)Test plan
make test— all packages passmake lint— 198 issues (matches develop baseline)make vet— clean