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

forst-lang / forst / 24385931049
76%

Build:
DEFAULT BRANCH: main
Ran 14 Apr 2026 07:12AM UTC
Jobs 1
Files 214
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

14 Apr 2026 07:09AM UTC coverage: 63.675% (+0.1%) from 63.566%
24385931049

push

github

haveyaseen
refactor(compiler,typechecker,transformer): split monolithic modules into focused units and keep public behavior stable

Move the compiler package from `cmd/forst/compiler` to `internal/compiler`, split compiler pipeline/watch responsibilities, and update all call sites (`cmd/forst`, executor, and tests). Decompose large transformer and typechecker files (`expression`, `statement`, `go_builtins`, `lookup*`) into focused files to reduce coupling and make further changes safer.

test(typechecker,compiler,dev-server): expand coverage for alias resolution, lookup edge cases, package-root guards, and dev server cache/error envelopes

Add regression tests for alias-chain resolution and field-path lookup behavior, variable lookup narrowing and multi-type errors, compiler root containment checks, and dev server JSON/cache behavior (`/types`, `sendError`, CORS handling) to lock in refactor invariants.

chore(lockfile): refresh staged bun lock artifact

Keep the staged binary lockfile update aligned with the current workspace dependency state.

1252 of 2186 new or added lines in 18 files covered. (57.27%)

1 existing line in 1 file now uncovered.

17303 of 27174 relevant lines covered (63.67%)

23.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
194
31.45
forst/internal/transformer/go/statement_helpers.go
161
62.3
forst/internal/transformer/go/expression_shape_literal.go
122
8.27
forst/cmd/forst/dev_server_runtime.go
80
61.17
forst/internal/typechecker/lookup_field_path.go
53
0.0
forst/internal/compiler/watch.go
52
56.3
forst/internal/typechecker/lookup_field_typedef.go
50
73.26
forst/cmd/forst/dev_server_http.go
49
0.0
forst/internal/typechecker/lookup_field_assertion.go
48
73.03
-4.3% forst/internal/transformer/go/statement_ensure.go
27
58.46
forst/internal/typechecker/lookup_field_nested.go
23
68.92
forst/internal/typechecker/lookup_alias_chain.go
20
85.07
forst/internal/transformer/go/expression_if_is.go
18
66.67
forst/internal/compiler/compile_pipeline.go
15
59.46
forst/cmd/forst/dev_server_typescript.go
10
37.5
forst/internal/typechecker/lookup_inferred.go
6
84.62
forst/internal/compiler/compiler.go
6
92.59
forst/internal/typechecker/lookup_variable.go

Coverage Regressions

Lines Coverage ∆ File
1
45.0
-0.71% forst/internal/typechecker/type_alias_display.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/180233156 24385931049.1 14 Apr 2026 07:12AM UTC 214
63.67
GitHub Action Run
Source Files on build 24385931049
  • Tree
  • List 214
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e070e4c2 on github
  • Prev Build on main (#24365735121)
  • Next Build on main (#24460133350)
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