Skip to content

revert: Remove Java cookbook from main (was merged to wrong branch)#1315

Merged
brunoborges merged 2 commits intomainfrom
revert/java-cookbook-from-main
Apr 6, 2026
Merged

revert: Remove Java cookbook from main (was merged to wrong branch)#1315
brunoborges merged 2 commits intomainfrom
revert/java-cookbook-from-main

Conversation

@brunoborges
Copy link
Copy Markdown
Contributor

Summary

PRs #1313 and #1314 were accidentally merged into main instead of staged. This reverts both merge commits to remove the Java cookbook from main.

The content has been re-targeted to staged in a separate PR.

Reverts

…2.1"

This reverts commit d14dc51, reversing
changes made to 7c6c0be.
This reverts commit 7c6c0be, reversing
changes made to 0c3c5bb.
@brunoborges brunoborges requested a review from aaronpowell as a code owner April 6, 2026 19:20
Copilot AI review requested due to automatic review settings April 6, 2026 19:20
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ This PR targets 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

@brunoborges brunoborges merged commit ba2ade0 into main Apr 6, 2026
13 checks passed
@brunoborges brunoborges deleted the revert/java-cookbook-from-main branch April 6, 2026 19:21
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants