Review: human-authored PRs opened in past 48 hours (24 PRs)#23231
Draft
Review: human-authored PRs opened in past 48 hours (24 PRs)#23231
Conversation
Collaborator
|
/azp run |
|
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
Copilot
AI
changed the title
[WIP] Review comments on recent PRs
Review: human-authored PRs opened in past 48 hours (24 PRs)
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reviewed 24 human-authored PRs opened in the past 48 hours. GitHub REST API and web UI are blocked by network proxy in this environment, so findings are documented here.
Critical Issues Found
PR #23220 — HA BGP down / config reload tests (
aronovic)breakpoint()left in both new test files — will hang CI indefinitelysetup_dash_ha_from_jason(should besetup_dash_ha_from_json) →FixtureLookupErrorat runtimeha_bgp_shutdown/ha_bgp_start; utils definesha_shutdown_bgp/ha_start_bgp→ImportError_ha_bgp_oper:start=Truerunsconfig bgp shutdown,start=Falserunsconfig bgp start— callers get opposite behaviorPR #23221 — rsyslog fixture (
lipxu)run_logrotatecatchessubprocess.CalledProcessErrorbutduthost.shell()never raises it — dead code;subprocessimport is unusedNotable Issues
# noqa F811(missing colon) on several lines; flake8 requires# noqa: F811wait_for_rx_quiescencehas no max timeout — infinite loop if traffic never drainstype(...) is IPv4Network→ useisinstance; verify "last IP" semantics are intentionalERR;swss\d*matches non-numeric suffixes — useswss[0-9]*is_bmc()callsget_running_config_facts()every invocation — cache it;get_bmc_host()bypasses normal DUT initializationtest_liquid_cooling_leakage.py) — coordinate merge orderduthost.loganalyzeris non-standard; usual pattern is theloganalyzerfixture dictvxlan_security="false"intest_dash_smartswitch_vnet.pyvs"true"inconftest.py— add comment explaining the intentional differenceconfig interface startup, no check that interface came back up before continuingMinor / Suggestions
''is preferred overNonedownstreamBGP_ANNOUNCE_TIME = 3fixed sleep — preferwait_untilwith route-presence check; verifyrequestsis available in test envdut_basic_facts()called inline every time; cache if expensivedict.fromkeys()dedup idiom — add a comment for claritySKU=bmcin devices CSV is a non-standard placeholder; console format0.115200.0is undocumentedenum_supervisor_dut_hostnamewas wrong herepytest.fail()vspytest.skip()whenleak_sensorskey missing fromplatform.jsonWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/graphql/usr/bin/gh gh auth status(http block)https://api.github.com/user/usr/bin/curl curl -s -H Authorization: token ****** REDACTED(http block)/usr/bin/curl curl -v -H Authorization: token ****** REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.