Skip to content

chore: add DEV workflow instructions for librarian#13277

Closed
sofisl wants to merge 4 commits into
mainfrom
addDevWorkflow
Closed

chore: add DEV workflow instructions for librarian#13277
sofisl wants to merge 4 commits into
mainfrom
addDevWorkflow

Conversation

@sofisl
Copy link
Copy Markdown
Contributor

@sofisl sofisl commented May 26, 2026

Fixes googleapis/librarian#5497

cc @JoeWang1127 @zhumin8, PTAL, not sure about all of these (tested the workflows locally though).

sofisl added 3 commits May 26, 2026 20:44
Adds instructions on:
- How to find the Librarian on-call schedule and support contacts
- Review and approval requirements for librarian.yaml changes
- How to run Librarian locally to test changes to the generator or librarian.yaml
@sofisl sofisl requested a review from a team as a code owner May 26, 2026 22:45
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates sdk-platform-java/DEVELOPMENT.md to add documentation for the Client Library Generation tool, Librarian. It includes contact information, review requirements, prerequisites, and step-by-step instructions for running the generator with local changes. A review comment correctly identified a typo in the prerequisites section, suggesting to change 'JD17' to 'JDK 17'.

Comment thread sdk-platform-java/DEVELOPMENT.md Outdated
Comment on lines +72 to +73
* **On-Call Schedule:** You can check the current on-call rotation at `go/librarian-oncall` or by checking the rotation schedule at [Librarian Rotations](https://rotations.corp.google.com/rotation/6013581851623424).
* **Email:** Reach out to `cloud-sdk-librarian-oncall@google.com`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'd put link to go/g3doc-sdk-librarian here. This central location avoids info drifting away, and I am a bit nervous putting internal emails here publictly.

If you want to test changes to the generator (`gapic-generator-java`) or local changes to `librarian.yaml` (e.g., testing a protobuf major version bump or unmerged generator change):

1. **Modify `librarian.yaml` to point to the new version.**
- If you want to point to an experimental version of the generator, you can update `local_path` to the local path you want to test.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think this is needed. The librarian.yaml is setup pointing to snapshot from google-cloud-java local build.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
@sonarqubecloud
Copy link
Copy Markdown

@sonarqubecloud
Copy link
Copy Markdown

@zhumin8
Copy link
Copy Markdown
Contributor

zhumin8 commented May 27, 2026

Closing to work in a draft doc. Will open new PR when ready.

@zhumin8 zhumin8 closed this May 27, 2026
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.

java: update development docs for the Java team

2 participants