Repository navigation
treaty rc13: --yes previews as dry runs, declared report directories - #10
Merged
Merged
Conversation
rc13 lands treaty #197 and #184. --yes is Flag(confirm=True) on
operations approve, migrate, deploy, rollback, restart and data migrate,
so a run without it is treaty's dry run: would_update and meta.dry_run,
where it answered noop. dashboard build, services inspect and observe are
safe again: they only read the fleet and declare the reports they
regenerate under {project_root}/tmp/, with the resource kind directories
as project markers, so their answers drop effect and observe's retryable
INCOMPLETE no longer draws the audit warning.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
treaty 1.0.0rc13 and the two fixes it brings. Stacked on #9 (base
treaty-rc12) → #8 → #7 → #6.Changes
--yespreviews are dry runs (treaty #197):yes: bool = Flag(confirm=True)onoperations approve,migrate,deploy,rollback,restartanddata migrate. Without--yesthe run answerseffect: would_updatewithmeta.dry_run: true(wasnoop); the flag keeps its name, andexec --dry-runalways previewsdashboard build,services inspectandobserveonly read the fleet; they declare what they regenerate asSideEffect("{project_root}/tmp/.../", "cache"), with the resource kind directories asproject_root=markers. Their answers dropeffect, andobserve's retryableINCOMPLETEno longer draws the #210 audit warningChecks
uv run pytest: 457 passed (FORCE_COLORunset); ruff, mypy cleantreaty audit --strict cloudfall.app:app: no warnings, advice onlyoperations propose(check 0) →operations approvewithout--yes(would_update,meta.dry_run: true) → with--yes(updated, decisionexecuted)🤖 Generated with Claude Code