Skip to content

Conversation

siretart
Copy link

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]

Copy link

codecov bot commented Dec 27, 2024

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.47%. Comparing base (e83edbc) to head (dcf20b7).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #500   +/-   ##
=======================================
  Coverage   81.47%   81.47%           
=======================================
  Files          36       36           
  Lines        3358     3358           
=======================================
  Hits         2736     2736           
  Misses        480      480           
  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.

Copy link
Contributor

@JeyJeyGao JeyJeyGao left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

LGTM.
@siretart the commit needs to be signed before merging.

@shizhMSFT shizhMSFT changed the title Fix build on 32bit platforms test: fix build on 32bit platforms Dec 27, 2024
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

@FeynmanZhou
Copy link
Member

@siretart Thanks for adding 32bit arch support. Would you mind sharing your use case? I am curious on your scenario.

@siretart
Copy link
Author

siretart commented Dec 27, 2024

I'm packaging this library for Debian, and we test it on like a dozen different architectures.

The use case can be described as having the notation cli binary prebuilt for as many architectures as possible so that it can be made available a regular Debian package and available via apt install notation

@JeyJeyGao
Copy link
Contributor

@siretart Could you sign your commit by follow the guide. Also please rebase the main branch. Thank you!

Copy link
Contributor

@priteshbandi priteshbandi left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link

This PR is stale because it has been opened for 45 days with no activity. Remove stale label or comment. Otherwise, it will be closed in 30 days.

@github-actions github-actions bot added Stale and removed Stale labels Feb 21, 2025
@FeynmanZhou
Copy link
Member

@siretart Just to follow up, could you sign your commit by follow the guide and rebase the main branch? Otherwise it will be closed by the GitHub bot. Thanks

Copy link

This PR is stale because it has been opened for 45 days with no activity. Remove stale label or comment. Otherwise, it will be closed in 30 days.

@siretart
Copy link
Author

sorry for the delay.

I've now signed this commit with the gpg key I'm using to sign my packages in Debian. Let me know if that is acceptable

@github-actions github-actions bot removed the Stale label May 20, 2025
Copy link

github-actions bot commented Jul 4, 2025

This PR is stale because it has been opened for 45 days with no activity. Remove stale label or comment. Otherwise, it will be closed in 30 days.

@github-actions github-actions bot added the Stale label Jul 4, 2025
@siretart
Copy link
Author

siretart commented Jul 4, 2025

anything else missing? I believe this can be cherry-picked

@github-actions github-actions bot removed the Stale label Jul 5, 2025
Copy link

This PR is stale because it has been opened for 45 days with no activity. Remove stale label or comment. Otherwise, it will be closed in 30 days.

@github-actions github-actions bot added the Stale label Aug 20, 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

Signed-off-by: Reinhard Tartler <[email protected]>
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
Copy link
Contributor

@siretart Could you sign your commits so that we can merge this PR?

@siretart
Copy link
Author

As far as I can tell https://patch-diff.githubusercontent.com/raw/notaryproject/notation-go/pull/500.patch already contains a proper "signed-off-by" line.

Maybe you mean something else that I might be missing?

@siretart
Copy link
Author

As far as I can tell, the current patch already contains a proper "Signed-off-by" line. Check here:

https://patch-diff.githubusercontent.com/raw/notaryproject/notation-go/pull/500.patch

Maybe I'm missing something else? Please clarify what you mean exactly.

Copy link

This PR is stale because it has been opened for 45 days with no activity. Remove stale label or comment. Otherwise, it will be closed in 30 days.

@github-actions github-actions bot added the Stale label Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants