Skip to content

Simplify Yieldstar naming and consolidate CLI error wiring - #40

Closed
djgrant wants to merge 2 commits into
yieldstar-integration-build-2from
yieldstar-integration-simplify
Closed

Simplify Yieldstar naming and consolidate CLI error wiring#40
djgrant wants to merge 2 commits into
yieldstar-integration-build-2from
yieldstar-integration-simplify

Conversation

@djgrant

Copy link
Copy Markdown
Collaborator

Changes

  • Rename all Notation-owned YieldStar identifiers to Yieldstar with no aliases (upstream imports unchanged)
  • RenameYieldStar prose to Yieldstar across docs, examples, and changeset
  • Consolidate duplicate deploy/destroy CLI error wiring into shared runWithCliErrorHandling helper
  • Preserve all durable semantics; no old synchronous/lease/refresh/fallback paths restored

Identifier renames

BeforeAfter
YieldStarStateBackendYieldstarStateBackend
deployWithYieldStardeployWithYieldstar
destroyWithYieldStardestroyWithYieldstar
NodeYieldStarRuntimeNodeYieldstarRuntime
yieldStarResourceStateStoreyieldstarResourceStateStore
yieldStarDeploymentCoordinationStoreyieldstarDeploymentCoordinationStore
YieldStarOperationOptionsYieldstarOperationOptions
YieldStarDeployOptionsYieldstarDeployOptions
YieldStarDestroyOptionsYieldstarDestroyOptions

Verification

  • Build: passed
  • Typecheck: passed
  • Full test suite: 77 passed, 4 skipped
  • Markdown physical-line audit: no mid-sentence breaks

- Encode the deployment segment of resource store IDs so prefix listing in values() and clear() cannot match another deployment whose ID extends this one past the delimiter, which previously allowed cross-deployment orphan deletion.
- Emit a durable reconciler.coordination.waiting warning naming the holding execution before an execution suspends on the deployment coordination store, so waiting behind a crashed holder is visible.
- Give notation destroy the same terminal error handling as deploy: credentials guidance and a non-zero exit instead of an unhandled rejection.
- Add regression tests for deployment store scoping and the coordination waiting event; update reconciler docs.
- Rename all Notation-owned YieldStar identifiers to Yieldstar (no aliases)
- Rename YieldStar prose to Yieldstar across docs, examples, and changeset
- Extract shared runWithCliErrorHandling helper from deploy/destroy commands
- Leave upstream package imports (@yieldstar/core, yieldstar) unchanged
@djgrant

Copy link
Copy Markdown
CollaboratorAuthor

Superseded by the squashed two-PR stack: #42 (reconciliation foundation) and #43 (runtime and CLI cutover). The combined result of that stack is byte-identical to this stack's final tree.

@djgrantdjgrant closed this Jul 22, 2026
Sign up for freeto 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

@djgrant