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

Teamwork / kommentaar
53%
master: 53%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.2.8
DEFAULT BRANCH: master
Repo Added 17 Jan 2024 02:00PM UTC
Token Hl0IHChx7sdBtong96gTfQfrlaivub8Ak regen
Build 71 Last
Files 10
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

LAST BUILD ON BRANCH refs/tags/v0.2.8
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • docker
  • enhancement/better-generic-support
  • enhancement/generic-types-map
  • enhancement/preinstall-kommentaar-docker
  • enums
  • feature/update-go-1.26
  • fix/cross-package-enum
  • fix/generics
  • fix/generics-support
  • fix/linter
  • fix/maptype-resolve-selectors-and-slices
  • fix/package-name-collision
  • generics
  • go-compiler
  • log-empty-tags
  • map-of-slice-additional-properties
  • maps
  • master
  • refs/tags/v0.1.10
  • refs/tags/v0.1.11
  • refs/tags/v0.1.9
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • refs/tags/v0.2.2
  • refs/tags/v0.2.3
  • refs/tags/v0.2.4
  • refs/tags/v0.2.5
  • refs/tags/v0.2.6
  • refs/tags/v0.2.7
  • refs/tags/v0.2.8
  • run-output-opt

05 May 2026 01:10PM UTC coverage: 53.04% (-0.1%) from 53.142%
25378422108

push

github

web-flow
Fix package name collision when two packages share the same base name (#111)

* Fix package name collision when two packages share the same base name

When two packages have the same last path component (e.g. sub-a/shared
and sub-b/shared both resolve to "shared"), GetReference was using
filepath.Base(pkg) as the lookup key, causing the second type to
silently overwrite the first in prog.References.

The fix adds a collision check before storing: if the key already exists
for a different package, a numeric suffix is appended (shared.Request2,
shared.Request3, …) to produce a unique key. Repeated calls for the same
colliding package reuse the existing suffixed key.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* Extract applyFieldWhitelists to reduce GetReference cyclomatic complexity

GetReference exceeded the gocyclo threshold of 65 (was 68). Extracting the
field-whitelist processing block into its own helper brings it back under
the limit without changing behaviour.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>

11 of 47 new or added lines in 1 file covered. (23.4%)

7 existing lines in 1 file now uncovered.

1169 of 2204 relevant lines covered (53.04%)

44.98 hits per line

Relevant lines Covered
Build:
Build:
2204 RELEVANT LINES 1169 COVERED LINES
44.98 HITS PER LINE
Source Files on master
  • Tree
  • List 10
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25378422108 refs/tags/v0.2.8 Fix package name collision when two packages share the same base name (#111) * Fix package name collision when two packages share the same base name When two packages have the same last path component (e.g. sub-a/shared and sub-b/shared both res... push 05 May 2026 01:12PM UTC web-flow github
53.04
25378376565 master Fix package name collision when two packages share the same base name (#111) * Fix package name collision when two packages share the same base name When two packages have the same last path component (e.g. sub-a/shared and sub-b/shared both res... push 05 May 2026 01:11PM UTC web-flow github
53.04
25377765942 fix/package-name-collision Extract applyFieldWhitelists to reduce GetReference cyclomatic complexity GetReference exceeded the gocyclo threshold of 65 (was 68). Extracting the field-whitelist processing block into its own helper brings it back under the limit without chang... Pull #111 05 May 2026 12:59PM UTC shane-tw github
53.04
25377318201 fix/package-name-collision Fix package name collision when two packages share the same base name When two packages have the same last path component (e.g. sub-a/shared and sub-b/shared both resolve to "shared"), GetReference was using filepath.Base(pkg) as the lookup key, ... Pull #111 05 May 2026 12:50PM UTC shane-tw github
52.97
24848127074 refs/tags/v0.2.7 Fix enum variations not resolved for cross-package enum types (#110) When a field annotated with {enum} has a type from another package (e.g. `pkg.SomeType`), getEnumVariations was never called with the correct type name. The SelectorExpr branch ... push 23 Apr 2026 05:04PM UTC web-flow github
53.14
24848102737 master Fix enum variations not resolved for cross-package enum types (#110) When a field annotated with {enum} has a type from another package (e.g. `pkg.SomeType`), getEnumVariations was never called with the correct type name. The SelectorExpr branch ... push 23 Apr 2026 05:03PM UTC web-flow github
53.14
24848096496 master Merge pull request #108 from Teamwork/map-of-slice-additional-properties push 23 Apr 2026 05:03PM UTC web-flow github
52.86
24848043446 fix/cross-package-enum Fix enum variations not resolved for cross-package enum types When a field annotated with {enum} has a type from another package (e.g. `pkg.SomeType`), getEnumVariations was never called with the correct type name. The SelectorExpr branch called ... Pull #110 23 Apr 2026 05:02PM UTC shane-tw github
53.28
24847921383 map-of-slice-additional-properties Normalise map value type before primitive check `resolveMap` compared the raw Go type name against the JSON-schema primitive set, so `int`/`bool`/`float64` failed the check and fell through to an open-object fallback. Run `JSONSchemaType` first s... Pull #108 23 Apr 2026 04:59PM UTC seanogdev github
52.86
24847908442 master Merge pull request #109 from Teamwork/fix/maptype-resolve-selectors-and-slices push 23 Apr 2026 04:59PM UTC web-flow github
53.0
See All Builds (71)

Badge your Repo: kommentaar

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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