GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Compile a real proto from googleapis/googleapis during tests. · Issue #904 · googleapis/gapic-generator-python

This repository was archived by the owner on Aug 25, 2026. It is now read-only.
This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Compile a real proto from googleapis/googleapis during tests. #904

Copy link
Copy link
Closed
Closed
Compile a real proto from googleapis/googleapis during tests.#904
Copy link
Assignees
miraleung
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Description

@SurferJeffAtGoogle
SurferJeffAtGoogle
opened on May 21, 2021
Issue body actions

We've seen a few bugs like b/187988047. Even though tests passed, the code generated by the microgenerator failed to compile. This caused dozens of pull requests with tests failing to be opened in python library repositories.

Please add a test that uses real protos from googleapis/googleapis, and runs black, mypy, and flake8 on the output to confirm it compiles. Using a real API is more likely to catch a generator that generates broken code.

CC @busunkim96 @parthea @vam-google

Activity

  1. SurferJeffAtGoogle
    added
    priority: p2Moderately-important priority. Fix may not be included in next release.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on May 21, 2021
  2. SurferJeffAtGoogle
    assigned
    miraleung
    on May 21, 2021
  3. software-dov commented on May 24, 2021

    @software-dov
    software-dov
    on May 24, 2021
    Contributor
    More actions

    I think it's definitely desirable to compile all APIs on CI internally. I'm not sure about picking one API as a smoke test; all APIs have been problem children at some point, and picking any one is going to necessarily be arbitrary.
    The problem is that we have two parallel, loosely coupled CI and dev systems. It seems likely that any robust solution to bugs like b/187988047 is going to require strengthening the bond between the two systems.

  4. software-dov commented on Jun 29, 2021

    @software-dov
    software-dov
    on Jun 29, 2021
    Contributor
    More actions

    Golden tests added by #905

  5. software-dov
    closed this as completedon Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @miraleung
    miraleung

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.