Skip to content

fix: lint

e480578
Select commit
Loading
Failed to load commit list.
Merged

RS - Remove orphan attachments from db after a record is updated #7294

fix: lint
e480578
Select commit
Loading
Failed to load commit list.
firefoxci-taskcluster / lint-detekt succeeded Mar 27, 2026 in 5m 2s

FirefoxCI (pull_request)

Running detekt over all modules

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2026-03-27T13:59:12.078Z
Resolved: 2026-03-27T14:02:00.686Z
Task Execution Time: 2 minutes, 48 seconds, 608 milliseconds
Task Status: completed
Reason Resolved: completed
TaskId: XUji2oBnTrKD5hwtRWUmcA
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log


[taskcluster 2026-03-27T13:59:12.105Z] Worker Type (app-services-1/b-linux) settings:
[taskcluster 2026-03-27T13:59:12.105Z]   {
[taskcluster 2026-03-27T13:59:12.105Z]     "generic-worker": {
[taskcluster 2026-03-27T13:59:12.105Z]       "config": {
[taskcluster 2026-03-27T13:59:12.105Z]         "headlessTasks": true
[taskcluster 2026-03-27T13:59:12.105Z]       },
[taskcluster 2026-03-27T13:59:12.105Z]       "engine": "multiuser",
[taskcluster 2026-03-27T13:59:12.105Z]       "go-arch": "amd64",
[taskcluster 2026-03-27T13:59:12.105Z]       "go-os": "linux",
[taskcluster 2026-03-27T13:59:12.105Z]       "go-version": "go1.26.0",
[taskcluster 2026-03-27T13:59:12.105Z]       "release": "https://github.com/taskcluster/taskcluster/releases/tag/v97.0.1",
[taskcluster 2026-03-27T13:59:12.105Z]       "revision": "6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-03-27T13:59:12.105Z]       "source": "https://github.com/taskcluster/taskcluster/commits/6519c127aad40a47b1412136d9a5797a76eca200",
[taskcluster 2026-03-27T13:59:12.105Z]       "version": "97.0.1"
[taskcluster 2026-03-27T13:59:12.105Z]     },
[taskcluster 2026-03-27T13:59:12.105Z]     "image": "projects/taskcluster-imaging/global/images/gw-fxci-gcp-l1-2404-amd64-headless-googlecompute-2026-03-05",
[taskcluster 2026-03-27T13:59:12.105Z]     "instance-id": "6748209205023027754",
[taskcluster 2026-03-27T13:59:12.105Z]     "instance-type": "projects/887720501152/machineTypes/c2-standard-16",
[taskcluster 2026-03-27T13:59:12.105Z]     "local-ipv4": "10.138.0.44",
[taskcluster 2026-03-27T13:59:12.105Z]     "project-id": "fxci-production-level1-workers",

...(19 lines hidden)...

[setup 2026-03-27T14:01:00.408Z] Python version: 3.10.12
[cache 2026-03-27T14:01:00.410Z] cache /builds/worker/checkouts is empty; writing requirements: gid=1000 uid=1000 version=1
[volume 2026-03-27T14:01:00.410Z] changing ownership of volume /builds/worker/.cache to 1000:1000
[volume 2026-03-27T14:01:00.410Z] volume /builds/worker/checkouts is a cache
[setup 2026-03-27T14:01:00.410Z] running as worker:worker
[vcs 2026-03-27T14:01:00.410Z] executing ['git', 'config', '--global', '--add', 'safe.directory', '/builds/worker/checkouts/vcs']
[vcs 2026-03-27T14:01:00.412Z] executing ['git', 'clone', 'https://github.com/mozilla/application-services', '/builds/worker/checkouts/vcs']
[vcs 2026-03-27T14:01:00.413Z] Cloning into '/builds/worker/checkouts/vcs'...
[vcs 2026-03-27T14:01:05.938Z] executing ['git', 'fetch', '--tags', '--force', 'https://github.com/mozilla/application-services', 'fix/remove-orphan-attachments-on-record-update']
[vcs 2026-03-27T14:01:06.414Z] From https://github.com/mozilla/application-services
[vcs 2026-03-27T14:01:06.414Z]  * branch                fix/remove-orphan-attachments-on-record-update -> FETCH_HEAD
[vcs 2026-03-27T14:01:06.423Z] executing ['git', 'fetch', '--no-tags', 'https://github.com/mozilla/application-services', 'fix/remove-orphan-attachments-on-record-update']
[vcs 2026-03-27T14:01:06.851Z] From https://github.com/mozilla/application-services
[vcs 2026-03-27T14:01:06.851Z]  * branch                fix/remove-orphan-attachments-on-record-update -> FETCH_HEAD
[vcs 2026-03-27T14:01:06.856Z] executing ['git', 'checkout', '-f', '-B', 'fix/remove-orphan-attachments-on-record-update', 'e4805783ff95de0c5365bcaa35d4bc129c107905']
[vcs 2026-03-27T14:01:07.044Z] Switched to a new branch 'fix/remove-orphan-attachments-on-record-update'
[vcs 2026-03-27T14:01:07.045Z] executing ['git', 'submodule', 'init']
[vcs 2026-03-27T14:01:07.066Z] executing ['git', 'submodule', 'update', '--force']
[vcs 2026-03-27T14:01:07.085Z] cleaning git checkout...
[vcs 2026-03-27T14:01:07.086Z] executing ['git', 'clean', '-nxdff']
[vcs 2026-03-27T14:01:07.094Z] removing []
[vcs 2026-03-27T14:01:07.094Z] successfully cleaned git checkout!
[vcs 2026-03-27T14:01:07.095Z] TinderboxPrint:<a href='https://github.com/mozilla/application-services/commit/e4805783ff95de0c5365bcaa35d4bc129c107905' title='Built from application-services commit e4805783ff95de0c5365bcaa35d4bc129c107905'>e4805783ff95de0c5365bcaa35d4bc129c107905</a>
[task 2026-03-27T14:01:07.095Z] executing ['bash', '-cx', './gradlew detekt']
[task 2026-03-27T14:01:07.097Z] + ./gradlew detekt
[task 2026-03-27T14:01:07.171Z] Downloading https://services.gradle.org/distributions/gradle-8.14.3-bin.zip
[task 2026-03-27T14:01:08.533Z] .............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%..............100%
[task 2026-03-27T14:01:10.112Z] 
[task 2026-03-27T14:01:10.112Z] Welcome to Gradle 8.14.3!
[task 2026-03-27T14:01:10.112Z] 
[task 2026-03-27T14:01:10.112Z] Here are the highlights of this release:
[task 2026-03-27T14:01:10.112Z]  - Java 24 support
[task 2026-03-27T14:01:10.113Z]  - GraalVM Native Image toolchain selection
[task 2026-03-27T14:01:10.113Z]  - Enhancements to test reporting
[task 2026-03-27T14:01:10.113Z]  - Build Authoring improvements
[task 2026-03-27T14:01:10.113Z] 
[task 2026-03-27T14:01:10.113Z] For more details see https://docs.gradle.org/8.14.3/release-notes.html
[task 2026-03-27T14:01:10.113Z] 
[task 2026-03-27T14:01:10.211Z] To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
[task 2026-03-27T14:01:11.112Z] Daemon will be stopped at the end of the build 
[task 2026-03-27T14:01:15.511Z] Local configuration: absent local.properties; proceeding as normal.
[task 2026-03-27T14:01:40.812Z] 
[task 2026-03-27T14:01:40.812Z] > Configure project :ads-client
[task 2026-03-27T14:01:40.812Z] Requires glean_parser 18.2
[task 2026-03-27T14:01:42.311Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:42.311Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:42.311Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:42.311Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:43.711Z] 
[task 2026-03-27T14:01:43.711Z] > Configure project :autofill
[task 2026-03-27T14:01:43.711Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:43.711Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:43.711Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:43.711Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:43.811Z] 
[task 2026-03-27T14:01:43.811Z] > Configure project :crashtest
[task 2026-03-27T14:01:43.811Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:43.811Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:43.811Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:43.811Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:46.311Z] 
[task 2026-03-27T14:01:46.311Z] > Configure project :errorsupport
[task 2026-03-27T14:01:46.311Z] Requires glean_parser 18.2
[task 2026-03-27T14:01:46.411Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:46.411Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:46.411Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:46.411Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:46.711Z] 
[task 2026-03-27T14:01:46.711Z] > Configure project :fxaclient
[task 2026-03-27T14:01:46.711Z] Requires glean_parser 18.2
[task 2026-03-27T14:01:46.711Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:46.711Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:46.711Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:46.711Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:48.611Z] 
[task 2026-03-27T14:01:48.611Z] > Configure project :httpconfig
[task 2026-03-27T14:01:48.611Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:48.611Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:48.611Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:48.611Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:48.811Z] 
[task 2026-03-27T14:01:48.811Z] > Configure project :init_rust_components
[task 2026-03-27T14:01:48.811Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:48.811Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:48.811Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:48.811Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:49.011Z] 
[task 2026-03-27T14:01:49.011Z] > Configure project :logins
[task 2026-03-27T14:01:49.011Z] Requires glean_parser 18.2
[task 2026-03-27T14:01:49.011Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:49.011Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:49.011Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:49.011Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:49.111Z] 
[task 2026-03-27T14:01:49.111Z] > Configure project :merino
[task 2026-03-27T14:01:49.111Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:49.111Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:49.111Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:49.111Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:49.311Z] 
[task 2026-03-27T14:01:49.311Z] > Configure project :nimbus
[task 2026-03-27T14:01:49.311Z] Requires glean_parser 18.2
[task 2026-03-27T14:01:49.311Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:49.311Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:49.311Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:49.311Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:49.511Z] 
[task 2026-03-27T14:01:49.511Z] > Configure project :places
[task 2026-03-27T14:01:49.511Z] Requires glean_parser 18.2
[task 2026-03-27T14:01:49.511Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:49.511Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:49.511Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:49.511Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:49.611Z] 
[task 2026-03-27T14:01:49.611Z] > Configure project :push
[task 2026-03-27T14:01:49.611Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:49.611Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:49.611Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:49.611Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:49.711Z] 
[task 2026-03-27T14:01:49.711Z] > Configure project :relay
[task 2026-03-27T14:01:49.711Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:49.711Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:49.711Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:49.711Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:49.911Z] 
[task 2026-03-27T14:01:49.911Z] > Configure project :remotesettings
[task 2026-03-27T14:01:49.911Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:49.911Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:49.911Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:49.911Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:50.011Z] 
[task 2026-03-27T14:01:50.011Z] > Configure project :rust-log-forwarder
[task 2026-03-27T14:01:50.011Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:50.011Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:50.011Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:50.011Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:50.111Z] 
[task 2026-03-27T14:01:50.111Z] > Configure project :search
[task 2026-03-27T14:01:50.111Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:50.111Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:50.111Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:50.111Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:50.211Z] 
[task 2026-03-27T14:01:50.211Z] > Configure project :suggest
[task 2026-03-27T14:01:50.211Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:50.211Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:50.211Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:50.211Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:50.311Z] 
[task 2026-03-27T14:01:50.311Z] > Configure project :sync15
[task 2026-03-27T14:01:50.311Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:50.311Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:50.311Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:50.311Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:50.511Z] 
[task 2026-03-27T14:01:50.511Z] > Configure project :syncmanager
[task 2026-03-27T14:01:50.511Z] Requires glean_parser 18.2
[task 2026-03-27T14:01:50.511Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:50.511Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:50.511Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:50.511Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:50.611Z] 
[task 2026-03-27T14:01:50.611Z] > Configure project :tabs
[task 2026-03-27T14:01:50.611Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:50.611Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:50.611Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:50.611Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:50.711Z] 
[task 2026-03-27T14:01:50.711Z] > Configure project :tracing
[task 2026-03-27T14:01:50.711Z] Configuration 'megazordNative' was resolved during configuration time.
[task 2026-03-27T14:01:50.711Z] This is a build performance and scalability issue.
[task 2026-03-27T14:01:50.711Z] See https://github.com/gradle/gradle/issues/2298
[task 2026-03-27T14:01:50.711Z] Run with --info for a stacktrace.
[task 2026-03-27T14:01:58.752Z] 
[task 2026-03-27T14:01:58.752Z] > Task :detekt
[task 2026-03-27T14:01:58.752Z] 
[task 2026-03-27T14:01:58.752Z] [Incubating] Problems report is available at: file:///builds/worker/checkouts/vcs/build/reports/problems/problems-report.html
[task 2026-03-27T14:01:58.752Z] 
[task 2026-03-27T14:01:58.752Z] Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[task 2026-03-27T14:01:58.752Z] 
[task 2026-03-27T14:01:58.752Z] You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[task 2026-03-27T14:01:58.752Z] 
[task 2026-03-27T14:01:58.752Z] For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[task 2026-03-27T14:01:58.752Z] 
[task 2026-03-27T14:01:58.752Z] BUILD SUCCESSFUL in 51s
[task 2026-03-27T14:01:58.752Z] 1 actionable task: 1 executed
[taskcluster 2026-03-27T14:02:00.015Z]                        Exit Code: 0
[taskcluster 2026-03-27T14:02:00.015Z]                        User Time: 12.143ms
[taskcluster 2026-03-27T14:02:00.015Z]                      Kernel Time: 13.493ms
[taskcluster 2026-03-27T14:02:00.015Z]                        Wall Time: 1m2.452111088s
[taskcluster 2026-03-27T14:02:00.015Z]  Average Available System Memory: 59.17 GiB
[taskcluster 2026-03-27T14:02:00.015Z]       Average System Memory Used: 3.62 GiB
[taskcluster 2026-03-27T14:02:00.015Z]          Peak System Memory Used: 4.42 GiB
[taskcluster 2026-03-27T14:02:00.015Z]              Total System Memory: 62.79 GiB
[taskcluster 2026-03-27T14:02:00.015Z]                           Result: SUCCEEDED
[taskcluster 2026-03-27T14:02:00.016Z] === Task Finished ===
[taskcluster 2026-03-27T14:02:00.016Z] Task Duration: 1m2.452585958s
[taskcluster 2026-03-27T14:02:00.274Z] [mounts] Preserving cache: Moving "/home/task_177461995058304/cache0" to "/home/generic-worker/caches/UlT5A1wvRGCOAnFDIHeE_g"