Skip to content

Conversation

@jas4711
Copy link
Contributor

@jas4711 jas4711 commented Nov 4, 2025

Reproduce with:

$ GOARCH=386 go test -v github.com/notaryproject/notation-go ./notation_test.go:763:26: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in struct literal (overflows)
FAIL github.com/notaryproject/notation-go [build failed]
FAIL

Reproduce with:

$ GOARCH=386 go test -v github.com/notaryproject/notation-go
./notation_test.go:763:26: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in struct literal (overflows)
FAIL    github.com/notaryproject/notation-go [build failed]
FAIL

Signed-off-by: Reinhard Tartler <[email protected]>
Signed-off-by: Simon Josefsson <[email protected]>
@jas4711
Copy link
Contributor Author

jas4711 commented Nov 4, 2025

Identical to #500 but with signature

@jas4711
Copy link
Contributor Author

jas4711 commented Nov 4, 2025

Btw, the notation binary is now in Debian testing and will hopefully be part of the next release 'forky'!

https://packages.debian.org/forky/notation

Copy link
Member

@FeynmanZhou FeynmanZhou left a comment

Choose a reason for hiding this comment

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

LGTM

@FeynmanZhou
Copy link
Member

Thank you @jas4711 !

Copy link
Contributor

@yizha1 yizha1 left a comment

Choose a reason for hiding this comment

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

LGTM
Thanks @jas4711

@codecov
Copy link

codecov bot commented Nov 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.76%. Comparing base (e83edbc) to head (c8476f4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #563      +/-   ##
==========================================
+ Coverage   81.47%   82.76%   +1.29%     
==========================================
  Files          36       36              
  Lines        3358     2629     -729     
==========================================
- Hits         2736     2176     -560     
+ Misses        480      311     -169     
  Partials      142      142              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shizhMSFT shizhMSFT changed the title Fix build on 32bit platforms test: fix build on 32bit platforms Nov 7, 2025
Copy link
Contributor

@shizhMSFT shizhMSFT left a comment

Choose a reason for hiding this comment

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

LGTM

@shizhMSFT shizhMSFT merged commit a48f228 into notaryproject:main Nov 7, 2025
9 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