Skip to content

merge queue: checking #7613 on dev (c421688), stacked on #7528 and #7544 - #7637

Closed
mergify[bot] wants to merge 14 commits into
devfrom
mergify/merge-queue/e6d9710b01
Closed

mergify[bot] wants to merge 14 commits into
devfrom
mergify/merge-queue/e6d9710b01

Conversation

@mergify

@mergify mergify Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Note

This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch violet-boule-hbqof8 of the dev queue, to test #7613 before it merges into dev.

What this draft tests

Mergify checks that #7613 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:

  1. dev at c421688
  2. the 2 pull requests queued ahead of this batch, listed below, which bring the tip to b265067
  3. #7613, the pull request of this batch

The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.

This batch comes from splitting a batch whose checks failed: Mergify checks smaller batches to find which pull request is responsible. The batches it was split from are listed below.

✨ Where it stands: closed

Pull request #7528 in the same batch was removed (reason: pull request manually updated).

Follow the dev queue in the dashboard

What happens next

  • Mergify closes this draft.
  • #7613 is still in the queue.

Tip

A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 2 pull requests ahead, so a failure here can come from them as much as from #7613. See only this batch's changes.

Queued ahead of this batch

These pull requests entered the queue before this batch and are not part of it.

Bisected from a failed batch:

Metadata for CI tooling, read by mergify ci
---
all_scopes: false
checking_base_sha: b265067f909d61d4b69a73009855196ada6da6f4
previous_check_retries: []
previous_failed_batches:
  - batch_pr_head_sha: 9662c0fc7fa28b8dbfc8f0aeb5d4121d06934472
    batch_pr_number: 7632
    checked_pull_requests:
      - 7528
      - 7544
      - 7613
      - 7621
      - 7551
      - 7524
    draft_pr_head_sha: 9662c0fc7fa28b8dbfc8f0aeb5d4121d06934472
    draft_pr_number: 7632
pull_requests:
  - number: 7613
    scopes: []
queue_base_sha: c4216884a8bcac8355919f9d79dd26df50818040
scopes: []
...
Required conditions of queue rule dev for merge
  • check-success=CI required
  • all of [🛡 Merge Protections rule dev required CI]:
    • check-success=CI required
    • check-success=contribution-legal
  • any of [🛡 GitHub repository ruleset rule protect-dev]:
    • check-neutral = CI required
    • check-skipped = CI required
    • check-success = CI required
  • #review-threads-unresolved = 0 [🛡 GitHub repository ruleset rule protect-dev]
  • check-success=contribution-legal
  • github-review-approved [🛡 GitHub repository ruleset rule protect-dev]
  • any of [🛡 GitHub repository ruleset rule protect-dev]:
    • check-success = contribution-legal
    • check-neutral = contribution-legal
    • check-skipped = contribution-legal
Required conditions to stay in the queue

bobikenobi12 and others added 14 commits November 25, 2026 04:14
/api/webhooks/paddle verifies Paddle-Signature (HMAC-SHA256 over ts:body,
constant-time, 5-minute window, any h1 during rotation; fails closed without
config), normalizes subscription/transaction/adjustment events into the
provider-neutral seam types, and applies each exactly once through the shared
(provider, event_id) ledger.

applyBillingEvent writes organization_billing under an occurred_at watermark
(no regression from out-of-order or replayed events, no revival of a canceled
subscription, one subscription per slot, never over a live Stripe one), keeps
the paddle_transaction mirror, grants credit packs once and reverses them on a
full refund or chargeback, and alerts the operator on chargebacks, partial
refunds and org mismatches. custom_data is untrusted: the row holding the
subscription decides the org; custom_data only names one that exists.

A Paddle past_due subscription keeps its plan for a 7-day grace
(entitlementStatus), wired into the entitlement readers; Stripe rows are
unchanged. The Paddle adapter is registered in the seam with parseWebhook;
purchase/plan/usage methods throw until L4/L5.
…t, no 24-row cap, no count pill

Transaction history read Stripe with `limit: 24` and paged those rows in the browser, ten at a
time, so charge 25 and every later one could not be reached. It now pages through Stripe's own
cursor. `starting_after` is mapped onto the console's opaque keyset cursor and `has_more` decides
`nextCursor`. The table renders through DataTable's server mode with the shared ListFooter
(scroll sentinel plus "Load more").

The Invoices page read up to 200 rows (the input allowed 500), paged them 20 at a time in the
browser, showed a raw CountPill and a "Showing the N most recent" note. `billing.invoices` now
answers a keyset page from `queryInvoicesPage`. The order is coalesce(paid_at, created_at)
truncated to ms, then id. Filters apply to the rows pass. The status facet pass covers the org's
unfiltered invoices and runs on the first page only, and so does `universeEmpty`. The panel reads
the list through `useKeysetList`. A filter change restarts at page one, and filtered-empty is now
told apart from first-run empty by `universeEmpty`. The count pill and the cap note are gone.

Both list-standard debt files are deleted.
…ount pill (#7484)

The runners grid received the whole composed fleet and offset-paged it in the
browser (.slice over 9-card pages under ?page=) with a result-count pill.

- queryRunnersPage (lib/queries/runners.ts) filters the composed universe
  (RLS-read own runners + service-read managed fleet) and cuts one page with
  keysetPageInMemory: created_at truncated to ms desc, id desc. It returns
  { rows, nextCursor, facets, universeEmpty }, with facets over the unfiltered
  universe on the first page only. No result count, no total.
- runners.page takes keysetPageInput("uuid"): opaque cursor (malformed = 400),
  limit default 50, refused above 100. created_at is selected for the order
  only and never put on the view.
- RunnersClient: useKeysetList + ListFooter. A failed refresh behind cards
  keeps them under a stale notice. First-run vs filtered empty comes from
  universeEmpty. The pager, ?page= and the SectionHeading count are gone.
- The route prefetches the first page of the same infinite key.
- list-standard/runners.json and use-runners-page-query.ts are deleted.
- check-filter-standard: deriveKeysetBuilders also reads a generic builder
  signature (queryRunnersPage<Row ...>().
…7484)

queryRunnersPage takes the default out of the walked universe always, and puts
it at the top of page one only when it matches the query. It can never appear
twice. The cursor is always the last walked row's, so the pin never moves a
page boundary. The rest is walked newest first as before.

Also update the stale getRunnersPage mentions in lib/query/README.md (line 246
is left for #7537, which rewrites it).
@mergify mergify Bot closed this Nov 25, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/e6d9710b01 branch November 25, 2026 08:44
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