Skip to content

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

Open
@parthea

Description

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 '//'

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions