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

forst-lang / forst / 24641043044
76%

Build:
DEFAULT BRANCH: main
Ran 19 Apr 2026 10:52PM UTC
Jobs 1
Files 222
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

19 Apr 2026 10:48PM UTC coverage: 76.237% (-0.2%) from 76.456%
24641043044

push

github

haveyaseen
feat(generate): opt-in streaming TS clients, chan T IR, and sidecar async iterable

Wire `compiler.generateStreamingClients` through `forst generate` into `GenerateTSOptions`,
extend `FunctionSignature` with stream metadata and merged `types.d.ts` declarations, and emit
`*Stream` methods that delegate to `invokeStreamingIterable<T>` with the same package/name/args
as `invokeFunction` when the return is `chan T` with a typable element type.

Add `TypeChannel` to the AST (parse `chan T`, Go `ChanType`, TS `AsyncIterable<elem>`),
`ChannelElementType` / `IsChannelReturn` in the typechecker, and export `StreamingSupported` in
discovery (including structural channel returns). Add `invokeStreamingIterable` on
`ForstSidecarClient` to bridge NDJSON callbacks to `for await`. Display `TypeImplicit` as `Any` in
type strings.

Example:

```json
{ "compiler": { "generateStreamingClients": true } }
```

```forst
func Events(): chan String {
  ...
}
```

50 of 142 new or added lines in 13 files covered. (35.21%)

21133 of 27720 relevant lines covered (76.24%)

88.7 hits per line

Uncovered Changes

Lines Coverage ∆ File
24
0.0
forst/internal/typechecker/channel_type.go
21
64.29
-19.05% forst/internal/transformer/ts/function.go
12
95.73
-4.27% forst/internal/ast/type.go
12
53.85
-4.49% forst/internal/transformer/go/type.go
8
66.52
-2.5% forst/internal/transformer/ts/type_mapping.go
5
48.1
-1.24% forst/internal/parser/type.go
2
94.29
-5.71% forst/internal/discovery/discovery_streaming.go
2
98.44
-1.56% forst/internal/transformer/ts/client.go
2
97.01
-2.99% forst/internal/transformer/ts/merge.go
2
95.74
-4.26% forst/internal/transformer/ts/output.go
2
81.97
-2.78% forst/internal/typechecker/builtin_type_helpers.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/180507121 24641043044.1 19 Apr 2026 10:52PM UTC 222
76.24
GitHub Action Run
Source Files on build 24641043044
  • Tree
  • List 222
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8dcc68cb on github
  • Prev Build on main (#24638404322)
  • Next Build on main (#24641063701)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc