Skip to content

test(resource-name): generate code for resource name heuristics demo#4936

Draft
haphungw wants to merge 4 commits intogoogleapis:mainfrom
haphungw:feat-resource-name-demo
Draft

test(resource-name): generate code for resource name heuristics demo#4936
haphungw wants to merge 4 commits intogoogleapis:mainfrom
haphungw:feat-resource-name-demo

Conversation

@haphungw
Copy link
Contributor

@haphungw haphungw commented Mar 7, 2026

Regenerate all client libraries via librarian generate --all.
We've enabled generating resource_name via the resource_name: true toggle in librarian.yaml for APIs that were previously missing resource names or generating incorrect strings.

  • google-cloud-dns-v1
  • google-cloud-build-v1
  • google-cloud-secret-manager-v1
  • google-cloud-api-keys-v2
  • showcase-v1beta1

Depends on:

  1. feat(sidekick/rust): decouple option extraction and support resource names (roll-forward) librarian#4385
  2. fix(sidekick/rust): skip version prefix from generated resource names librarian#4474
  3. feat(sidekick): remove heuristic eligibleServices allowlist librarian#4469
  4. fix(sidekick): crop trailing literals from resource names librarian#4488
  5. feat(sidekick/rust): integrate explicit resource name extraction librarian#4496

@haphungw haphungw force-pushed the feat-resource-name-demo branch 2 times, most recently from 83e90de to 3e0de4a Compare March 7, 2026 04:02
@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.79%. Comparing base (ee6b7bb) to head (378692f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4936      +/-   ##
==========================================
- Coverage   92.81%   92.79%   -0.02%     
==========================================
  Files         225      225              
  Lines        8665     8665              
==========================================
- Hits         8042     8041       -1     
- Misses        623      624       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@haphungw haphungw force-pushed the feat-resource-name-demo branch 9 times, most recently from ef1a24b to 24e9f24 Compare March 10, 2026 11:08
Copy link
Contributor

@westarle westarle left a comment

Choose a reason for hiding this comment

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

would be nice to see heuristic working for dns!

@haphungw haphungw force-pushed the feat-resource-name-demo branch from 74d6095 to 8d03488 Compare March 12, 2026 11:31
@westarle
Copy link
Contributor

would be nice to see heuristic working for dns!

oh and please enable detailedtracingattributes for google-cloud-spanner unless you have another gRPC API enabled (let me know!)

@haphungw haphungw force-pushed the feat-resource-name-demo branch 4 times, most recently from a5e319e to f6d61ff Compare March 12, 2026 23:32
@haphungw
Copy link
Contributor Author

haphungw commented Mar 13, 2026

googleapis/librarian#4560: final PR to generate the output @ 34fb533

@haphungw haphungw force-pushed the feat-resource-name-demo branch from 9e61989 to 1f6f43b Compare March 13, 2026 19:58
@haphungw haphungw force-pushed the feat-resource-name-demo branch from 1f6f43b to 378692f Compare March 13, 2026 20:46
@haphungw haphungw force-pushed the feat-resource-name-demo branch from 378692f to e658bfa Compare March 13, 2026 21:09
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