• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

forst-lang / forst / 23520799686
44%
main: 76%

Build:
Build:
LAST BUILD BRANCH: feat/full-request-sidecar
DEFAULT BRANCH: main
Ran 25 Mar 2026 01:42AM UTC
Jobs 1
Files 132
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

25 Mar 2026 01:39AM UTC coverage: 40.343% (-0.7%) from 41.086%
23520799686

Pull #30

github

haveyaseen
test: add unit tests for TypeScript type mapping and transform pipeline

- Cover GetTypeScriptType (builtins, nil error, user overrides, unknown -> any, hash + Defs)
- Integration tests: parse/typecheck/transform, types + client output fragments, package name
Pull Request #30: feat: Generate TypeScript types

1840 of 4988 new or added lines in 69 files covered. (36.89%)

185 existing lines in 23 files now uncovered.

6780 of 16806 relevant lines covered (40.34%)

7.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
731
17.51
8.42% forst/internal/transformer/go/statement.go
294
0.0
forst/cmd/forst/generate.go
275
33.15
5.03% forst/internal/transformer/go/shape.go
239
33.85
-6.64% forst/internal/typechecker/lookup_field.go
197
0.0
0.0% forst/cmd/forst/dev_server.go
184
38.32
33.71% forst/internal/transformer/go/transformer.go
163
48.61
17.28% forst/internal/transformer/go/expression.go
162
44.16
-35.34% forst/internal/typechecker/typechecker.go
136
0.0
forst/internal/ast/testing.go
82
36.11
-16.75% forst/internal/typechecker/go_builtins.go
57
22.89
-3.78% forst/internal/transformer/go/ensure_builtins.go
50
3.97
-1.74% forst/internal/ast/type.go
49
65.35
-15.57% forst/internal/executor/go_module_manager.go
45
45.24
-6.35% forst/cmd/forst/lsp/server.go
45
79.04
0.32% forst/internal/typechecker/infer_shape.go
44
1.91
-0.04% forst/internal/executor/executor.go
42
0.0
0.0% forst/internal/transformer/go/ensure.go
42
10.74
1.33% forst/internal/transformer/go/ensure_typeguard.go
38
66.37
forst/cmd/forst/lsp/package_store.go
34
51.9
-8.15% forst/internal/typechecker/infer_assertion.go
24
0.0
0.0% forst/internal/generators/go.go
23
43.9
forst/internal/transformer/ts/typedef.go
21
75.73
-2.21% forst/internal/parser/shape.go
19
60.68
60.68% forst/internal/transformer/go/function.go
18
70.0
forst/internal/transformer/ts/type_mapping.go
16
39.19
15.5% forst/internal/typechecker/utils.go
14
1.51
-0.07% forst/cmd/forst/main.go
14
49.22
-10.37% forst/internal/parser/type.go
14
45.3
-6.83% forst/internal/transformer/go/typedef.go
12
42.04
-9.04% forst/cmd/forst/lsp/debugger.go
12
78.57
forst/internal/transformer/ts/function.go
7
10.5
2.59% forst/internal/transformer/go/typedef_expr.go
5
96.3
forst/internal/transformer/ts/client.go
4
40.44
-0.3% forst/internal/parser/expression.go
4
93.1
forst/internal/transformer/ts/transformer.go
3
0.0
0.0% forst/internal/ast/assertion.go
3
92.78
-0.67% forst/internal/discovery/discovery.go
3
72.22
-18.69% forst/internal/parser/test_utils.go
3
0.0
0.0% forst/internal/transformer/go/assertion.go
3
83.33
forst/internal/transformer/ts/output.go
3
61.78
0.0% forst/internal/typechecker/lookup.go
2
76.85
6.48% forst/internal/parser/value.go
2
39.71
17.65% forst/internal/transformer/go/type.go
2
52.17
0.38% forst/internal/typechecker/collect.go
2
32.52
2.43% forst/internal/typechecker/infer_expression.go
1
89.31
0.0% forst/internal/lexer/process.go
1
60.56
6.38% forst/internal/parser/function.go
1
84.0
0.0% forst/internal/parser/parse.go
1
0.0
0.0% forst/internal/transformer/go/typeguard.go
1
66.35
14.22% forst/internal/typechecker/infer.go
1
25.64
1.32% forst/internal/typechecker/lookup_function.go

Coverage Regressions

Lines Coverage ∆ File
53
45.24
-6.35% forst/cmd/forst/lsp/server.go
20
51.9
-8.15% forst/internal/typechecker/infer_assertion.go
18
40.65
12.2% forst/internal/typechecker/unify_shape.go
15
42.04
-9.04% forst/cmd/forst/lsp/debugger.go
14
17.51
8.42% forst/internal/transformer/go/statement.go
8
0.0
-100.0% forst/internal/typechecker/helpers.go
8
33.85
-6.64% forst/internal/typechecker/lookup_field.go
7
48.61
17.28% forst/internal/transformer/go/expression.go
6
35.59
-2.54% forst/cmd/forst/lsp/diagnostic.go
5
65.35
-15.57% forst/internal/executor/go_module_manager.go
5
33.15
5.03% forst/internal/transformer/go/shape.go
5
45.3
-6.83% forst/internal/transformer/go/typedef.go
4
49.22
-10.37% forst/internal/parser/type.go
4
49.06
-7.55% forst/internal/typechecker/unify_is.go
3
44.16
-35.34% forst/internal/typechecker/typechecker.go
2
0.0
0.0% forst/cmd/forst/dev_server.go
2
75.73
-2.21% forst/internal/parser/shape.go
1
1.51
-0.07% forst/cmd/forst/main.go
1
0.0
0.0% forst/internal/ast/assertion.go
1
1.91
-0.04% forst/internal/executor/executor.go
1
0.0
0.0% forst/internal/transformer/go/ensure.go
1
36.11
-16.75% forst/internal/typechecker/go_builtins.go
1
79.04
0.32% forst/internal/typechecker/infer_shape.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/179292139 23520799686.1 25 Mar 2026 01:42AM UTC 132
40.34
GitHub Action Run
Source Files on build 23520799686
  • Tree
  • List 132
  • Changed 58
  • Source Changed 0
  • Coverage Changed 58
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #30
  • PR Base - main (#16398497628)
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