This repository was archived by the owner on Jun 17, 2026. It is now read-only.
Commit 6659d43
Fix codegen and build failures after @github/copilot update
Handle cross-schema $ref values (e.g. session-events.schema.json#/definitions/TypeName)
in the Java code generator. Previously the codegen emitted the raw $ref string as a Java
type name, causing compilation errors. Now cross-schema refs are resolved by loading the
referenced schema's definitions and recursing into schemaTypeToJava with the resolved schema.
Automated fix applied by codegen-agentic-fix workflow.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 7a4ea8d commit 6659d43
3 files changed
Lines changed: 42 additions & 2 deletions
File tree
- scripts/codegen
- src/generated/java/com/github/copilot/sdk/generated/rpc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
131 | 136 | | |
132 | 137 | | |
133 | 138 | | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
134 | 161 | | |
135 | 162 | | |
136 | 163 | | |
| |||
883 | 910 | | |
884 | 911 | | |
885 | 912 | | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
886 | 926 | | |
887 | 927 | | |
888 | 928 | | |
| |||
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments