Skip to content

Bump kotlin from 2.2.20 to 2.2.21 (#269) #384

Bump kotlin from 2.2.20 to 2.2.21 (#269)

Bump kotlin from 2.2.20 to 2.2.21 (#269) #384

GitHub Actions / detekt failed Oct 25, 2025 in 1s

reviewdog [detekt] report

reported by reviewdog 🐶

Findings (13)

src/test/kotlin/server/base/Patching.kt|101 col 44| The function testPatchingFile is too long (97). The maximum length is 80.
src/test/kotlin/server/base/Patching.kt|101 col 44| The function testPatchingFile appears to be too complex based on Cyclomatic Complexity (complexity: 31). Defined complexity threshold for methods is set to '20'
src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt|26 col 41| The function endpoint is too long (88). The maximum length is 80.
src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt|26 col 41| The function endpoint appears to be too complex based on Cyclomatic Complexity (complexity: 32). Defined complexity threshold for methods is set to '20'
src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt|116 col 36| This expression contains a magic number. Consider defining it to a well named constant.
src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt|116 col 41| This expression contains a magic number. Consider defining it to a well named constant.
src/main/kotlin/database/migration/MigrateTo1.kt|15 col 29| Function migrateZones is nested too deeply.
src/main/kotlin/database/migration/MigrateTo1.kt|29 col 1| Line detected, which is longer than the defined maximum line length in the code style.
src/test/kotlin/server/endpoints/create/TestPathCreationEndpoint.kt|183 col 2| The file /github/workspace/src/test/kotlin/server/endpoints/create/TestPathCreationEndpoint.kt is not ending with a new line.
src/main/kotlin/server/endpoints/patch/PatchSectorEndpoint.kt|131 col 1| Line detected, which is longer than the defined maximum line length in the code style.
src/main/kotlin/server/endpoints/patch/PatchPathEndpoint.kt|33 col 41| Function endpoint has 6 return statements which exceeds the limit of 5.
src/main/kotlin/database/serialization/SectorSerializer.kt|117 col 1| Line detected, which is longer than the defined maximum line length in the code style.
src/main/kotlin/database/serialization/SectorSerializer.kt|125 col 1| Line detected, which is longer than the defined maximum line length in the code style.

Filtered Findings (0)

Annotations

Check warning on line 101 in src/test/kotlin/server/base/Patching.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/test/kotlin/server/base/Patching.kt#L101 <detekt.LongMethod>

The function testPatchingFile is too long (97). The maximum length is 80.
Raw output
/github/workspace/src/test/kotlin/server/base/Patching.kt:101:44: warning: The function testPatchingFile is too long (97). The maximum length is 80. (detekt.LongMethod)

Check warning on line 101 in src/test/kotlin/server/base/Patching.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/test/kotlin/server/base/Patching.kt#L101 <detekt.CyclomaticComplexMethod>

The function testPatchingFile appears to be too complex based on Cyclomatic Complexity (complexity: 31). Defined complexity threshold for methods is set to '20'
Raw output
/github/workspace/src/test/kotlin/server/base/Patching.kt:101:44: warning: The function testPatchingFile appears to be too complex based on Cyclomatic Complexity (complexity: 31). Defined complexity threshold for methods is set to '20' (detekt.CyclomaticComplexMethod)

Check warning on line 26 in src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt#L26 <detekt.LongMethod>

The function endpoint is too long (88). The maximum length is 80.
Raw output
/github/workspace/src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt:26:41: warning: The function endpoint is too long (88). The maximum length is 80. (detekt.LongMethod)

Check warning on line 26 in src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt#L26 <detekt.CyclomaticComplexMethod>

The function endpoint appears to be too complex based on Cyclomatic Complexity (complexity: 32). Defined complexity threshold for methods is set to '20'
Raw output
/github/workspace/src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt:26:41: warning: The function endpoint appears to be too complex based on Cyclomatic Complexity (complexity: 32). Defined complexity threshold for methods is set to '20' (detekt.CyclomaticComplexMethod)

Check warning on line 116 in src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt#L116 <detekt.MagicNumber>

This expression contains a magic number. Consider defining it to a well named constant.
Raw output
/github/workspace/src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt:116:36: warning: This expression contains a magic number. Consider defining it to a well named constant. (detekt.MagicNumber)

Check warning on line 116 in src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt#L116 <detekt.MagicNumber>

This expression contains a magic number. Consider defining it to a well named constant.
Raw output
/github/workspace/src/main/kotlin/server/endpoints/contact/ReportIssueEndpoint.kt:116:41: warning: This expression contains a magic number. Consider defining it to a well named constant. (detekt.MagicNumber)

Check warning on line 15 in src/main/kotlin/database/migration/MigrateTo1.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/database/migration/MigrateTo1.kt#L15 <detekt.NestedBlockDepth>

Function migrateZones is nested too deeply.
Raw output
/github/workspace/src/main/kotlin/database/migration/MigrateTo1.kt:15:29: warning: Function migrateZones is nested too deeply. (detekt.NestedBlockDepth)

Check warning on line 29 in src/main/kotlin/database/migration/MigrateTo1.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/database/migration/MigrateTo1.kt#L29 <detekt.MaxLineLength>

Line detected, which is longer than the defined maximum line length in the code style.
Raw output
/github/workspace/src/main/kotlin/database/migration/MigrateTo1.kt:29:1: warning: Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)

Check warning on line 183 in src/test/kotlin/server/endpoints/create/TestPathCreationEndpoint.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/test/kotlin/server/endpoints/create/TestPathCreationEndpoint.kt#L183 <detekt.NewLineAtEndOfFile>

The file /github/workspace/src/test/kotlin/server/endpoints/create/TestPathCreationEndpoint.kt is not ending with a new line.
Raw output
/github/workspace/src/test/kotlin/server/endpoints/create/TestPathCreationEndpoint.kt:183:2: warning: The file /github/workspace/src/test/kotlin/server/endpoints/create/TestPathCreationEndpoint.kt is not ending with a new line. (detekt.NewLineAtEndOfFile)

Check warning on line 131 in src/main/kotlin/server/endpoints/patch/PatchSectorEndpoint.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/server/endpoints/patch/PatchSectorEndpoint.kt#L131 <detekt.MaxLineLength>

Line detected, which is longer than the defined maximum line length in the code style.
Raw output
/github/workspace/src/main/kotlin/server/endpoints/patch/PatchSectorEndpoint.kt:131:1: warning: Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)

Check warning on line 33 in src/main/kotlin/server/endpoints/patch/PatchPathEndpoint.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/server/endpoints/patch/PatchPathEndpoint.kt#L33 <detekt.ReturnCount>

Function endpoint has 6 return statements which exceeds the limit of 5.
Raw output
/github/workspace/src/main/kotlin/server/endpoints/patch/PatchPathEndpoint.kt:33:41: warning: Function endpoint has 6 return statements which exceeds the limit of 5. (detekt.ReturnCount)

Check warning on line 117 in src/main/kotlin/database/serialization/SectorSerializer.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/database/serialization/SectorSerializer.kt#L117 <detekt.MaxLineLength>

Line detected, which is longer than the defined maximum line length in the code style.
Raw output
/github/workspace/src/main/kotlin/database/serialization/SectorSerializer.kt:117:1: warning: Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)

Check warning on line 125 in src/main/kotlin/database/serialization/SectorSerializer.kt

See this annotation in the file changed.

@github-actions github-actions / detekt

[detekt] src/main/kotlin/database/serialization/SectorSerializer.kt#L125 <detekt.MaxLineLength>

Line detected, which is longer than the defined maximum line length in the code style.
Raw output
/github/workspace/src/main/kotlin/database/serialization/SectorSerializer.kt:125:1: warning: Line detected, which is longer than the defined maximum line length in the code style. (detekt.MaxLineLength)