revert: Remove Java cookbook from main (was merged to wrong branch)#1315
Merged
brunoborges merged 2 commits intomainfrom Apr 6, 2026
Merged
revert: Remove Java cookbook from main (was merged to wrong branch)#1315brunoborges merged 2 commits intomainfrom
brunoborges merged 2 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
main, but PRs should target staged.
The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.
You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1315 --base staged
Contributor
There was a problem hiding this comment.
Pull request overview
Reverts previously merged Java Copilot SDK cookbook content from main (it was intended for staged) and updates cookbook indexes to reflect the removal.
Changes:
- Remove the Java section and execution instructions from the Copilot SDK cookbook index.
- Update the top-level cookbook README to remove Java from the language list.
- Delete all Java cookbook recipe docs and runnable JBang examples from
main.
Show a summary per file
| File | Description |
|---|---|
| cookbook/README.md | Removes Java from the Copilot SDK Cookbook language list (and fixes the list formatting). |
| cookbook/copilot-sdk/README.md | Removes the Java recipe section + Java “Running Examples” instructions; updates supported language count. |
| cookbook/copilot-sdk/java/README.md | Deletes the Java cookbook landing page from main. |
| cookbook/copilot-sdk/java/accessibility-report.md | Deletes the Java accessibility report recipe doc from main. |
| cookbook/copilot-sdk/java/error-handling.md | Deletes the Java error-handling recipe doc from main. |
| cookbook/copilot-sdk/java/managing-local-files.md | Deletes the Java local-files recipe doc from main. |
| cookbook/copilot-sdk/java/multiple-sessions.md | Deletes the Java multiple-sessions recipe doc from main. |
| cookbook/copilot-sdk/java/persisting-sessions.md | Deletes the Java persisting-sessions recipe doc from main. |
| cookbook/copilot-sdk/java/pr-visualization.md | Deletes the Java PR-visualization recipe doc from main. |
| cookbook/copilot-sdk/java/ralph-loop.md | Deletes the Java Ralph loop recipe doc from main. |
| cookbook/copilot-sdk/java/recipe/README.md | Deletes the Java runnable-recipes README from main. |
| cookbook/copilot-sdk/java/recipe/AccessibilityReport.java | Deletes the Java runnable AccessibilityReport JBang script from main. |
| cookbook/copilot-sdk/java/recipe/ErrorHandling.java | Deletes the Java runnable ErrorHandling JBang script from main. |
| cookbook/copilot-sdk/java/recipe/ManagingLocalFiles.java | Deletes the Java runnable ManagingLocalFiles JBang script from main. |
| cookbook/copilot-sdk/java/recipe/MultipleSessions.java | Deletes the Java runnable MultipleSessions JBang script from main. |
| cookbook/copilot-sdk/java/recipe/PersistingSessions.java | Deletes the Java runnable PersistingSessions JBang script from main. |
| cookbook/copilot-sdk/java/recipe/PRVisualization.java | Deletes the Java runnable PRVisualization JBang script from main. |
| cookbook/copilot-sdk/java/recipe/RalphLoop.java | Deletes the Java runnable RalphLoop JBang script from main. |
Copilot's findings
- Files reviewed: 18/18 changed files
- Comments generated: 0
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.
Summary
PRs #1313 and #1314 were accidentally merged into
maininstead ofstaged. This reverts both merge commits to remove the Java cookbook frommain.The content has been re-targeted to
stagedin a separate PR.Reverts