renovatebot / app-support

Discussion/support issues for the hosted Renovate App
0 stars 0 forks source link

Reconfiguration PR not being validated, logs not showing #32

Closed leaumar closed 3 years ago

leaumar commented 4 years ago

I'm using the gitlab bot on some active repos with success. I filed reconfiguration PRs on 2 of them several hours ago and see no interaction with them by the bot yet.

In the meantime the bot has been running (several log entries visible) and even been filing dep update PRs and detecting code changes that I added to them, so I'm a bit confused by it doing one thing but not another. Do renovate's different jobs actually run at different schedules?

Sorry if this is just a matter of waiting longer, but the docs, existing issues, and my limited insight/experience with the bot (like instant reaction to dep update PR changes) paint a certain expectation, and I read that onboarding and reconfiguring are the scheduler's top priorities, so when it doesn't come true then I feel there must be something wrong or knowledge missing...

On a related note, the logs for 1 of my repos never load: image

--

All that aside, I wanna say thanks for making this awesome tool and making it free :) It works like a charm (these hiccups/misunderstandings aside), definitely relieves me of some work, and makes very convenient use of gitlab's/github's facilities 👍

leaumar commented 4 years ago

After 3 days there has been no change, so I think something must be broken or the docs are simply not correct anymore. In the meantime I've received a welcome email from someone from whitesource. Can I take this issue to that person, or is this repo still the place to go for tech support?

rarkins commented 4 years ago

Sorry for the delay in getting back to you. I'm not sure that reconfiguration feedback is supported on GitLab for now but will look into it to confirm. It's not like the full Onboarding PR with descriptions - it just validates the config and then adds a pass or fail checkmark. You can add this functionality to your pipelines or run it manually itself using the config validator that ships with renovate using the name renovate-config-validator

For the one that doesn't load, can you check the console and network activity log to see if there's any hint as to what's failing?

leaumar commented 4 years ago

Oh ok, that makes sense. Thanks for the tip.

image First 4 calls were for loading a working project. Bottom 2 for the one that's stuck. https://v1.renovateapi.com/gitlab/repos/Marnes/image-background-color-picker/jobs returns 403. These are solo projects under my ownership and my repo configurations are all vanilla, so I'm not sure why this app would be getting that error.

rarkins commented 4 years ago

I might know why. GitLab have an API bug where it returns an empty permissions level in some cases, and the Renovate API validates that you have write access to a repo in order to view the logs. No permissions level means you get denied access. There's a workaround by including a minimum permissions level in the url query string itself, and then performing no client-side validation. I'll see if I can find the code.

Curiously though, does that repo show up in the sidebar of all repos after you log in?

leaumar commented 4 years ago

Yeah, it shows up the same as the rest: image image

rarkins commented 3 years ago

I'm going to archive this repository so that we have conversations in one place. Therefore please create an "App Support" discussion here if this problem or suggestion is still relevant: https://github.com/renovatebot/renovate/discussions