-
Notifications
You must be signed in to change notification settings - Fork 167
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
refactor: add -gateway and deprecate -broadcaster #3053
Conversation
This commit adds the `gateway` flag and deprecates the `broadcaster` flag per core team decision (details: https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004).
03985a5
to
bc638b4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3053 +/- ##
===================================================
- Coverage 57.37820% 57.36267% -0.01553%
===================================================
Files 92 92
Lines 15722 15728 +6
===================================================
+ Hits 9021 9022 +1
- Misses 6099 6104 +5
Partials 602 602
Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I just wonder if we should also refactor all other places where we use the term "broadcaster". Like:
- E2E Test:
Line 256 in 706ec33
lpConf.Broadcaster = boolPointer(true) - All the function names, tests, etc.
Saying that, I'm ok with keeping them as they are right now and just rename later when we'll be removing the broadcaster
flag.
@leszko, on the AI side, we initially focused on introducing the |
5c6ac14
to
a405b69
Compare
What does this pull request do? Explain your changes. (required)
This pull request adds the
gateway
flag and deprecates thebroadcaster
flag per core team decision (details: https://discord.com/channels/423160867534929930/1051963444598943784/1210356864643109004). It adds the new-gateway
flag while maintaining support for-broadcaster
with a deprecation warning on startup. This change does not address refactoring associated with variable names and types, which will be addressed in a later change.Specific updates (required)
-gateway
flagHow did you test each of these updates (required)
-gateway
flag-broadcaster
flag, noted deprecation warningDoes this pull request close any open issues?
AI-LIV-287
Checklist:
make
runs successfully./test.sh
passTestSubmitSegment_HttpPostError
server test does fails on my system but I don't think it is related to my changes since it also fails on the master branch (see logs below).Test Logs