Skip to content

test: cover protocol constants and version - #111

Merged
runcom merged 2 commits into
containers:mainfrom
miabbott:test/theedge-4595-protocol
Oct 20, 2026
Merged

runcom merged 2 commits into
containers:mainfrom
miabbott:test/theedge-4595-protocol

Conversation

@miabbott

Copy link
Copy Markdown
Contributor

No description provided.

@miabbott
miabbott force-pushed the test/theedge-4595-protocol branch from 01cdeff to 912d36e Compare September 18, 2026 16:25

@mcattamoredhat mcattamoredhat left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No actionable defects found.

@knecasov knecasov left a comment •

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added comments. None of them are blocking the merge, but I would like to get your thoughts on the first one. The second comment is out of scope, so I am fine with leaving the fix out of this PR.

Comment thread pkg/protocol/common.go
Comment thread pkg/protocol/common.go Outdated
@miabbott

Copy link
Copy Markdown
Contributor Author

The latest CI run fails only during linting on macOS, Windows, Fedora ARM, and the Makefile job. Builds and tests pass.

The failure is:

export data version 5 is greater than maximum supported version 4

CI currently pins golangci-lint v2.13.1, while the runners use Go 1.27.2/1.27.3. Updating the Makefile pin to v2.15.0 resolves the compatibility issue; make validate reports 0 issues locally with that version. No source or test changes are required.

I created a change in #114 that should probably merge first.

@miabbott
miabbott force-pushed the test/theedge-4595-protocol branch 2 times, most recently from a0a0c3e to b6d4ccb Compare October 20, 2026 15:22
Assisted-by: AI
Signed-off-by: Micah Abbott <miabbott@redhat.com>
Replace the impossible empty fallback with a direct leading slash strip.

filepath.Join always supplies the leading slash.

Assisted-by: AI
Signed-off-by: Micah Abbott <miabbott@redhat.com>
@miabbott
miabbott force-pushed the test/theedge-4595-protocol branch from b6d4ccb to 7fc64e8 Compare October 20, 2026 15:30
@runcom
runcom merged commit 7a29e72 into containers:main Oct 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants