Skip to content

Keep the MeRemote migration within the existing Detekt limits #749

Closed

Description

@lumenpearson

Failure

The first Task2 validation for stage5b (#746, programme #273) compiled and passed all 73 focused JVM cases, including all 21 REST/Connect/gRPC linking cases, five repository ownership/IO/cancellation cases and all 15 settings cases. The same single offline command failed core:data Detekt with three newly introduced findings:

  • RpcMeRemote.kt:28: MaxLineLength.
  • DeviceLinkRepositoryImpl.kt:57: ComplexCondition (four clauses; the existing maximum is three).
  • MeRemoteTest.kt:43: MaxLineLength.

App Detekt passed. The command exited1 in67.06s. This is an uncommitted implementation-quality defect on work/android-transports-5b based on dev89; it has not reached dev, master or production. All 29 frozen source inputs remained unchanged, and fresh completed XML and raw output are retained separately from the prior RED.

Correction and acceptance

  • Wrap the two long lines and simplify the ownership guard without weakening identity checks, suppression or baseline growth.
  • A fresh resource-qualified run passes the same 73-case cohort and both data/app Detekt tasks.
  • Carry the correction in Move the remaining Android remotes to v2 transports (stage 5b) #746's full checked, independently reviewed dev/master delivery.

The existing lint rule is the regression guard for this style/build failure; the already observed behavioural ownership regressions hold the guard's meaning. No additional mirrored source test or new CI gate is needed. No full suite, native or production success is inferred from these focused tests.

Observed correction validation

After the independently qualified prior resource release, exactly three files changed: the two long lines were wrapped, and the missing-owner IOException check was separated from the three remaining class/address/bearer checks. No suppression, baseline or dependency changed. Validation2 ran once and exited0 in41.95s: 73/73 core:data/app tests freshly executed and passed, core:data Detekt freshly executed with zero findings. App Detekt was UP-TO-DATE; its three app source pins and archived successful report hash are identical to the prior passing lint result. The 29-input source cohort stayed frozen. The full stage5b suite, independent review and delivery remain pending, so this issue stays open.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions