You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ci: librarian checks should indicate steps to repair #9148
When the tidy or generate checks fail, it isn't perfectly clear how to recover. Mainly, the version check isn't obvious:
Regeneration failed. Please run 'librarian generate --all' to update the generated files.
Ideally this is a (very short) script we run like ci/librarian
# Get the librarian version currently used in node
V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version)# format librarian.yaml file
go run github.com/googleapis/librarian/cmd/librarian@${V} tidy
# install all node dependencies specified in librarian.yaml
go run github.com/googleapis/librarian/cmd/librarian@${V} install
# run generate to apply all changes to repo-metadata
go run github.com/googleapis/librarian/cmd/librarian@${V} generate --all
Activity