Skip to content

Conversation

theihor
Copy link
Contributor

@theihor theihor commented Jun 30, 2025

I used github cli tool to fetch the logs on the base branches to determine which ci/diffs are actually applied.

Only three patches are still used at this time:

  • removal of llvm check in bpftool
  • a selftests fix that probably should either be removed or landed upstream
  • recent cgroup xattr fix, still needed on for-next branch???

I used github cli tool to fetch the logs on the base branches to
determine which ci/diffs are actually applied.

Only three patches are still used at this time:
  * removal of llvm check in bpftool
  * a selftests fix that probably should either be removed or landed
    upstream
  * recent cgroup xattr fix, still needed on for-next branch???

Signed-off-by: Ihor Solodrai <[email protected]>
@theihor theihor marked this pull request as ready for review June 30, 2025 21:29
@theihor
Copy link
Contributor Author

theihor commented Jun 30, 2025

For reference, a piece of bash to figure out which ci/diffs are applied:

for BRANCH in "bpf_base" "bpf-next_base" "for-next_base" "bpf-net_base"; do
    RUN_ID=$(gh run list --repo "$REPO" --branch "$BRANCH" --status success --limit 1 --json databaseId -q '.[].databaseId')
    gh run view "$RUN_ID" --repo "$REPO" --json jobs > $json
    cat $json | jq '.jobs[] | select(.steps[].name | contains("patch-kernel")) | .databaseId' > $job_ids
    for JOB_ID in $(cat $job_ids); do
        log="${OUT}/${RUN_ID}-${JOB_ID}.log"
        echo "Fetching $log"
        gh api repos/$REPO/actions/jobs/$JOB_ID/logs > $log
        # gh run view $RUN_ID --job=$JOB_ID --repo $REPO --log > $log
    done
done

grep 'Successfully applied.*' -roh | grep -o 'ci/diffs/.*.patch' | sort -u

I don't think it's worth committing anywhere.

@theihor theihor merged commit 24e2fc2 into master Jun 30, 2025
59 checks passed
@theihor theihor deleted the diffs-cleanup branch June 30, 2025 21:37
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.

1 participant