test of skipping ci.yml jobs#7962
test of skipping ci.yml jobs#7962LukasPaczos wants to merge 4 commits intofix/lpaczos/always-run-ci-worflowfrom
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Accidentally committed debug text in README
- Removed the stray
asdasdline frombuild-benchmarks/README.mdand restored the intended blank spacing in the examples section.
- Removed the stray
Or push these changes by commenting:
@cursor push 1ac8013997
Preview (1ac8013997)
diff --git a/build-benchmarks/README.md b/build-benchmarks/README.md
--- a/build-benchmarks/README.md
+++ b/build-benchmarks/README.md
@@ -46,7 +46,6 @@
If your Gradle installation is not in `~/.gradle`, provided that as a parameter as well, see `--gradle-user-home PATH` above.
-asdasd
**Run full benchmark locally:**
```bash
python3 build-benchmarks/run-benchmark.py9553e1a to
11b962b
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Autofix Details
Bugbot Autofix prepared a fix for the issue found in the latest run.
- ✅ Fixed: Accidentally committed empty test method in Activity
- The empty no-op
test()method was removed fromInputScreenActivityto eliminate unintended dead production code.
- The empty no-op
Or push these changes by commenting:
@cursor push f8931571f5
Preview (f8931571f5)
diff --git a/duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/inputscreen/ui/InputScreenActivity.kt b/duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/inputscreen/ui/InputScreenActivity.kt
--- a/duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/inputscreen/ui/InputScreenActivity.kt
+++ b/duckchat/duckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/inputscreen/ui/InputScreenActivity.kt
@@ -50,10 +50,6 @@
@Inject
lateinit var inputScreenOnboardingWideEvent: InputScreenOnboardingWideEvent
- fun test() {
-
- }
-
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_input_screen)
...ckchat-impl/src/main/java/com/duckduckgo/duckchat/impl/inputscreen/ui/InputScreenActivity.kt
Outdated
Show resolved
Hide resolved
281d5de to
14e5e16
Compare
3fe7fcf to
6bfda08
Compare
There was a problem hiding this comment.
📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:16:29: Double quote to prevent globbing and word splitting [shellcheck]
Android/.github/workflows/ci.yml
Line 27 in 86984f7
There was a problem hiding this comment.
📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:19:30: Double quote to prevent globbing and word splitting [shellcheck]
Android/.github/workflows/ci.yml
Line 27 in 86984f7
There was a problem hiding this comment.
📝 [actionlint] reported by reviewdog 🐶
shellcheck reported issue in this script: SC2086:info:2:73: Double quote to prevent globbing and word splitting [shellcheck]
Android/.github/workflows/ci.yml
Line 27 in 86984f7
| with: | ||
| java-version-file: .github/.java-version | ||
| distribution: 'adopt' | ||
| distribution: 'adoptz' |
There was a problem hiding this comment.
Invalid JDK distribution name breaks CI unit tests
High Severity
The distribution value for actions/setup-java@v4 was changed from 'adopt' to 'adoptz', which is not a valid distribution identifier. This will cause the "Set up JDK version" step to fail in the unit_tests job, blocking all unit tests in CI. Every other job in this file and across other workflow files correctly uses 'adopt'.
Please tell me if this was useful or not with a 👍 or 👎.
Task/Issue URL: https://app.asana.com/1/137249556945/project/1208671518894266/task/1213642299611483?focus=true ### Description Instead of skipping the workflow at the trigger level, the workflow now always runs but gates all jobs behind a check_changes job that inspects the diff. - If only `.md` or `.github/` files changed → all jobs are skipped (GitHub treats skipped as passing for branch protection) - If `ci.yml` itself changed → all jobs run normally, so regressions are caught before merging - If any code file changed → all jobs run normally ### Steps to test this PR QA optional: - Open a PR that only modifies an `.md` file → check_changes should pass, all other jobs should be skipped, PR should be mergeable - Open a PR that only modifies a `.github` workflow file (not `ci.yml`) → check_changes should pass, all other jobs should be skipped, PR should be mergeable - Open a PR that modifies `.github/workflows/ci.yml` → all jobs should run - Open a PR that modifies any source file → all jobs should run I tested all of these via #7962. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Medium Risk** > Modifies the CI workflow execution logic to conditionally skip most jobs based on diff contents, which could unintentionally reduce coverage if the change-detection logic is wrong. > > **Overview** > The CI workflow no longer uses trigger-level `paths-ignore`; instead it always starts and runs a new `check_changes` job that diffs the PR (or always allows `push`/`workflow_dispatch`) to decide whether checks should run. > > All existing jobs (`code_formatting`, `unit_tests`, `lint`, `android_tests`) now `need` `check_changes` and are gated by `if: needs.check_changes.outputs.should_run == 'true'`, so docs-only or non-`ci.yml` `.github/` changes skip the expensive checks while changes to `ci.yml` or any code still run the full suite. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 9ff5ad8. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->



Note
Medium Risk
Medium risk because it changes a production
aiChatsubscription event identifier (could break downstream analytics/behavior) and tweaks CI tooling version, while also adding an accidental-looking README edit.Overview
Pins the nightly build benchmark workflow to install
gradleprofiler 0.23.0via SDKMAN instead of the latest.Changes the
aiChatstop-tap subscription event name inBrowserTabFragmentfromsubmitPromptInterruptiontosubmitPromptInterruptionxx, which will alter downstream event handling/metrics.Adds a stray
asdasdline tobuild-benchmarks/README.md(likely unintended documentation noise).Written by Cursor Bugbot for commit d6a28a1. This will update automatically on new commits. Configure here.