From d4863db03ecd3e3ee563201d50b17f59acdf7cda Mon Sep 17 00:00:00 2001 From: hayaksi1 <193020925+hayaksi1@users.noreply.github.com> Date: Wed, 12 Aug 2026 16:06:02 +0300 Subject: [PATCH] Group the GitHub issue body limit constant with an underscore The GITHUB_MAX_ISSUE_BODY_SIZE constant added with the description truncation is a five-digit literal, above detekt's acceptableLength of 4, so :features:rageshake:impl:detekt failed. Write it as 65_536, matching MAX_LOG_LINES_SIZE in RageshakeConfig. --- .../features/rageshake/impl/reporter/DefaultBugReporterTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/rageshake/impl/src/test/kotlin/io/element/android/features/rageshake/impl/reporter/DefaultBugReporterTest.kt b/features/rageshake/impl/src/test/kotlin/io/element/android/features/rageshake/impl/reporter/DefaultBugReporterTest.kt index fe32678c27..7bb2add0e5 100755 --- a/features/rageshake/impl/src/test/kotlin/io/element/android/features/rageshake/impl/reporter/DefaultBugReporterTest.kt +++ b/features/rageshake/impl/src/test/kotlin/io/element/android/features/rageshake/impl/reporter/DefaultBugReporterTest.kt @@ -597,7 +597,7 @@ class DefaultBugReporterTest : RobolectricTest() { companion object { private const val EXPECTED_NUMBER_OF_PROGRESS_VALUE = 18 - private const val GITHUB_MAX_ISSUE_BODY_SIZE = 65536 + private const val GITHUB_MAX_ISSUE_BODY_SIZE = 65_536 private const val TRUNCATION_MARKER_MAX_SIZE = 200 } }