Skip to content

tanfarming:ads/go_server_combined#849

Open
tanfarming wants to merge 3 commits into
mozilla:mainfrom
tanfarming:ads/go_server_combined
Open

tanfarming:ads/go_server_combined#849
tanfarming wants to merge 3 commits into
mozilla:mainfrom
tanfarming:ads/go_server_combined

Conversation

@tanfarming
Copy link
Copy Markdown

@tanfarming tanfarming commented Jun 2, 2026

Pull Request checklist

  • Quality: This PR builds and tests run cleanly
    • make test runs without emitting any warnings
    • make lint runs without emitting any errors
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry to CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to language binding APIs are noted explicitly

@tanfarming tanfarming changed the title init/example tanfarming:ads/go_server_combined Jun 2, 2026
@tanfarming tanfarming marked this pull request as ready for review June 2, 2026 16:20
@tanfarming tanfarming requested review from a team and akkomar as code owners June 2, 2026 16:20
@tanfarming tanfarming requested review from chutten and removed request for a team June 2, 2026 16:20
…rver_pubsub

Replace the separate `go_server_pubsub` outputter with a `transport` option on `go_server` (`-s transport=logging|pubsub|combined`, default logging), so there's one Go server outputter instead of one per transport. `combined` emits both the Cloud Logging and Pub/Sub APIs in a single file (sharing types) for gradual logging->pubsub migration.
Copy link
Copy Markdown
Member

@akkomar akkomar left a comment

Choose a reason for hiding this comment

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

LGTM, this will make migration easier. Holding off merging until @tanfarming tests on his side.

@badboy
Copy link
Copy Markdown
Member

badboy commented Jun 4, 2026

Can you give the PR a proper title so we know what this is about?

@badboy
Copy link
Copy Markdown
Member

badboy commented Jun 4, 2026

Same for the commit descriptions btw.

Comment thread CHANGELOG.md

## Unreleased

- Go server: select the transport with the `transport` option on the `go_server` outputter to support gradual logging->pubsub migrations. ([DENG-9533](https://mozilla-hub.atlassian.net/browse/DENG-9533))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should probably call out that it's ... uh ... basically breaking of what shipped in 19.2.0 (though I guess because there's only one consumer and that's to help them we're not actively breaking anyone)

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.

3 participants