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

forst-lang / forst / 28778560655
76%

Build:
DEFAULT BRANCH: main
Ran 06 Jul 2026 08:37AM UTC
Jobs 1
Files 286
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

06 Jul 2026 08:24AM UTC coverage: 79.056% (-0.07%) from 79.121%
28778560655

push

github

haveyaseen
feat(transformer): lower ensure failures in Test* functions to t.Fatalf

Add strict HasTestFunctionName (Test* with exactly one *testing.T param per
ADR-044) and resolve the harness parameter via TestingTParamIdent. Ensure
failures in test functions now emit t.Helper() and t.Fatalf instead of
error returns or panic; non-test functions keep existing error-return behavior.
Test functions with ensure infer void return type rather than error.

fix(parser): support qualified names in pointer composite literals

Parse &pkg.Type {} using parseIdentifier so dotted type prefixes work in
with-block wiring and other value contexts.

fix(typechecker): improve empty slice inference and append widening

Honor expected slice element type for empty [] at call sites. Widen default
[]int placeholders on append for empty array literals and variables when
appending non-int elements, without widening non-empty int literals like [1].

fix(transformer): correct pointer composite and shape zero-value emission

Always emit address-of for composite literals in ReferenceNode. Use empty
composite literals for named user-defined shape fields instead of nil. Skip
Providers struct re-emission when OmitPackageTypeDefs is enabled.

test: add generic coverage for ensure-in-test, slices, and qualified composites

Replace module-specific fixtures with generic Sample/TestSampleFields and
pkg.Widget parser tests; extend pipeline ensure emit tests accordingly.

79 of 130 new or added lines in 11 files covered. (60.77%)

2 existing lines in 2 files now uncovered.

27373 of 34625 relevant lines covered (79.06%)

133.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
63.31
0.06% forst/internal/transformer/go/statement_ensure.go
11
70.69
-0.52% forst/internal/typechecker/go_builtins_dispatch.go
9
76.92
-23.08% forst/internal/ast/providers.go
5
74.03
-0.51% forst/internal/transformer/go/expression_shape_literal.go
4
75.08
-0.24% forst/internal/transformer/go/transformer.go
2
90.48
-9.52% forst/internal/ast/fn.go
2
84.73
-0.4% forst/internal/transformer/go/providers.go
1
70.37
0.52% forst/internal/transformer/go/expression.go
1
68.91
0.1% forst/internal/typechecker/infer_expression.go

Coverage Regressions

Lines Coverage ∆ File
1
70.37
0.52% forst/internal/transformer/go/expression.go
1
70.77
-1.54% forst/internal/typechecker/type_registry.go
Subprojects
ID Flag name Job ID Ran Files Coverage
1 /jobs/184262941 28778560655.1 06 Jul 2026 08:37AM UTC 286
79.06
GitHub Action Run
Source Files on build 28778560655
  • Tree
  • List 286
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 152f60e6 on github
  • Prev Build on main (#28761781254)
  • Next Build on main (#28792868331)
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