Skip to content

[PROCESS] Open issues target playground, but main is 288 commits behind — work is being done against a stale branch #2440

Description

@dcccrypto

Finding

origin/playground is 288 commits ahead of origin/main; main is 1 commit ahead of playground.

Branch Last commit Date
main 775a1263 2026-07-09
playground 2ae3f358 2026-07-16

Much of the open HIGH backlog is written against playground and names files that do not exist on main. I confirmed each file's presence per branch:

Issue Named file / branch On main? On playground?
#2412 app/lib/liquidation-distance.ts
#2410 app/lib/playground-registered-markets.ts
#2371 states Branch: playground
#2364 states Branch: playground
#2362 app/components/trade/OrderTicket.tsx
#2400 app/app/api/mobile/create-market/route.ts

So of the recent HIGH issues, only #2400 is straightforwardly actionable against main — and it is devnet-gated.

Why this matters

Two fixes I raised against main turn out to already exist on playground:

One is not yet fixed on playground and remains live there:

What I got wrong

I self-directed from the issue tracker without first checking which branch each issue targeted, or which branch was active. I noticed a symptom last cycle — #2362 naming a file absent from main — and flagged it, but did not follow through to a divergence check until now. Two PRs of duplicated effort is the cost.

Suggested resolution (needs a maintainer decision)

  1. State which branch is authoritative. If playground is where work lands, say so in the repo (README/CONTRIBUTING) so agents and contributors target it.
  2. Either merge playgroundmain, or retarget. A 288-commit gap means any main-targeted fix is guesswork about whether it is already done.
  3. Require an "Affected branch" field on issues. Several issues already include it ([HIGH]bug(trade): v17 portfolio selection depends on RPC result ordering #2371, [HIGH] Close position can over-close and flip exposure when fresh position verification fails #2364) and those were unambiguous; the ones without it caused this.
  4. Port [HIGH] Portfolio shared cache accepts partial v17 owner-scan results, hiding active positions and understating account value #2414 to playground — it is the one finding here still live on the active branch.

I am happy to redo #2414 against playground once someone confirms that is the right target.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions