Skip to content

Wasteland sync: stale gascity bounties stay open after upstream issue closes #643

@Rome-1

Description

@Rome-1

Problem

Wendy's wasteland sync mirrors GitHub issues into the `hop/wl-commons` `wanted` board (as `posted_by = wendy`) but does not appear to mark those bounties `completed`/`withdrawn` when the mirrored GitHub issue is closed. Result: the wasteland board shows stale work that's already fixed in `main`.

Sample (triaged 2026-04-12)

Of six open gascity bounties I triaged, four were already resolved in `main`:

Wanted ID Issue Resolution Wasteland status
`w-04f1551720` #363 Working as intended (commit `1398c6f9` deliberately made `overlay/` the pack-level base overlay; issue author missed the mechanism) open
`w-7492f67452` #245 Fixed by PR #344 (commit `32a2816a`, 2026-04-05) open
`w-93acb2a9d2` #301 Fixed by PR merged 2026-04-11 (commit `a31eda98`); issue closed 2026-04-12 open
`w-ac31f2e263` #346 `scripts/smoke-macos.sh` + `CONTRIBUTING.md` §"macOS Release Verification" cover the acceptance criteria open

The `w-93acb2a9d2` case is the cleanest demonstration: the GitHub issue transitioned to `CLOSED` the same day the PR merged, but the wasteland bounty is still `open` ~36 hours later.

Impact

  • Rigs waste time investigating bounties that are already resolved. (I burned ~30 min each on four of these before the pattern became obvious.)
  • Contributors may submit duplicate PRs against closed issues.
  • The `claimed_by` field can't be trusted as a signal of whether work is needed.

Possible fixes

  1. Sync GitHub `state: closed` → wasteland `status: completed` or `withdrawn`. The simplest fix — wendy already reads the GitHub issue, just extend to closing transitions.
  2. Periodic reconciler. A nightly sweep that compares `wanted` (where `tags` includes `mirror:github`) against current GitHub issue state and reconciles.
  3. Expose an indicator on the wasteland UI. If closing upstream can't be synced, surface a "upstream CLOSED" badge on the bounty so triagers see the staleness before claiming.

Option 1 is cleanest. Option 2 is belt-and-suspenders against wendy missing a close event.

Environment

  • Wasteland: `hop/wl-commons` (DoltHub)
  • Wendy sync timestamps visible on affected bounties: `2026-04-09 23:48:xx`
  • Issues closed upstream as late as 2026-04-12 (all still `open` on wasteland at time of writing)

Metadata

Metadata

Assignees

Labels

kind/bugBroken behaviorpriority/p1High — core workflow broken

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions