-
Notifications
You must be signed in to change notification settings - Fork 99
Specify read-write symmetry exception for backup replicas in P4Runtime Spec #548
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
Conversation
…e Spec Signed-off-by: Matthew Lam <[email protected]>
chrispsommers
left a comment
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
jafingerhut
left a comment
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
@jafingerhut @chrispsommers I was wondering if you knew what these checks were and why they are waiting for the status to be reported? I don't believe that my changes have anything breaking and I was hoping to submit the PR |
|
@matthewtlam I'm not sure, perhaps because uploads are not done on PRs, only merges to main? It looks like we maintainers can bypass the warning but I'd rather understand this first. @jafingerhut or @smolkaj any ideas? |
|
Those names I can tell from the Settings on this Github repo that they are listed as required things for the main branch. I do not know the history of those CI tasks, or why they are required. |
|
From git commit log, main-branch-workflows.yml was created in 2022 by Antonin Bas, when this repo transitioned from using Travis CI to using Github Actions, then it was tweaked slightly in 2025 by Davide Scano related to the Madoko -> AsciiDoc transition. |
|
Given that an inconsequential change to the spec and creating a PR from it has the same effect (see #549), that is strong evidence that the hung tests have nothing to do with this PR's changes. I am not sure, but perhaps someone marked these 2 CI tests as requirements for PRs, but they should not have? I do not know of any commit log for Github settings, unfortunately, so I have no easy way to check this other than asking folks who might have changed it. @antoninbas @fruffy @Dscano Do any of you know if these 2 CI tests that are "Waiting for status to be reported", perhaps forever, should be changed in Github settings so they are not required for a PR to be merged? Aside: And it seems almost software-engineering criminal that folks working at Github did not think to make the history of all settings on a repo available via git log on some configuration file! |
|
I did have to update the "required checks" as part of #521, since that changed the name of the bazel CI runs. I did not intend to make changes to the upload checks, but I wouldn't rule out that I did make such changes accidentally. |
|
+1 on figuring out if the "upload" CI checks are intended to be required or not. |
You should be able to set the required CI checks in Settings->Branches->Main->Required Status Checks. The available checks are determined by recent PRs that run. Outdated checks have to be removed/replaced. Edit: Oh I see the issue. These workflows are not being triggered properly. It is possible that the trigger setting here is not activated because @matthewtlam is pushing to a branch on a fork. What is missing is the pull_request triggered like here. But this is just guesswork. |
Pushing to a branch on a fork is a common workflow on Github, one that we should consider normal, I think. Pushing to a branch in the repo where you want to create the PR is also fairly common, but less common, since you have to have permission to create branches in the repo, which we don't give everyone permission to do. In short, @chrispsommers, if you think this PR's changes are good, I'd say hit the check box to override the warning and merge it, if you approve and are ready to merge it. This kerfuffle with weird required CI tasks that should not be blocking the issue are a temporary solvable thing that we will solve, but probably not today. And given that I have already reproduced this particular behavior on another simple PR that was also created from a branch on a fork, we know how to reproduce this scenario pretty easily, and do not need this particular PR to wait in order to diagnose the issue. |
|
@jafingerhut @fruffy @smolkaj thanks for weighing in. Andy I agree. I am inclined to merge. Any objections? |
|
+1 on merging EDIT: separate issue is no longer needed. |
|
Taking another close look at Thus removing them from the list of required checks. I am now 90% sure I introduced this regression, see #548 (comment). My bad! |


@smolkaj @chrispsommers @jafingerhut