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

feat(rust-libp2p): update required jobs #198

Closed
wants to merge 6 commits into from

Conversation

thomaseizinger
Copy link
Contributor

@thomaseizinger thomaseizinger commented Nov 20, 2023

Summary

Companion PR for libp2p/rust-libp2p#4880.

Why do you need this?

What else do we need to know?

DRI: myself

Reviewer's Checklist

  • It is clear where the request is coming from (if unsure, ask)
  • All the automated checks passed
  • The YAML changes reflect the summary of the request
  • The Terraform plan posted as a comment reflects the summary of the request

Copy link
Contributor

github-actions bot commented Nov 20, 2023

Before merge, verify that all the following plans are correct. They will be applied as-is after the merge.

Terraform plans

libp2p

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # github_branch_protection.this["rust-libp2p:master"] will be updated in-place
  ~ resource "github_branch_protection" "this" {
        id                              = "MDIwOkJyYW5jaFByb3RlY3Rpb25SdWxlMjM0NjQ0MA=="
        # (11 unchanged attributes hidden)

      ~ required_status_checks {
          ~ contexts = [
              + "Compile libp2p in transport feature matrix",
              + "Compile libp2p-identity in feature matrix",
              - "Compile with select features (mdns tcp dns async-std)",
              - "Compile with select features (mdns tcp dns tokio)",
                # (55 unchanged elements hidden)
            ]
            # (1 unchanged attribute hidden)
        }

        # (1 unchanged block hidden)
    }

  # github_repository_file.this["py-libp2p/.github/workflows/stale.yml"] will be updated in-place
  ~ resource "github_repository_file" "this" {
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
        id                  = "py-libp2p/.github/workflows/stale.yml"
        # (9 unchanged attributes hidden)
    }

Plan: 0 to add, 2 to change, 0 to destroy.

github/libp2p.yml Outdated Show resolved Hide resolved
Comment on lines 6502 to 6508
files:
.github/pull_request_template.md:
content: .github/js_pull_request_template.md
.github/workflows/semantic-pull-request.yml:
content: .github/workflows/semantic-pull-request.yml
.github/workflows/stale.yml:
content: .github/workflows/stale.yml
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure what this is doing in my PR?

Copy link
Member

Choose a reason for hiding this comment

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

@achingbrain @galargh do you why automation pushed these changes to an unrelated pull request?

Copy link
Contributor

Choose a reason for hiding this comment

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

The automation runs https://github.com/libp2p/github-mgmt/blob/master/scripts/src/actions/fix-yaml-config.ts after every push to the default branch and on every PR.

The reason why unrelated changes were pushed to the PR was that #197 has not been merged. The timeline would be, 1. the sync workflow discovers divergence between what's in this repo and the actual GitHub state, 2. the repo gets updated, 3. the PR with fixes is created but not merged, 4. this PR is created, 5. the fixes are also proposed in this PR because the PR with fixes was not merged yet.

Another thing to note is that once a fix PR is merged, then all the existing PRs are rebased which would have got rid of the unrelated changes.

It is a bit clunky at the moment. I'd like to package the workflows that do the actual work in this repo into nice reusable actions so it'd be easier for users to reason about and customise what happens when. There's no timeline for that work though.

Another issue, the commits with fixes are associated with PR owner at the moment which shouldn't be the case as they are bot commits. I created an issue for that here - ipdxco/github-as-code#110

@galargh galargh mentioned this pull request Jan 3, 2024
4 tasks
@mxinden
Copy link
Member

mxinden commented Jan 30, 2024

@thomaseizinger do I understand correctly, that you want this merged? (libp2p/rust-libp2p#4880 (comment))

If so, can you confirm and set it to "Ready for review"?

@thomaseizinger thomaseizinger marked this pull request as ready for review February 14, 2024 07:32
@thomaseizinger thomaseizinger requested review from a team as code owners February 14, 2024 07:32
@p-shahi
Copy link
Member

p-shahi commented Feb 14, 2024

lgtm @thomaseizinger

@thomaseizinger
Copy link
Contributor Author

lgtm @thomaseizinger

Thanks! The merge queue on rust-libp2p is currently stuck so please don't merge this yet. I'll ping again when it is ready.

@thomaseizinger thomaseizinger marked this pull request as draft February 14, 2024 20:31
@galargh
Copy link
Contributor

galargh commented Aug 20, 2024

Closing since it's been stale for a while. Please reopen if it's still needed.

@galargh galargh closed this Aug 20, 2024
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.

4 participants