fix: remove stale URN-prefixed alias files breaking Zeitwerk#466
fix: remove stale URN-prefixed alias files breaking Zeitwerk#466gjtorikian merged 1 commit intomainfrom
Conversation
These 5 files were left over from a previous codegen run. The current oagen-emitters strips URN prefixes via `stripUrnPrefix`, so these alias files are no longer generated and are not tracked in the oagen manifest. Their presence causes Zeitwerk autoload errors because the `OAuth` casing in the constant name doesn't match Zeitwerk's default inflection (`Oauth`), and no inflection override was ever emitted for them. Fixes #463 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Greptile SummaryThis PR removes 5 stale auto-generated alias files that define deprecated URN-prefixed constant names (e.g. Confidence Score: 5/5Purely a deletion of stale auto-generated alias files; safe to merge. All 5 changes are simple file deletions of deprecated, auto-generated constant aliases. No logic is introduced or modified, and the PR description clearly explains the root cause (Zeitwerk autoload failures from orphaned codegen artifacts). No security, correctness, or breaking-change concerns were found. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[oagen codegen run] -->|stripUrnPrefix applied| B[Generates canonical class files\ne.g. DeviceCodeSessionAuthenticateRequest]
A -->|stale artifact — no longer generated| C[URN-prefixed alias files\ne.g. UrnIetfParams...Request]
C -->|Zeitwerk encounters file| D[Autoload error:\nconstant name mismatch]
B -->|This PR: deletes alias files| E[Zeitwerk autoloads cleanly]
D -.->|fixed by PR #466| E
Reviews (1): Last reviewed commit: "fix: remove stale URN-prefixed alias fil..." | Re-trigger Greptile |
These 5 files were left over from a previous codegen run. The current oagen-emitters strips URN prefixes via
stripUrnPrefix, so these alias files are no longer generated and are not tracked in the oagen manifest. Their presence causes Zeitwerk autoload errors.Fixes #463