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

microlinkhq / browserless / 41356070337
77%

Build:
DEFAULT BRANCH: master
Ran 01 Nov 2026 10:14PM UTC
Jobs 12
Files 61
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

01 Nov 2026 10:13PM UTC coverage: 77.477%. First build
41356070337

push

github

web-flow
fix(agent): hand the decision model the state ai prepared (#1011)

* fix(agent): hand the decision model the state ai prepared

page.goal failed on every call through the gateway with `state.map is not a
function`. ai wraps the state as `[{ type: 'json', value }]` and the
DecisionModelV4 contract types it as an array of parts, but
withPlainDecisionState unwrapped it again. The fake models in the tests accept
either shape, so only a live call could show it.

Removes the wrapper instead of special-casing the gateway: @ai-sdk/typesafe-ai
needs the array too at every version the range allows. The wrapper's model id
lookup goes with it, since experimental_decide already resolves one the same way.

The gateway tests use the real provider over a stubbed fetch, so CI catches a
wrong shape with no key. A live test runs when AI_GATEWAY_API_KEY is set.

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

* fix(agent): require the ai version the decision state fix works on

ai below 7.0.133 hands a typesafe model a plain state and it fails with
state.flatMap is not a function. 7.0.133 to 7.0.135 send a wire field the
gateway test does not read. 7.0.136 is the lowest version the suite passes on.

Also drop the passed branch of the gateway stub: yes is already the first id.

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

* test(agent): collapse the gateway stub answer into one call

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

---------

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

2152 of 2434 branches covered (88.41%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

7741 of 10335 relevant lines covered (74.9%)

58155.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 @browserless/capture - 41356070337.1 01 Nov 2026 10:15PM UTC 11
86.63
GitHub Action Run
2 @browserless/agent - 41356070337.2 01 Nov 2026 10:14PM UTC 10
66.75
GitHub Action Run
3 @browserless/devices - 41356070337.3 01 Nov 2026 10:14PM UTC 1
95.41
GitHub Action Run
4 @browserless/errors - 41356070337.4 01 Nov 2026 10:14PM UTC 1
99.45
GitHub Action Run
5 @browserless/cli - 41356070337.5 01 Nov 2026 10:15PM UTC 3
85.11
GitHub Action Run
6 @browserless/screencast - 41356070337.6 01 Nov 2026 10:14PM UTC 1
96.08
GitHub Action Run
7 @browserless/lighthouse - 41356070337.7 01 Nov 2026 10:15PM UTC 3
97.83
GitHub Action Run
8 @browserless/ai - 41356070337.8 01 Nov 2026 10:15PM UTC 6
73.14
GitHub Action Run
9 browserless - 41356070337.9 01 Nov 2026 10:16PM UTC 3
80.79
GitHub Action Run
10 @browserless/goto - 41356070337.10 01 Nov 2026 10:17PM UTC 7
76.05
GitHub Action Run
11 @browserless/screenshot - 41356070337.11 01 Nov 2026 10:15PM UTC 12
74.45
GitHub Action Run
12 @browserless/function - 41356070337.12 01 Nov 2026 10:15PM UTC 3
95.31
GitHub Action Run
Source Files on build 41356070337
  • Tree
  • List 61
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #41356070337
  • b693f8fc on github
  • Prev Build on master (#41026473303)
  • Next Build on master (#41358150460)
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