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

gopher-fleece / gleece / 20494816734
86%

Build:
DEFAULT BRANCH: main
Ran 24 Dec 2025 10:28PM UTC
Jobs 1
Files 97
Run time 476min
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

24 Dec 2025 10:24PM UTC coverage: 85.672%. Remained the same
20494816734

push

github

web-flow
V2 refactor - core (#68)


## Gleece v2.0.0-Release

### Summary

*Gleece* 2.1 brings in concrete support for type aliases, map input/outputs and an overhauled type resolution system.

### Features

* Support for type aliasing.</br>
Previously, alias support was limited and resulted in the aliased type effectively wiping the alias itself.

  Both declared and assigned aliases are valid:

  ```go
	// A unique ID
  	type Id string  `validate:"regex=^[0-9A-Fa-f]{8}(?:-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}$"`

	// A unique ID
  	type Id = string `validate:"regex=^[0-9A-Fa-f]{8}(?:-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}$"`
  ```
  </br>
  These aliases will be translated into an equivalent OpenAPI model:

  ```yaml
  Id:
      type: "string"
      format: "^[0-9A-Fa-f]{8}(?:-[0-9A-Fa-f]{4}){3}-[0-9A-Fa-f]{12}$"
      description: "A unique ID"
  ```
</br>

* Full support for `map`.</br>
	Previously, non-primitive maps like `map[string]something.Something` would not resolve correctly, resulting errors.


* Infrastructure-level support for generics</br>
	Generics support represent *Gleece*'s next major milestone.

	This change includes the necessary infrastructure.
	These include expansion of the HIR to encode the one-to-many relationships between composites (e.g. `Something[string, bool, int]`) and their instantiated dependencies (e.g. `string`, `bool` and `int`)

	Below you can see a graphical dump of a controller with generics in use:

	![Generics in use](./images/2.1_generics_graph.svg)


* Added an configuration option to disable failure after encountering issues during package loads.

	To use this option, create a `failOnAnyPackageLoadError` (`boolean`) field under the `commonConfig` section of your `Gleece Config` file, e.g.:

	```json
	{
		"commonConfig": {
			"failOnAnyPackageLoadError": false,
			"controllerGlobs": [
				"./*.go",
				"./**/*.go"
			]
		},
		...
		...
		...
	}
	```

	For some complex environments, specifically those using generated code, ... (continued)

2821 of 3719 new or added lines in 51 files covered. (75.85%)

150 existing lines in 11 files now uncovered.

8706 of 10162 relevant lines covered (85.67%)

1639.27 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.76
0.0% core/arbitrators/packages.facade.go
1
96.83
0.0% core/visitors/route.visitor.go
2
80.0
0.0% core/annotations/functional.go
2
85.71
0.0% core/metadata/retval.go
2
86.67
0.0% core/metadata/struct.go
2
95.56
0.0% core/metadata/typeref/func.go
3
96.95
0.0% core/arbitrators/ast.arbitrator.go
3
90.32
0.0% core/metadata/controller.go
4
91.67
0.0% core/validators/diagnostics/classified.go
4
76.47
0.0% core/visitors/base.go
6
92.11
0.0% core/validators/diagnostics/entity.go
7
89.69
0.0% core/arbitrators/caching/metadata.cache.go
10
86.84
0.0% core/visitors/field.visitor.go
12
88.89
0.0% core/validators/api.validator.go
14
73.08
0.0% core/metadata/param.go
15
82.18
0.0% core/pipeline/pipeline.go
16
84.47
0.0% core/visitors/orchestrator.go
21
57.14
0.0% core/validators/diagnostics/resolved.go
23
72.62
0.0% core/metadata/receiver.go
24
76.7
0.0% core/visitors/typedecl.visitor.go
26
81.94
0.0% core/visitors/enum.visitor.go
30
61.25
0.0% core/validators/receiver.validator.go
33
80.92
0.0% core/visitors/struct.visitor.go
46
92.32
0.0% gast/ast.utils.go
67
66.67
0.0% graphs/symboldg/model.synthesis.go
89
57.62
0.0% core/visitors/alias.visitor.go
97
86.42
0.0% graphs/symboldg/graph.go
112
42.27
0.0% core/validators/paths/paths.go
226
62.08
0.0% core/visitors/type.usage.visitor.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.95
0.0% core/arbitrators/ast.arbitrator.go
2
91.3
0.0% core/visitors/providers/arbitration.go
3
89.69
0.0% core/arbitrators/caching/metadata.cache.go
5
96.83
0.0% core/visitors/route.visitor.go
5
92.32
0.0% gast/ast.utils.go
10
86.42
0.0% graphs/symboldg/graph.go
17
82.18
0.0% core/pipeline/pipeline.go
20
76.47
0.0% core/visitors/base.go
21
87.76
0.0% core/arbitrators/packages.facade.go
26
79.47
0.0% core/visitors/controller.visitor.go
40
61.25
0.0% core/validators/receiver.validator.go
Jobs
ID Job ID Ran Files Coverage
1 20494816734.1 24 Dec 2025 10:28PM UTC 97
85.67
GitHub Action Run
Source Files on build 20494816734
  • Tree
  • List 97
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e5132a95 on github
  • Prev Build on main (#20494768974)
  • Next Build on main (#20495508018)
  • Delete
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