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

supabase / cli / 37624160197
67%
develop: 67%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7203-605e72d2e85a5ed22bbaa3010c62c465a8bd6cbf
DEFAULT BRANCH: develop
Ran 07 Oct 2026 12:53PM 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

07 Oct 2026 12:52PM UTC coverage: 66.737%. Remained the same
37624160197

push

github

web-flow
test(stack): fix two LogForwarder integration test races (#7034)

## Summary

**TL;DR:** Two `LogForwarder` integration tests occasionally hit the 30
s timeout in CI because each assumed an ordering the forwarder doesn't
guarantee. Both tests now cover every ordering without sleeps. The
forwarder itself is unchanged.

**Why:** CI runs on #6942 timed out in:
- `pauses without advancing when Analytics refuses its credentials`
- `ships a record persisted while Analytics slept once it wakes on a new
port, …`

**What changed**

- **Credentials refusal:** the test armed its cursor-write gate only
after `logflare.next` returned. When the forwarder handled the 401 and
removed its cursor first, the gate never fired, and the paused forwarder
never slept `pollMillis`, so both race branches hung. The test now holds
the 401 answer with `logflare.hold` until the gate is armed. Delaying
the test fiber after `logflare.next` reproduces the hang reliably on the
old test.
- **Retarget to a new port:** when the held post is released, the
retired launch-1 session can reach the asleep record before the race
interrupts it. It then saves that record as pending to launch 1 and
fails `requireCurrent` without posting. The new session waits until the
saved post deadline plus the flush window before posting, but the test
expected the post without advancing the manual clock. The test now takes
that post with `nextPost`, which steps through stored-id polls until a
post arrives, so both orderings pass. Delaying the retarget side of the
race reproduces the hang reliably on the old test. In production this
ordering only delays shipping until that deadline plus the flush window
(about 10 s), so the forwarder is left as is.

🤖 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 37624160197.1 07 Oct 2026 12:53PM UTC 79
66.74
GitHub Action Run
Source Files on build 37624160197
  • 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 #37624160197
  • c51fc20c on github
  • Prev Build on gh-readonly-queue/develop/pr-7040-c491f50e6e08e21ad4ab53327980a74c68dec27e (#37623826036)
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