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

microlinkhq / microlink / 47183244394
84%

Build:
DEFAULT BRANCH: master
Ran 03 Dec 2026 07:17PM UTC
Jobs 5
Files 63
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

03 Dec 2026 07:16PM UTC coverage: 83.306% (+0.07%) from 83.234%
47183244394

push

github

web-flow
fix(mql): send a detached request again when it is throttled (#97)

* fix(mql): send a detached request again when it is throttled

A load test of 1000 detached screenshots on one pro key ended 50 jobs
with 429 ECONCURRENCY. The jobs had finished: API Gateway throttles the
production stage at 320 req/s (burst 160) for every key together, and
the polls of jobs queued in the same second all came due in the same
second. mql.detached took the throttle for the outcome.

- A 429 ECONCURRENCY is sent again, like EDETACHQUEUE, unless it is
  the error of a function (data.function), which is an outcome.
- Every wait adds up to half of itself at random, so jobs queued
  together stop polling together. Retry-After stays the minimum.

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

* test(mql): advance the clock inside the last detach wait

The test ticked the mocked clock after a fixed number of event loop
turns. On a slower runner the tick landed before mql.detached reached
its sleep, so it saw the deadline as passed and threw EDETACHPENDING,
which blocked the release of #94.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit d1e608166)

* test(mql): allow the jitter on top of a Retry-After date

A date about 3 seconds ahead can now wait up to 4.5 seconds, past the
old 4 second bound.

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

* test(mql): send the CI API key on every request to the live API

The live tests used the free endpoint, whose daily quota CI runs out of,
so they failed with ERATE. The workflows already export
MICROLINK_API_KEY; the tests now pass it, and still use the free
endpoint when it is not set. The url test checks the endpoint origin
and snapshots only the query, so the snapshot holds either way.

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

---------

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

1054 of 1288 branches covered (81.83%)

Branch coverage included in aggregate %.

7 of 10 new or added lines in 1 file covered. (70.0%)

292 existing lines in 1 file now uncovered.

5538 of 6625 relevant lines covered (83.59%)

38.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
47.44
0.93% packages/mql/src/index.js

Coverage Regressions

Lines Coverage ∆ File
292
71.87
0.27% packages/mql/dist/index.js
Jobs
ID Job ID Ran Files Coverage
1 microlink.io - 47183244394.1 03 Dec 2026 07:18PM UTC 22
86.14
GitHub Action Run
2 @microlink/mql - 47183244394.2 03 Dec 2026 07:18PM UTC 4
69.3
GitHub Action Run
3 @microlink/google - 47183244394.3 03 Dec 2026 07:17PM UTC 2
100.0
GitHub Action Run
4 @microlink/function - 47183244394.4 03 Dec 2026 07:18PM UTC 2
94.81
GitHub Action Run
5 @microlink/mcp - 47183244394.5 03 Dec 2026 07:17PM UTC 33
97.28
GitHub Action Run
Source Files on build 47183244394
  • Tree
  • List 63
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #47183244394
  • 8d6867c0 on github
  • Prev Build on master (#47175945010)
  • Next Build on master (#47303353550)
  • Delete
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