Skip to content

chore: prepare GAX for monorepo#663

Open
bshaffer wants to merge 10 commits into
mainfrom
prepare-for-monorepo
Open

chore: prepare GAX for monorepo#663
bshaffer wants to merge 10 commits into
mainfrom
prepare-for-monorepo

Conversation

@bshaffer
Copy link
Copy Markdown
Contributor

@bshaffer bshaffer commented Apr 7, 2026

Making the changes in #663 here first (to keep track)

  • Updates to pass monorepo CS
  • Updates on code standards to pass phpstan
  • Organizes test files better (uses anonymous classes and places mocks in their own files)
  • Organizes test credentials better
  • Fixes for Windows tests
  • Remove codecov.yml
  • Remove scripts
    • dev/build-protobuf-docs.sh - filed feature request (Add google/protobuf to reference documentation google-cloud-php#9118). This generates the API docs for protobuf, but should not be maintained by us, especially now that we are removing doctum support. When this needs to be generated, it should be done by the protobuf team, or by us using this script from git history. Additionally, we are deploying protocol buffers reference docs to Cloud RAD (see feat(docs): publish protobuf to refdocs google-cloud-php#9126), which may be able to replace the reference docs at protocolbuffers.github.io
    • dev/sh/regenerate-test-protos.sh - These are test protos and do not need to be public. We should remove them from src and put them in tests (if we use them in testing) for GAX 2.0. This script should then be moved into tests or removed entirely. Look into moving GAX tests off Testing protos OR (as a feature request) add a bot which updates them.
    • dev/sh/test-composer-conflict.sh - Tests that composer works as expected. Why are we testing that composer works? This one has to go!
  • Removes dev directory
  • Removes protobuf docs generation (publish to refdocs instead, see Add google/protobuf to reference documentation google-cloud-php#9118)

@bshaffer bshaffer force-pushed the prepare-for-monorepo branch from 68bd00d to e80db5e Compare April 7, 2026 16:20
Comment thread src/Serializer.php Outdated
@bshaffer bshaffer marked this pull request as ready for review April 17, 2026 17:29
@bshaffer bshaffer requested a review from a team as a code owner April 17, 2026 17:29
$deprecatedInterceptors = (new \ReflectionClass(Interceptor::class))
->getMethod('interceptUnaryUnary')
->getParameters()[3]
->getName() === 'metadata';
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Look at grpc version instead?

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.

1 participant