Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

32-bit bundles are broken while running the sync #18

Open
ajaykn opened this issue Feb 22, 2021 · 2 comments
Open

32-bit bundles are broken while running the sync #18

ajaykn opened this issue Feb 22, 2021 · 2 comments
Labels
bug Something isn't working stale

Comments

@ajaykn
Copy link
Contributor

ajaykn commented Feb 22, 2021

While we are trying with 32-bit bundle of this actions-sync tool,
it fails in fetching the organization.

Customer facing errors:
error creating github repository actions/setup-node: error creating organization actions: POST https://example.com/api/v3/admin/organizations: 422 Organization name is not available []

error creating github repository synced-actions/setup-ruby: error creating organization synced-actions: POST https://example.com/api/v3/admin/organizations: 404 Not Found []

Internal details when run with extra logs locally:
While fetching the organization, we get the plan

   org.plan.private_repos: 999999999999,

and it exceeds 32 bit INT (2147483647). So fails during unmarshal with below error.
json: cannot unmarshal number 999999999999 into Go struct field Plan.plan.private_repos of type int

If we try with 64 bit bundle (gh_202009231612_linux_amd64.tar.gz), it's working fine.

@timburgan
Copy link

I ran into this too on Debian. Using the 64 bit release worked fine as a workaround:
https://github.com/actions/actions-sync/releases/tag/v202009231612

Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

2 participants