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

microlinkhq / microlink / 47450581704
84%

Build:
DEFAULT BRANCH: master
Ran 04 Dec 2026 11:57PM 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

04 Dec 2026 11:55PM UTC coverage: 83.611% (+0.1%) from 83.467%
47450581704

push

github

web-flow
feat: support `detach.webhook` (#101)

* feat: support `detach.webhook`

`detach` takes `{ webhook }`: the API posts the outcome to that https URL,
signed with the API key, instead of the client polling for it.

- mql: `mql.detached` with a webhook sends once, sends again only an
  answer that could not be queued, and resolves the queued 202 or an
  answer that was ready
- function: a queued run resolves `undefined`
- microlink.io: every product resolves `undefined` once queued
  (`request` resolves the 202), typed as `T | undefined`; the CLI takes
  `--detach.webhook=<url>` and prints a queued request as pending

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

* fix(detach): report a queued function as pending and type a factory webhook

- core: function goes through request, so client.last sees its response and
  the CLI prints a queued run as pending instead of success
- types: a webhook set on the factory (core create, @microlink/function)
  makes calls resolve T | undefined
- mql: any object detach is sent as given, so an empty webhook is no longer
  turned into an hour-long wait

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

* test(mql): type plain mql with a webhook as possibly pending

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

* fix(types): request with a webhook can resolve the pending answer

Also note in the README that a webhook needs an API key.

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

* refactor(detach): name the webhook detach type once per declaration file

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

* fix(types): a literal or widened detach that can hold a webhook may resolve queued

A webhook typed as a literal (as const) or options typed wide (Options,
MqlOptions) now add undefined or the pending answer to function, request,
the function runner and mql.detached, while detach: boolean stays precise.

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

* fix(types):... (continued)

1074 of 1307 branches covered (82.17%)

Branch coverage included in aggregate %.

60 of 64 new or added lines in 6 files covered. (93.75%)

198 existing lines in 1 file now uncovered.

5645 of 6729 relevant lines covered (83.89%)

41.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
4
47.61
0.16% packages/mql/src/index.js

Coverage Regressions

Lines Coverage ∆ File
198
71.98
0.11% packages/mql/dist/index.js
Jobs
ID Job ID Ran Files Coverage
1 microlink.io - 47450581704.1 04 Dec 2026 11:57PM UTC 22
86.71
GitHub Action Run
2 @microlink/function - 47450581704.2 04 Dec 2026 11:57PM UTC 2
94.87
GitHub Action Run
3 @microlink/mcp - 47450581704.3 04 Dec 2026 11:57PM UTC 33
97.33
GitHub Action Run
4 @microlink/google - 47450581704.4 04 Dec 2026 11:57PM UTC 2
100.0
GitHub Action Run
5 @microlink/mql - 47450581704.5 04 Dec 2026 11:57PM UTC 4
69.4
GitHub Action Run
Source Files on build 47450581704
  • Tree
  • List 63
  • Changed 9
  • Source Changed 7
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #47450581704
  • da5acb14 on github
  • Prev Build on master (#47430344601)
  • 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