-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Getting log url error on PCSX2 Flatpak builds #5063
Comments
There is your error. You need to pass It should be something like this https://github.com/obsproject/obs-studio/blob/567e35ac693ca0e97e0e74d4f7649fea7501d3ad/.github/workflows/publish.yaml#L148 or a link to the CI pipeline that produced the flatpak package. |
Okay thanks :) I wonder why it suddenly stopped working.. |
We have now added it and now the log contains | Check status updated to Some(ReviewRequired("Some of the changes in this build require review by a moderator.")) so I guess we have to wait for you guys :) Edit: Oh seems to have gone through since our action failed, thanks! |
That's not a failure, flatpak-github-actions needs to drop the call to The build got flagged by automatic review, I'll review it soon and then it will be published. |
FYI, we didn't change any permissions, or do anything that would require moderator approval. If this is due to the SDK changing permissions, then this a very poor design choice. I hit the same thing with duckstation, and having to manually approve potentially hundreds or thousands of packages due to the base image changing seems ridiculous. Plus, if someone wanted to actually inject malware into a package, having a build log or approval of a manifest isn't going to stop them. So it's just bogging down and making things more difficult for the legitimate users of your service. The constant changes and breakage for flathub personally make me want to drop our support for it. |
Actually looks like I already reviewed it and it is up:
|
KDE maintains the SDK and sometimes some permissions are needs to be added/removed. Nothing we can do Permissions coming from SDK are indistinguishable from the ones in app once merged. |
The paste from above shows that the runtime/sdk is included in the information flathub has. Doesn't seem like a stretch that you could take the difference between permissions from the runtime and the app to determine when the app itself has an addition. Anyway, not trying to start a flame war, just point out the frustration points, I'm sure we're not the only ones affected. |
An app can add those same permissions in their manifest, there's no way to tell if they come from SDK or from the app manifest, by looking at build metadata. |
Ideally runtime should not have any static permissions. That's how things are with Freedesktop and GNOME runtimes, but KDE has them because of various reasons so here we are. |
Right. But why does that matter? Every app that uses the SDK is going to include those permissions (which is exactly what happened here), therefore if they're problematic and would be rejected for some reason, then you should reject every app that uses that SDK version. If the set of |
The KDE runtime here didn't have the permissions when it was first published, it was later added down the line. In that window apps can add it to their manifest. There's also the matter of maintaining a list of permissions coming from runtime, because they tend to change over time.
Where did I reject them? |
I didn't suggest that you did. I'm talking about the hypothetical case where you would actually want to reject an update, which I'm assuming is why it triggers a review in the first place. You would want to do the same for every app, for consistency. Anyway, feels like I'm talking to a wall, so I'm just going to end this here. Won't bother trying to suggest ideas that would save everybody time in the future. :) |
The permission changes from SDK only happen once when it gets rebuilt against a newer SDK. Subsequent changes will have only changes from app manifest. |
Hi Connor, We don’t have a good way to distinguish permissions inherited from the SDK from the ones set by the app. Unfortunately KDE runtime tends to change these relatively often, at least compared to GNOME and freedesktopsdk. It’s not impossible to solve automatically, but there’s always some bigger fish to catch, or fire to put out. That being said, new builds are rarely held for moderation for longer than a few hours, as we have a fairly good coverage across the time zones, but keep in mind this is all volunteer driven. The fact the uploads have been failing because of the missing build log URL seems to be my fault, as I was the person informing you about the change and then switching to another action. Apologies about that. I think the confusion about moderation status comes from the failing purge API call — I will look into making it exit successfully when I’m back from vacation.
Not denying your frustration, but as PCSX2 is one of 4 early adopters bypassing the CI, it’s more exposed to any breaking changes. I’m doing my best to keep everyone informed and builds flowing, but I have only so much mental capacity for this, so some hiccups are inevitable. |
Hey, did you guys change something recently? Our flatpak builds haven't worked for 3 weeks now, this is the log from the latest actions failure
Any clue what's going on? Do we need to change something, we weren't informed of anything (That I'm aware of), seems to mention something about a missing_build_log_url
Thanks!
The text was updated successfully, but these errors were encountered: