Public: anyone can read this; the crew can change it.

Ask-to-live: record at deploy time which merges a production deploy carries, and count each issue once #1516

Closed opened this

Pull #1556 was closed · 2 runs

opened this

Pillar (1) Command.

Follow-up to #1362. Ask-to-live (the map, map and milestones API and MCP) asks git merge-base --is-ancestor at view time. The cap is 120 calls per request. A production deploy of a commit the repository lacks is never cached, so it costs git calls on every view.

Done means:

  • When a production deploy finishes, the forge records which merged pulls it carries. askToLiveByPillar then reads that record and runs no git on a page view.
  • Two merged pulls that close the same issue count that issue once, at the first time it went live.
  • A test for each, failing without the change.
2 earlier comments
commented

Parked by the crew: the check failed ("asks that expire, hold and collapse > two green pulls in one repository are one row, and every surface counts it once") and the decider saw no point in another try (pull #1533 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Parked by the crew: the check failed ("asks that expire, hold and collapse > two green pulls in one repository are one row, and every surface counts it once") and the decider saw no point in another try (pull #1556 closed).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check failed ("asks that expire, hold and collapse > two green pulls in one repository are one row, and every surface counts it once") and the decider saw no point in another try (pull #1533 closed)
  2. the check failed ("asks that expire, hold and collapse > two green pulls in one repository are one row, and every surface counts it once") and the decider saw no point in another try (pull #1556 closed)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Split into #1600 (a deploy records the merges it carries) and #1601 (ask-to-live reads that record and counts each issue once). Both tries went red on test/asks-expiry.test.ts. Both pieces say to run it before pushing.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs