Repository navigation
merge queue: checking #7528 + #7544 + #7613 + #7621 + #7551 + #7524 together on dev (c421688) - #7632
Closed
mergify[bot] wants to merge 23 commits into
Closed
mergify[bot] wants to merge 23 commits into
mergify[bot] wants to merge 23 commits into
Conversation
/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).
Rewrite the 23 pages under guides/design-project to the how-to shape (goal, Before you begin, Steps, Check that it worked, Related), each under the 1,000-word cap, with facts checked against the console, CLI and catalog. Split out the material that is not a task: - concepts/canvas: how cards, rules, status, drift and collections read - concepts/keyless-database-auth: the proxy, roles and setup Job per cloud - concepts/apps-repository: sync, commit-back, placements, permissions - reference/node-pools: every node pool field, rule and cloud difference - reference/ingress-nginx-annotations: the annotation table - troubleshooting/design-project: design, plan and GitOps problems Add guides/design-project/node-pools; rename cost-sidebar to cost (with a redirect); fix inbound anchors; drop the section's ledger entries; regenerate the console docs index.
… check-template-cost requires
…_feedback and read consolidation (AGT-L4b) The MCP server now lists exactly the declared external tools: 19 with every scope, 12 under ?readonly. The in-app read tools are no longer listed under their own names; each declared read answers through the in-app tools it `replaces`, run in-process, so both agents read through the same server actions and PDP verbs. - Reads (lib/ai/mcp/reads.ts): list_resources, get_resource (incl. design with revision), get_plan_result (counts, plan_sha256, monthly cost change), catalog, cidr_for_hosts, compare_providers, get_usage, search_docs. Money in minor units, ISO timestamps, unknown id is a refusal. A design is returned without any stored credential. - Design (lib/ai/mcp/design.ts): validate_design, apply_design_patch (JSON Patch add/remove/ replace, stale base_revision is a conflict), create_project. Writes go through updateProjectDesign / tryCreateProject; problems come back in `errors`. The idempotency key is recorded, hashed with org and person, on the design-write audit row. - scan_repo queues a keyed scan (scanRepo takes an idempotency key, serialised by an advisory lock); send_feedback emails the team inbox on hosted, received:false on self-managed. Closes #7470
…d; feedback is rate limited Queuing a repository scan now asks the PDP for create on projects, and accepts only a public https:// repository URL with no embedded credentials whose host resolves to public addresses (lib/scanner/repo-url.ts, over the console's outbound-request guard). The import panel shows the sentence under its field. send_feedback counts each message against a per-person and a per-organisation hourly limit (lib/rate-limit.ts) and answers rate_limited past either. Refs #7470
…ls page's ledger entry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch mundane-poulet-ai77pg of the
devqueue, to test the 6 pull requests of this batch before they merge intodev.What this draft tests
Mergify checks that the 6 pull requests of this batch still pass CI on top of
dev. CI runs on this draft's code, built in this order:devatc421688🕵️ Where it stands: failed, splitting the batch
The checks of this draft failed. Mergify splits this batch to find which pull request is responsible.
Follow the
devqueue in the dashboardWhat happens next
Metadata for CI tooling, read by
mergify ciRequired conditions of queue rule
devfor mergecheck-success=CI requireddev required CI]:check-success=CI requiredcheck-success=contribution-legalprotect-dev]:check-neutral = CI requiredcheck-skipped = CI requiredcheck-success = CI required#review-threads-unresolved = 0[🛡 GitHub repository ruleset ruleprotect-dev]check-success=contribution-legalgithub-review-approved[🛡 GitHub repository ruleset ruleprotect-dev]protect-dev]:check-success = contribution-legalcheck-neutral = contribution-legalcheck-skipped = contribution-legalRequired conditions to stay in the queue
#review-threads-unresolved = 0#review-threads-unresolved = 0[🛡 GitHub repository ruleset ruleprotect-dev]-draftbase = devgithub-review-approved[🛡 GitHub repository ruleset ruleprotect-dev]dev required CI]:check-success=CI requiredcheck-success=contribution-legalprotect-dev]:check-success = contribution-legalcheck-neutral = contribution-legalcheck-skipped = contribution-legalprotect-dev]:check-success = CI requiredcheck-neutral = CI requiredcheck-skipped = CI required