Repository navigation
Conversation
Bobowski
added a commit
that referenced
this pull request
Nov 6, 2026
## Intent Remove the 0.12 compatibility for 0.14. Source: the user. This replaces #79, which GitHub closed when its base branch went away. ## Found Yard 0.13 reads two 0.12 forms: - An app record with an image or a URL in `runs`. 0.13.1 writes each such record in the new form when Yard starts. - The deploy labels `sha` and `previous`. Each deploy writes the new labels, and since #78 one function reads them: `status.labels_plan`. On the host, every app record and every deploy container already has the 0.13 form. ## Changed - `_read_app` no longer moves `runs` into `image` or `compose_url`. `Store.open` no longer rewrites records. - `labels_plan` reads only the 0.13 keys. A deploy container with only `sha` counts as no plan, so the next check deploys the app once. - The tests for the 0.12 forms are gone. One test keeps the rule: a record with no revision or no kind has no plan. - The changelog says to upgrade a 0.12 host through 0.13.2 first. ## Proof ``` just check 523 passed ``` `uvx vulture app` finds no dead code (only dataclass fields that go out as JSON and HTTP handler methods). `ruff --select F401,F841,ERA001` passes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
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.
Intent
Remove the 0.12 compatibility in 0.14. Source: the user. Keep this pull request open until the 0.14 release.
Found
Yard 0.13 reads two 0.12 forms:
runs. 0.13.1 writes each such record in the new form when Yard starts.shaandprevious. Each deploy writes the new labels, and after Read the 0.13 labels in the deploy rows of yard events #78 one function reads them:status.labels_plan.Changed
_read_appno longer movesrunsintoimageorcompose_url.Store.openno longer rewrites records.labels_planreads only the 0.13 keys. A deploy container with onlyshacounts as no plan, so the next check deploys the app once.Order
main.0.13.2.Proof
🤖 Generated with Claude Code