Skip to content

fix(refresh): revert semantic skip so agent.yaml formatting can normalize - #108

Merged
edenreich merged 1 commit into
mainfrom
revert/refresh-semantic-skip
Jul 15, 2026
Merged

edenreich merged 1 commit into
mainfrom
revert/refresh-semantic-skip

Conversation

@edenreich

@edenreich edenreich commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Reverts #107 (the elif semantic-skip in refresh-agent-manifest.yml) and instead normalizes agent.yaml with prettier (--prose-wrap always --print-width 80) after the yq merge.

Why

Run 29450943021 skipped every agent with "semantically unchanged (yq formatting churn only)". Reproduced locally against google-calendar-agent with ADL CLI v0.50.0: the merge added no new keys and the whole diff was yq collapsing folded >- blocks into single lines. The semantic skip discarded that on every run, so manifests never converged to a stable formatting and the plain git diff --quiet skip could never engage.

yq + prettier is idempotent (verified locally: prettier(yq(prettier(x))) == prettier(x)), so each agent gets one formatting-normalization PR and after that, no-change re-runs are byte-identical and skip cleanly. The merged+prettified manifest passes adl validate.

Test plan

  • Run refresh-agent-manifest.yml (dry run) and confirm agents report a real diff
  • Merge the per-agent normalization PRs; a follow-up run should skip with "already matches"

…lize

Reverts #107. The sort_keys comparison classified every diff as
formatting churn and discarded it, so refresh runs never produced PRs
and manifests never converged to yq's canonical style. Accept the
one-time formatting normalization instead: after it lands, unchanged
re-runs are byte-identical and the plain git diff --quiet skip holds.
@edenreich
edenreich merged commit 90eee66 into main Jul 15, 2026
@edenreich
edenreich deleted the revert/refresh-semantic-skip branch July 15, 2026 21:17
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 21, 2026
## [0.23.0](v0.22.5...v0.23.0) (2026-07-21)

### ✨ Features

* **refresh:** normalize agent.yaml formatting with prettier after merge ([#109](#109)) ([e2ac8c0](e2ac8c0))

### 🐛 Bug Fixes

* **orchestrators:** install prettier for operator agent runs ([#111](#111)) ([d89d358](d89d358))
* **refresh:** revert semantic skip so agent.yaml formatting can normalize ([#108](#108)) ([90eee66](90eee66))
* **refresh:** skip formatting-only agent.yaml diffs from yq round-trip ([#107](#107)) ([6cf5205](6cf5205))
* **workflows:** sign commits on workflow_dispatch runs so they attribute to the maintainer app ([ead5ae9](ead5ae9))
* **workflows:** standardize commit message casing for agent.yaml refresh ([fa3c6c9](fa3c6c9))
* **workflows:** use full model id claude-fable-5 in claude.yml default ([#115](#115)) ([0c995c6](0c995c6))

### 👷 CI

* replace SDK drift audit with reusable deterministic schemas sync ([#116](#116)) ([9237988](9237988))

### 📚 Documentation

* add issue template fetching instructions ([de57dc5](de57dc5))

### 🔧 Miscellaneous

* **deps:** update Claude Code Action to version 1.0.178 ([3597abf](3597abf))
* **deps:** update Claude Code Action version to v1.0.177 ([bc2e720](bc2e720))
* **deps:** update default infer CLI version to v0.147.1 ([ec6fbdc](ec6fbdc))
* **deps:** update Infer CLI version and action version ([c5e9aac](c5e9aac))
* **deps:** update Infer CLI version and action version ([ad55296](ad55296))
* **deps:** update Infer CLI version and action version ([5df465d](5df465d))
* **deps:** update infer-action version to v0.33.1 ([afc002d](afc002d))
* **deps:** update infer-action version to v0.34.0 ([c7ceddf](c7ceddf))
* modify default values in claude.yml workflow ([bb16906](bb16906))
* **release:** update GitHub App credentials to use RELEASER_APP_ID and RELEASER_APP_PRIVATE_KEY ([5e63390](5e63390))
* update infer to v0.146.0 ([993b5f8](993b5f8))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.23.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant