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

openconfig / ygnmi / 40348574732
4%
main: 4%

Build:
Build:
LAST BUILD BRANCH: robjs/reconciler-errch-buffer
DEFAULT BRANCH: main
Ran 26 Oct 2026 03:23PM UTC
Jobs 1
Files 63
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

26 Oct 2026 03:21PM UTC coverage: 4.477% (+0.008%) from 4.469%
40348574732

Pull #199

github

robshakir
Ignore ySchema byte changes in go generate workflow check

**TLDR**: Normalise `ySchema` byte slices during the `Go/generate` check so
changes in compressed schema bytes do not fail CI.

### Problem Statement

The `Go/generate` workflow runs `go generate ./...` and expects `git diff
--exit-code` to show zero changes. Generated `schema.go` files store a
compressed schema in `ySchema`, and its byte slice output is not stable across
Go versions and runs. As a result, `Go/generate` fails even when no other
generated Go code changes.

### Proposed Solution

Configure a Git `textconv` filter in the `Generate and Check Diff` step that
replaces the hex bytes inside `ySchema` with a fixed placeholder during `git
diff`, which matches `normaliseSchemaVar` in `ygot`. All other changes in
`schema.go` and other generated files still fail `git diff --exit-code`.

### Implementation Details

- **`.github/workflows/go.yml`**: Configure a `diff.yschema.textconv` filter on
  `*.go` before `git diff --exit-code` in the `generate` job.
Pull Request #199: Ignore ySchema byte changes in go generate workflow check

2026 of 45249 relevant lines covered (4.48%)

0.04 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
60.51
1.91% pathgen/gnmigen.go
1
87.72
-1.63% pathgen/pathgen.go
1
68.51
0.34% ygnmi/unmarshal.go
Jobs
ID Job ID Ran Files Coverage
1 40348574732.1 26 Oct 2026 03:23PM UTC 63
4.48
GitHub Action Run
Source Files on build 40348574732
  • Tree
  • List 63
  • Changed 63
  • Source Changed 0
  • Coverage Changed 63
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #199
  • PR Base - main (#26469214455)
  • Delete
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