googleapis / gapic-generator

Tools for generating API client libraries from API Service Configuration descriptions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP gapic generator is not deterministic

SurferJeffAtGoogle opened this issue · comments

It generates different output for the same input on consecutive runs.

Example: https://github.com/googleapis/googleapis-gen/commit/a7dd37b1d69d4a274613cff07dd58eb1aefac1e4

Looks like chunks get generated in a different order depending on no variable I can observe.
image

This is fatal to all our code-generating automation: autosynth, bazel-bot, owl-bot, etc.

The diff is for RecommendationService.php.

I haven't seen it in about 3 weeks. I'll re-open if I see it again.