Skip to content

Conversation

@mahibi
Copy link
Collaborator

@mahibi mahibi commented Nov 27, 2025

followup of (or maybe should replace?) #5587

Not sure if it helps. Just testing..

Keep in mind also if it solves the "Error: The operation was canceled." issue:

This would change the behavior for builds on master.

Before:

analysis-wrapper-${{ github.head_ref || github.run_id }}

"The following concurrency group cancels in-progress jobs or runs on pull_request events only"

https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/control-workflow-concurrency#example-using-a-fallback-value

After:

${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}

${{ github.workflow }} is just used for convenience.
The important parts are github.head_ref || github.run_id vs github.event.pull_request.number || github.ref

same as iOS talk uses.
Modified version of https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/control-workflow-concurrency#example-using-concurrency-and-the-default-behavior

🚧 TODO

  • keep an eye on if "Error: The operation was canceled." happens on other branches without these changes
  • keep an eye on if "Error: The operation was canceled." still happens in this branch (retrigger builds again..?)
  • if it's merged, also do the changes in config repo

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

@mahibi mahibi self-assigned this Nov 27, 2025
…anceled.")

Not sure if it helps. Just testing..
See actions/runner-images#13263

Signed-off-by: Marcel Hibbe <[email protected]>
@mahibi mahibi force-pushed the changeConcurrency2 branch from 7f98133 to 2b9ae6a Compare November 28, 2025 07:21
@github-actions
Copy link
Contributor

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/5590.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@github-actions
Copy link
Contributor

Codacy

Lint

TypemasterPR
Warnings9999
Errors00

SpotBugs

CategoryBaseNew
Bad practice66
Correctness1010
Dodgy code5454
Internationalization33
Malicious code vulnerability33
Performance44
Security11
Total8181

@mahibi
Copy link
Collaborator Author

mahibi commented Nov 28, 2025

It also failed with with "Build failed with an exception." in this run (garm3)

FAILURE: Build failed with an exception.

* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to generate a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
> Task :app:mergeDexGenericRelease
> Task :app:lintVitalAnalyzeGenericRelease
Error: The operation was canceled.

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

Successfully merging this pull request may close these issues.

2 participants