Commit Graph
289 Commits
Author SHA1 Message Date
Thomas Durieux a4f441f097 fix: record cached reader failures before pipeline teardown 2026-11-15 13:39:17 +00:00
Thomas Durieux 42494debb9 fix: preserve local stream failure provenance 2026-11-15 13:36:34 +00:00
Thomas Durieux d2e3954d21 fix: explain interrupted requests and account for overlapping latency 2026-11-15 13:31:16 +00:00
Thomas Durieux 1723f5e927 fix: require anonymous endpoint methods for logged paths 2026-11-15 00:14:01 +00:00
Thomas Durieux 7d044525ce fix: exclude source repository lookups from captured paths 2026-11-15 00:08:12 +00:00
Thomas Durieux 953767b2cd fix: retain actual anonymous request paths across outcomes 2026-11-15 00:01:21 +00:00
Thomas Durieux fab574d556 Merge branch 'integrate/source-errors' into fix/source-failure-classification
# Conflicts:
#	public/asset-manifest.json
#	public/script/vendor.min.js
2026-11-14 23:45:58 +00:00
Thomas Durieux 318a1f9984 Show source reconnection failures after successful metadata loads 2026-11-14 23:44:59 +00:00
Thomas Durieux 8e1bbffbe3 Merge branch 'integrate/source-errors' into fix/source-failure-classification
# Conflicts:
#	public/asset-manifest.json
#	public/script/app.js
#	public/script/vendor.min.js
2026-11-14 23:40:39 +00:00
Thomas Durieux c591306a33 fix: offer account reconnection for expired source authorization 2026-11-14 23:39:24 +00:00
Thomas Durieux 5c2c95ed8a Merge branch 'integrate/source-errors' into fix/source-failure-classification
# Conflicts:
#	public/asset-manifest.json
#	public/script/vendor.min.js
2026-11-14 23:36:24 +00:00
Thomas Durieux 1dfd898aa6 fix: retain source access actions when edit repair is unavailable 2026-11-14 23:35:28 +00:00
Thomas Durieux d9c8a8fb4d Merge branch 'integrate/source-errors' into fix/source-failure-classification
# Conflicts:
#	public/asset-manifest.json
#	public/script/vendor.min.js
2026-11-14 23:32:35 +00:00
Thomas Durieux 0ddcb2057f fix: recover source metadata after branch refresh failures 2026-11-14 23:31:43 +00:00
Thomas Durieux 233bb7eae6 Merge branch 'integrate/source-errors' into fix/source-failure-classification
# Conflicts:
#	public/asset-manifest.json
#	public/script/vendor.min.js
2026-11-14 23:24:11 +00:00
Thomas Durieux bc44879b43 Merge remote-tracking branch 'origin/main' into integrate/source-errors
# Conflicts:
#	public/asset-manifest.json
#	public/css/all.min.css
#	public/script/vendor.min.js
2026-11-14 23:23:19 +00:00
Thomas Durieux 70e8ff15cc Merge branch 'integrate/source-errors' into fix/source-failure-classification
# Conflicts:
#	public/asset-manifest.json
#	public/script/vendor.min.js
2026-11-14 23:21:40 +00:00
Thomas Durieux c014b3c8cf Merge remote-tracking branch 'origin/main' into integrate/source-errors
# Conflicts:
#	public/asset-manifest.json
#	public/css/all.min.css
#	public/css/style.css
#	public/partials/anonymize.htm
#	public/script/vendor.min.js
2026-11-14 23:20:40 +00:00
Thomas Durieux 8eb5097070 Merge remote-tracking branch 'origin/main' into integrate/diagnostics 2026-11-14 23:19:23 +00:00
Thomas Durieux 6035c01956 Merge remote-tracking branch 'origin/main' into integrate/diagnostics
# Conflicts:
#	deploy/logging/README.md
#	public/asset-manifest.json
#	public/css/all.min.css
#	public/css/style.css
#	public/script/vendor.min.js
2026-11-14 23:19:22 +00:00
Thomas Durieux fbb9c5fac0 Merge pull request #967 from tdurieux/fix/deployment-and-repository-errors
fix: guard GitHub App deployments and distinguish removed repositories
2026-11-15 00:18:37 +01:00
Thomas Durieux 7c4a7ab264 fix: distinguish source outages and throttling from missing repositories 2026-11-14 23:02:18 +00:00
Thomas Durieux 65914c743e fix: validate GitHub App mounts before deployment and distinguish removed repositories 2026-11-14 22:57:01 +00:00
Thomas DurieuxandClaude Opus 5.5 1412de9d9f fix(anonymize): one message and one next step when a source fails to load
A repository URL that could not be read produced a pile of messages:
"Does not exist or is not accessible", a "Repository not listed?" label,
two access notes, a private-content warning, an empty branch/commit grid
with "The commit SHA is not valid", a toast, and an enabled-looking
"Create anonymous link" whose reason pointed to the preview.

- Under the URL, one error block per case (malformed URL, missing or no
  access, organization restriction or SSO, already anonymized), naming
  the source and giving its fix: Manage GitHub access and Try again.
  The preview shows the same wording and actions; no toast.
- Drop "Repository not listed?". The landing picker gets a quiet
  "Don't see your repository? Manage GitHub access" link instead.
