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

chore: Combine go files generated from the grpc asset's protobuf definitions #955

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

ctlong
Copy link
Member

@ctlong ctlong commented Oct 13, 2023

Are you submitting this PR against the develop branch?

Yes

What is this change about?

Refactors CATs to not require manually copying and pasting the go files generated from the grpc asset's protobuf definitions whenever we regenerate them.

Also regenerates the go files.

Please provide contextual information.

None

What version of cf-deployment have you run this cf-acceptance-test change against?

None yet

Please check all that apply for this PR:

  • refactor
  • introduces a new test --- Are you sure everyone should be running this test?
  • changes an existing test
  • requires an update to a CATs integration-config

Did you update the README as appropriate for this change?

  • YES
  • N/A

If you are introducing a new acceptance test, what is your rationale for including it CATs rather than your own acceptance test suite?

N/A

How many more (or fewer) seconds of runtime will this change introduce to CATs?

None

What is the level of urgency for publishing this change?

  • Urgent - unblocks current or future work
  • Slightly Less than Urgent

Tag your pair, your PM, and/or team!

None

@ctlong ctlong marked this pull request as draft October 24, 2023 17:09
Copy link
Member Author

@ctlong ctlong left a comment

Choose a reason for hiding this comment

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

I still need to remove the generated go files in assets/grpc/test and then run the http2_routing suite against CF-D to ensure that it still works.

@ctlong ctlong self-assigned this Oct 24, 2023
Rather than manually maintaining a duplicate of the generated code under
`helpers/assets/test`, we can just import the file directly now that
there's a module and go modules will sort it out.

This does still mean we have two of the same files, but at least we
don't have to maintain the copy by copying and pasting. Now just using
go modules commands can update to using the latest version.
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