An opt-in upstream-triage workflow for forks #305
Replies: 2 comments
|
This is exactly the shape I hoped for when I suggested floating it here first - thank you for doing the design write-up rather than opening with a PR. The core insight holds up: I'd welcome the PR. Answers to your four questions:
The bar for the PR, same as everything that lands here:
And since it will carry your name in the workflow file: thank you for the #300 root-cause follow-up. Finding your own bug, stating it publicly, and fixing the class rather than the instance is the contributor behavior this thread exists to surface. |
|
Closing the loop for anyone finding this thread later: the PR landed as #320 and ships in-tree as of |
Uh oh!
There was an error while loading. Please reload this page.
You mentioned in #300 that the sync-triage tool on my fork might be worth generalizing, and to float the shape here first, so here goes.
The itch it scratches: keeping a fork synced with a fast-moving upstream is mostly a "which of these 20 commits do I actually care about?" question, every week.
check_upstream_updates.py catches framework_version bumps, but it doesn't look at the commits themselves, so I was still reading each one by hand. This is what I built to stop doing that.
What it does
Report-only — it never merges, pushes, or touches code. It writes a rolling issue on my own fork sorting the commits I'm behind into worth reviewing and probably skip, using:
Each commit links to its upstream diff, so reviewing is one click.
It sits alongside check_upstream_updates.py rather than replacing it — version stamp vs. commit history. (Whether they should be one tool is a question below.)
On generalizing it
The reason I think it ports easily: there's nothing UK-specific in it. It derives everything from git at runtime, no hardcoded paths (only literal is CHANGELOG.md).
The fork-specific pieces all live in the workflow — the upstream remote, the schedule, and the self-triage guard.
Open questions
One fix worth having regardless: an early run of mine posted its report into your issues (#300) — sorry about that. It was using a cross-repo PAT; switching to the built-in GITHUB_TOKEN means it can't write outside its own repo, so no fork can repeat it.
All reactions