Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generation fails when auto-generated code snippets is enabled for google/showcase fail #1990

Open
parthea opened this issue Mar 21, 2024 · 0 comments
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@parthea
Copy link
Contributor

parthea commented Mar 21, 2024

I successfully generated a GAPIC client for google/showcase/v1beta1 with autogen-snippets=False. When autogen-snippets=True, the generation fails with the following error

(py39) partheniou@partheniou-vm-3:~/git/gapic-generator-python$ gbazelisk run //tests/integration:showcase_update
ERROR: /usr/local/google/home/partheniou/git/gapic-generator-python/tests/integration/goldens/showcase/BUILD.bazel:3:10: //tests/integration/goldens/showcase:goldens_files: invalid label 'samples/generated_samples/localhost:7469_v1beta1_generated_compliance_get_enum_async.py' in element 84 of attribute 'srcs' in 'filegroup' rule: invalid label 'samples/generated_samples/localhost:7469_v1beta1_generated_compliance_get_enum_async.py': absolute label must begin with '@' or '//'
@parthea parthea added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

1 participant