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

pomerium / pomerium / 25821135931
52%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 07:36PM UTC
Jobs 1
Files 706
Run time 2min
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

13 May 2026 07:20PM UTC coverage: 45.854% (+0.4%) from 45.446%
25821135931

push

github

web-flow
core/config: fix generated bool setter (#6344)

## Summary
Fix a bug in the generated protobuf/go config conversion code.

## Details
When working with a protobuf type with a non-nullable bool:

```proto
message OutlierDetection {
  bool split_external_local_origin_errors = 12;
}
```

The `ToProto` conversion would use the `setNullableBoolToProto`
function:

```go
setNullableBoolToProto(new(&obj.SplitExternalLocalOriginErrors), src.SplitExternalLocalOriginErrors)
```

Because we were using `new` the value would then immediately be
discarded and the actual boolean never set. So instead we will now call
the non-nullable `setBoolToProto` which will set the value properly, and
that method was updated to take a `nullable.Value` instead of a pointer:

```go
func setBoolToProto(dst *bool, src Value[bool]) error {
	if !src.IsSet {
		return nil
	}
	*dst = src.Value
	return nil
}
```

## Related issues

## AI disclosure

none
## Checklist

- [ ] reference any related issues
- [ ] updated unit tests
- [ ] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [x] disclosed AI usage (or wrote "none") per AI_POLICY.md
- [x] ready for review

0 of 11 new or added lines in 2 files covered. (0.0%)

30 existing lines in 7 files now uncovered.

36334 of 79239 relevant lines covered (45.85%)

307.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
0.0
0.0% internal/generate/generate.go
5
42.31
-4.5% pkg/nullable/value.go

Coverage Regressions

Lines Coverage ∆ File
8
91.72
-1.79% pkg/ssh/policy_index_inmemory.go
7
72.3
-4.73% pkg/grpcutil/client_manager.go
5
47.76
-0.54% internal/databroker/server_clustered_follower.go
4
74.26
-1.18% internal/databroker/config_source.go
2
85.67
-0.62% pkg/grpc/databroker/syncer.go
2
95.83
-2.08% pkg/identity/manager/schedulers.go
2
83.95
0.0% pkg/ssh/auth.go
Jobs
ID Job ID Ran Files Coverage
1 25821135931.1 13 May 2026 07:36PM UTC 706
45.85
GitHub Action Run
Source Files on build 25821135931
  • Tree
  • List 706
  • Changed 15
  • Source Changed 2
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25821135931
  • 8e4d251f on github
  • Prev Build on main (#25765556830)
  • Next Build on main (#25868454902)
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