- New anonymizations hide branch/commit, auto-update and the other
  sections until the source loads. Edit mode keeps them editable.
- The publication warning shows only once a private source has loaded;
  the repository metadata now includes GitHub's `private` flag.
- The primary button is disabled until the source loads, with a short
  local reason, and the draft line waits for a loaded source.
- dev-mock: failing, slow, PR, gist and edit-mode fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 22:22:33 +00:00
Thomas Durieux 0b967aa8af perf: paginate repository discovery and search 2026-11-14 21:49:12 +00:00
Thomas Durieux 5dbf3e7829 feat: retain bounded failed-request reproduction context 2026-11-14 21:44:48 +00:00
Thomas Durieux 3a1d013b11 fix: show useful history occurrences instead of status-only rows 2026-11-14 21:30:46 +00:00
Thomas Durieux f6574069da feat: preserve safe request and exception diagnostics 2026-11-14 21:22:28 +00:00
Thomas Durieux 5fa6cfafed feat: lead error investigations with related events 2026-11-14 20:07:19 +00:00
Thomas Durieux 2c24d2e892 feat(admin): simplify errors into focused event inspectors 2026-11-14 19:55:50 +00:00
Thomas Durieux 008ece9e1c fix(admin): let slow history requests finish between polls 2026-11-14 19:39:24 +00:00
Thomas Durieux 67d0ad928c fix(admin): explain log outcomes and clarify identifier actions 2026-11-14 19:33:01 +00:00
Thomas Durieux 40ffe7ce72 fix(admin): streamline error history and preserve safe raw records 2026-11-14 19:15:45 +00:00
Thomas Durieux b39f3b6878 fix(admin): refine error triage hierarchy and detail layout 2026-11-14 18:38:33 +00:00
Thomas Durieux 4041583c12 feat: rebuild admin errors for focused triage 2026-11-14 18:04:46 +00:00
Thomas Durieux 35e69b3291 Merge main and preserve email and log investigation styles 2026-11-14 17:24:13 +00:00
Thomas Durieux 8e57cc3d0e Merge pull request #956 from tdurieux/t3/oss-logging-infrastructure
feat: add private structured logging and investigation dashboards
2026-11-14 18:22:32 +01:00
Thomas Durieux 88d0d0cd12 Merge pull request #955 from tdurieux/fix/remaining-production-findings
fix: stop quota retry loops, narrow folder queries and diagnose upstream failures
2026-11-14 18:22:19 +01:00
Thomas Durieux 822816086a Merge pull request #954 from tdurieux/fix/safe-upstream-redirects
fix: prevent download redirects and upstream headers from exposing identity
2026-11-14 18:22:13 +01:00
Codex 21f2c4eb4d fix(admin): preserve scanned Redis history during refresh 2026-11-14 16:34:58 +00:00
Codex 8b928a4c82 feat(admin): investigate correlated logs from the Errors page 2026-11-14 16:33:37 +00:00
Codex f084f5cbfc fix: make buffer losses observable and preserve admin error codes 2026-11-14 14:01:50 +00:00
Codex 7e2a6e9d75 feat: add private structured logging and investigation dashboards 2026-11-14 13:40:40 +00:00
Thomas Durieux 99bf9f173e feat(admin): add email activity and investigation workflow 2026-11-14 13:21:03 +00:00
Thomas Durieux b456ab8739 fix: stop quota retry loops and narrow directory queries 2026-11-14 13:03:22 +00:00
Thomas Durieux 8f272b7c7b fix(admin): make email history usable on mobile and preserve retries 2026-11-14 12:59:01 +00:00
Thomas Durieux c227bf0421 fix: isolate streamer headers and reject download redirects 2026-11-14 12:55:17 +00:00
Thomas Durieux 6400760fcb feat(admin): track email delivery attempts 2026-11-14 12:51:32 +00:00
Thomas Durieux 104af7d261 feat: notify owners when repositories expire 2026-11-14 12:41:02 +00:00
Thomas DurieuxandClaude Opus 5.5 511dcd7067 feat(admin): billing tab to monitor subscriptions and sales (#952)
* feat(admin): add a Billing tab for subscriptions and sales

The admin can now follow subscriptions and sales without opening Stripe:
- Summary tiles: active subscriptions (monthly/annual), MRR with annual
  plans counted as 1/12, sales and revenue for 7d/30d/90d/12m/all time,
  all-time sales, subscriptions cancelling at period end, and refunds
  and disputes.
- A stacked chart of sales per day, week or month by plan family.
- A by-plan table: active grants, period and all-time sales and revenue.
- A paginated list of grants with plan, Stripe status, active/expired/
  revoked and user filters, linked to the admin user, repository or
  conference.
- One row of webhook health: pending, failed, oldest pending event, last
  error and unreviewed payment reversals.

A sale is one checkout or subscription, so a paper pack's three grants
count once. Revenue is each sale's Stripe list price, resolved once per
price and cached in memory. Currencies are never added together. Without
Stripe the page shows counts and marks revenue as unavailable.

GET /api/admin/billing/summary and /grants sit behind the admin check.
Grants get a { purchasedAt, _id } index for the list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix: preserve payment history in admin billing totals

* fix: scope billing history and preserve original sale prices

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 14:37:29 +01:00