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

forst-lang / forst / 24636953969
76%

Build:
DEFAULT BRANCH: main
Ran 19 Apr 2026 07:16PM UTC
Jobs 1
Files 221
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 07:08PM UTC coverage: 76.509% (+0.4%) from 76.159%
24636953969

push

github

haveyaseen
fix(compiler): parse run/build argv without touching os.Args

`runMain` no longer assigns `os.Args` before `ParseArgs`, which raced with
coverage metadata under `go test -race`. Added `compiler.ParseArgsFrom(argv, log)`
and wired the CLI to pass the `argv` slice through. Arg parsing tests now use
explicit slices instead of global `os.Args`.

For `forst dev`, after `filepath.Abs` the root must `Stat` successfully and be
a directory so invalid paths (e.g. embedded NUL) exit before `ListenAndServe`
instead of hanging until the test timeout.

Example:
```go
// cmd/forst: after dev/lsp/dump/… branches
args := compiler.ParseArgsFrom(argv, log)
```

9 of 14 new or added lines in 2 files covered. (64.29%)

89 existing lines in 5 files now uncovered.

21050 of 27513 relevant lines covered (76.51%)

89.31 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
97.78
14.91% forst/cmd/forst/main.go
2
64.0
-1.98% forst/internal/compiler/args.go

Coverage Regressions

Lines Coverage ∆ File
56
69.34
1.0% forst/internal/typechecker/go_interop.go
18
69.04
1.5% forst/internal/typechecker/infer_expression.go
12
83.1
0.24% forst/internal/typechecker/typechecker.go
2
97.78
14.91% forst/cmd/forst/main.go
1
64.0
-1.98% forst/internal/compiler/args.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/180504403 24636953969.1 19 Apr 2026 07:16PM UTC 221
76.51
GitHub Action Run
Source Files on build 24636953969
  • Tree
  • List 221
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 66460c19 on github
  • Prev Build on main (#24629301635)
  • Next Build on main (#24637200235)
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