Repository navigation
improvement: make endpoint migration previews diffable and writes atomic - #45
mojtaba-arvin wants to merge 28 commits into
Conversation
|
Cross-PR review note before this draft is advanced:
The full CI gate and both CodeQL languages now pass on |
|
Follow-up from the cross-PR audit: I removed the unrelated Commit: CI for this new head is still pending; I will treat the earlier passing runs as evidence only for the previous SHA. |
|
Superseded by the consolidated integration PR #58, which includes this work and passed the complete required PR gate on exact head |
Summary
Make the endpoint migration command safe, deterministic, and explicit about work it cannot perform.
--write,--dry-run, and--diffmutually exclusive.**kwargs, comments, or parse failures).endpointdecorator so those legacy calls are not silently missed.--diff, and report rewrite/skip totals.CommandErroridentifying the failed file and listing earlier files already updated. The command explicitly documents that atomicity is per file, not a transaction across the directory.Cross-PR coordination
Removed the endpoint-removal/OpenAPI feature claim from
docs/README.mdon this branch (restored it to the currentmainversion). That claim remains with PR #44, which contains the implementation and consumer example. This PR therefore no longer depends on PR #44's merge order.Verification
Latest head:
aab322b0c3aaac1667b03c9d1fa64c1c2075fdc5.Full CI passed.
The exact head passed the full pull-request gate: unit/integration tests, lint, package build, website verification, Windows and macOS jobs, and every configured Python/Django tox environment. CodeQL also passed. Run: https://github.com/mojtaba-arvin/django-api-versioning/actions/runs/44356748138
PR remains Draft pending final cross-PR review; no merge or ready-for-review action has been taken.