• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 38552732735
67%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 14 Oct 2026 10:54AM UTC
Jobs 1
Files 79
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Oct 2026 10:53AM UTC coverage: 66.737%. Remained the same
38552732735

push

github

web-flow
fix(cli): name the failing platform operation in defect telemetry (#7137)

## Summary

**TL;DR** When a command dies on an unclassified Effect `PlatformError`
(a filesystem or stdio failure whose reason is not `NotFound`,
`PermissionDenied`, or `BadArgument`), telemetry now names the reason
and the Effect operation that raised it. Today every such failure
collapses into one `error:Defect:PlatformError` fingerprint, which
recent prereleases report on `status` / `stack status` for the new local
stack without any way to tell which call fails.

### Before

```mermaid
flowchart LR
  A["FileSystem / Stdio call fails"] --> B["PlatformError<br/>(Busy, Unknown, ...)"]
  B -->|orDie| C["error:Defect:PlatformError"]
```

### After

```mermaid
flowchart LR
  A["FileSystem / Stdio call fails"] --> B["PlatformError<br/>(Busy, Unknown, ...)"]
  B -->|orDie| C["error:Defect:PlatformError:<br/>Busy:FileSystem.readFile"]
```

### Why

The failures cluster right after `start` while other commands run in
parallel, and a retry succeeds, which points at a race on shared state
or on stdout. Several call sites turn a `PlatformError` into a defect,
so the fingerprint has to carry the operation before the cause can be
fixed.

### What changed

- A `PlatformError` defect fingerprints as
`error:Defect:PlatformError:<reason>:<Module>.<method>`, for example
`…:Busy:FileSystem.readFile`.
- Only the closed reason tag and Effect's module and method names are
read, as data descriptors; `pathOrDescriptor` and `description` never
reach telemetry. If any part is not a plain identifier, the fingerprint
stays `error:Defect:PlatformError`.
- `PlatformError` failures that are already classified (`not_found`,
`filesystem`, `bad_argument`) are unchanged.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

4097 of 6139 relevant lines covered (66.74%)

7.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38552732735.1 14 Oct 2026 10:54AM UTC 79
66.74
GitHub Action Run
Source Files on build 38552732735
  • Tree
  • List 79
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38552732735
  • 45376dae on github
  • Prev Build on gh-readonly-queue/develop/pr-7136-28dad9c763b2ea3f61439acc0f09b0fa5131a7c1 (#38547725046)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc