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

Stumped on how to debug app #174

Open
maxwellE opened this issue Nov 1, 2024 · 10 comments
Open

Stumped on how to debug app #174

maxwellE opened this issue Nov 1, 2024 · 10 comments

Comments

@maxwellE
Copy link

maxwellE commented Nov 1, 2024

Hello All,

Thank you so much for making this very important tool for the Bazel community. I would love to use this tool but I cannot seem to figure out where I am going wrong with my package https://github.com/Tinder/bazel-diff . I have triple checked my config in https://github.com/Tinder/bazel-diff/tree/master/.bcr and made sure my permissions are all lined up on each repo. What action can I take next to figure out what is wrong? Thanks

@kormide
Copy link
Collaborator

kormide commented Nov 1, 2024

Hi @maxwellE. Looking at the logs, the last publish attempt appears to have been on Oct. 7 and that failed because the app wasn't installed to a fork of the Bazel Central Registry. Can you verify that the app is installed both to your ruleset as well as BCR fork either in your maxwellE account or in the Tinder org?

@maxwellE
Copy link
Author

maxwellE commented Nov 3, 2024

I just confirmed the app is properly set up on

https://github.com/Tinder/bazel-diff

and

https://github.com/maxwellE/bazel-central-registry

I just made the release, hoping it works https://github.com/Tinder/bazel-diff/releases/tag/8.1.2

@kormide
Copy link
Collaborator

kormide commented Nov 3, 2024

Hm, there was nothing in the logs. Do you have the correct app installed?

This is the correct one. This is not the correct one.

@maxwellE
Copy link
Author

maxwellE commented Nov 3, 2024

As long as I publish a release and make a tag it should work right?

@kormide
Copy link
Collaborator

kormide commented Nov 3, 2024

As long as I publish a release and make a tag it should work right?

Yeah that's right. And if it failed then I should at least see some logs.. I notice that you set the fixedReleaser to maxwellE but the release is published by tinder-maxwellelliott. Can you try changing the fixedReleaser and installing the app to a fork of the BCR under your other account?

If this doesn't work, then I can try forking your repo and testing a release against the dev instance of Publish to BCR to debug.

@maxwellE
Copy link
Author

maxwellE commented Nov 4, 2024

Okay I tried on tinder-maxwellelliott, do you see any logs?

@kormide
Copy link
Collaborator

kormide commented Nov 5, 2024

Okay I tried on tinder-maxwellelliott, do you see any logs?

There are no log entries for your release. I'll make some time to dive deeper on this and I'll get back to you.

@kormide
Copy link
Collaborator

kormide commented Nov 24, 2024

@maxwellE how does release.tar.gz get uploaded to your releases? Is this done manually or is it automated somewhere? I suspect that when Publish to BCR kicks off on a release it can't find the archive to download. The app uses backoff and retries, so if the archive is uploaded shortly after the release is created then it should still work.

@maxwellE
Copy link
Author

I do it manually but its part of the release when I submit it

@kormide
Copy link
Collaborator

kormide commented Nov 26, 2024

I do it manually but its part of the release when I submit it

Do you have a script or anything you can share with me so I can try to replicate it on a fork of your repo in my dev environment? You can also reach me on the Bazel slack if that's easier.

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

No branches or pull requests

2 participants