build(deps): bump golangci/golangci-lint-action from 6 to 9 #38

Merged
dependabot[bot] merged 7 commits from dependabot/github_actions/golangci/golangci-lint-action-9 into main 2025-12-27 17:19:56 +00:00
dependabot[bot] commented 2025-11-24 01:36:29 +00:00 (Migrated from github.com)

Bumps golangci/golangci-lint-action from 6 to 9.

Release notes

Sourced from golangci/golangci-lint-action's releases.

v9.0.0

In the scope of this release, we change Nodejs runtime from node20 to node24 (https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/).

What's Changed

Changes

Full Changelog: https://github.com/golangci/golangci-lint-action/compare/v8.0.0...v9.0.0

v8.0.0

Requires golangci-lint version >= v2.1.0

What's Changed

Changes

Full Changelog: https://github.com/golangci/golangci-lint-action/compare/v7...v8.0.0

v7.0.1

What's Changed

Documentation

Dependencies

New Contributors

Full Changelog: https://github.com/golangci/golangci-lint-action/compare/v7.0.0...v7.0.1

v7.0.0

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note

Introduces server-side command registry handling and modernizes linting.

  • Implements TextHandler to parse [PROXY_SYSTEM][COMMANDS]=... messages, persist commands to globalCommandPath, and reload via cmd.LoadFrom (gobds/session/handler_text.go); wires command path via session.SetCommandPath (gobds/config.go)
  • Upgrades CI to golangci/golangci-lint-action@v9 with golangci-lint v2.7.2 and adds .golangci.yml v2 with tuned linters/settings
  • Improves robustness by safely closing bodies/conns via _ = Close() and adds missing package/type docs across modules

Written by Cursor Bugbot for commit 15977acdde. This will update automatically on new commits. Configure here.

Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 6 to 9. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/golangci/golangci-lint-action/releases">golangci/golangci-lint-action's releases</a>.</em></p> <blockquote> <h2>v9.0.0</h2> <p>In the scope of this release, we change Nodejs runtime from node20 to node24 (<a href="https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/">https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/</a>).</p> <h2>What's Changed</h2> <h3>Changes</h3> <ul> <li>feat: add install-only option by <a href="https://github.com/ldez"><code>@​ldez</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1305">golangci/golangci-lint-action#1305</a></li> <li>feat: support Module Plugin System by <a href="https://github.com/ldez"><code>@​ldez</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1306">golangci/golangci-lint-action#1306</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/golangci/golangci-lint-action/compare/v8.0.0...v9.0.0">https://github.com/golangci/golangci-lint-action/compare/v8.0.0...v9.0.0</a></p> <h2>v8.0.0</h2> <p><strong>Requires <code>golangci-lint</code> version &gt;= <code>v2.1.0</code></strong></p> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Changes</h3> <ul> <li>feat: use absolute paths by default when using working-directory option by <a href="https://github.com/ldez"><code>@​ldez</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1231">golangci/golangci-lint-action#1231</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/golangci/golangci-lint-action/compare/v7...v8.0.0">https://github.com/golangci/golangci-lint-action/compare/v7...v8.0.0</a></p> <h2>v7.0.1</h2> <!-- raw HTML omitted --> <h2>What's Changed</h2> <h3>Documentation</h3> <ul> <li>docs: add note about github.workspace by <a href="https://github.com/mattjohnsonpint"><code>@​mattjohnsonpint</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1218">golangci/golangci-lint-action#1218</a></li> <li>docs: clarify that ’args: --path-mode=abs’ is needed for working-directory by <a href="https://github.com/HaraldNordgren"><code>@​HaraldNordgren</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1230">golangci/golangci-lint-action#1230</a></li> </ul> <h3>Dependencies</h3> <ul> <li>build(deps): bump the dependencies group across 1 directory with 3 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1213">golangci/golangci-lint-action#1213</a></li> <li>build(deps-dev): bump the dev-dependencies group with 3 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1215">golangci/golangci-lint-action#1215</a></li> <li>build(deps-dev): bump the dev-dependencies group with 4 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1220">golangci/golangci-lint-action#1220</a></li> <li>build(deps): bump <code>@​types/node</code> from 22.13.14 to 22.14.0 in the dependencies group by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1221">golangci/golangci-lint-action#1221</a></li> <li>build(deps-dev): bump the dev-dependencies group with 3 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1224">golangci/golangci-lint-action#1224</a></li> <li>build(deps): bump <code>@​types/node</code> from 22.14.0 to 22.14.1 in the dependencies group by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1225">golangci/golangci-lint-action#1225</a></li> <li>build(deps-dev): bump the dev-dependencies group with 2 updates by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1227">golangci/golangci-lint-action#1227</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mattjohnsonpint"><code>@​mattjohnsonpint</code></a> made their first contribution in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1218">golangci/golangci-lint-action#1218</a></li> <li><a href="https://github.com/HaraldNordgren"><code>@​HaraldNordgren</code></a> made their first contribution in <a href="https://redirect.github.com/golangci/golangci-lint-action/pull/1230">golangci/golangci-lint-action#1230</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/golangci/golangci-lint-action/compare/v7.0.0...v7.0.1">https://github.com/golangci/golangci-lint-action/compare/v7.0.0...v7.0.1</a></p> <h2>v7.0.0</h2> <!-- raw HTML omitted --> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golangci/golangci-lint-action/commit/e7fa5ac41e1cf5b7d48e45e42232ce7ada589601"><code>e7fa5ac</code></a> feat: automatic module directories (<a href="https://redirect.github.com/golangci/golangci-lint-action/issues/1315">#1315</a>)</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/f3ae99f5f564eecb7524e0e89b9fd098650b67d7"><code>f3ae99f</code></a> docs: organize options (<a href="https://redirect.github.com/golangci/golangci-lint-action/issues/1314">#1314</a>)</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/1dfda283ac5083f39444dacb4c7a675704bdc4a5"><code>1dfda28</code></a> docs: update readme</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/8b0f9424d0ae0a3868982de5a972b364cee4787b"><code>8b0f942</code></a> build(deps): bump the dependencies group with 2 updates (<a href="https://redirect.github.com/golangci/golangci-lint-action/issues/1311">#1311</a>)</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/a77756c83893fc668e00359eb3d95774a0f3f6eb"><code>a77756c</code></a> build(deps-dev): bump the dev-dependencies group with 2 updates (<a href="https://redirect.github.com/golangci/golangci-lint-action/issues/1310">#1310</a>)</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/37a9fafcae15d89669c25cfa6674f831f1ec5214"><code>37a9faf</code></a> build(deps-dev): bump js-yaml from 4.1.0 to 4.1.1 (<a href="https://redirect.github.com/golangci/golangci-lint-action/issues/1309">#1309</a>)</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/199a9c288941bc07b12277163ba729dcdc8d652f"><code>199a9c2</code></a> build(deps-dev): bump the dev-dependencies group with 2 updates (<a href="https://redirect.github.com/golangci/golangci-lint-action/issues/1307">#1307</a>)</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/c7c1219093bae1f72610c5fd1a51a674647863f8"><code>c7c1219</code></a> chore: simplify</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/0a35821d5c230e903fcfe077583637dea1b27b47"><code>0a35821</code></a> docs: update readme</li> <li><a href="https://github.com/golangci/golangci-lint-action/commit/043b1b8d1c47e4591c1719682a050a7a0a82e19c"><code>043b1b8</code></a> feat: support Module Plugin System (<a href="https://redirect.github.com/golangci/golangci-lint-action/issues/1306">#1306</a>)</li> <li>Additional commits viewable in <a href="https://github.com/golangci/golangci-lint-action/compare/v6...v9">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golangci/golangci-lint-action&package-manager=github_actions&previous-version=6&new-version=9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Introduces server-side command registry handling and modernizes linting. > > - Implements `TextHandler` to parse `[PROXY_SYSTEM][COMMANDS]=...` messages, persist commands to `globalCommandPath`, and reload via `cmd.LoadFrom` (`gobds/session/handler_text.go`); wires command path via `session.SetCommandPath` (`gobds/config.go`) > - Upgrades CI to `golangci/golangci-lint-action@v9` with `golangci-lint v2.7.2` and adds `.golangci.yml` v2 with tuned linters/settings > - Improves robustness by safely closing bodies/conns via `_ = Close()` and adds missing package/type docs across modules > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 15977acdded762ae0eb897df65d17a6f08297cf1. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
coderabbitai[bot] commented 2025-11-24 01:37:01 +00:00 (Migrated from github.com)

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.


Comment @coderabbitai help to get the list of available commands and usage tips.

<!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- This is an auto-generated comment: skip review by coderabbit.ai --> > [!IMPORTANT] > ## Review skipped > > Bot user detected. > > To trigger a single review, invoke the `@coderabbitai review` command. > > You can disable this status message by setting the `reviews.review_status` to `false` in the CodeRabbit configuration file. <!-- end of auto-generated comment: skip review by coderabbit.ai --> <!-- other_code_reviewer_warning_start --> > [!NOTE] > ## Other AI code review bot(s) detected > > CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. <!-- other_code_reviewer_warning_end --> <!-- tips_start --> --- <sub>Comment `@coderabbitai help` to get the list of available commands and usage tips.</sub> <!-- tips_end -->
cursor[bot] (Migrated from github.com) reviewed 2025-12-27 17:10:12 +00:00
cursor[bot] (Migrated from github.com) commented 2025-12-27 17:10:13 +00:00

Incorrect misspell config option causes ignored word to fail

The misspell linter configuration uses ignore-rules but this is not a valid configuration option for the misspell linter in golangci-lint v2. The original v1 config used ignore-words to skip the word "cancelled". In v2, the correct option is extra-words (to add custom corrections/ignores). Using ignore-rules means the configuration will be silently ignored, and the misspell linter will report false positives for British English spellings like "cancelled" that were previously suppressed.

Fix in Cursor Fix in Web

### Incorrect misspell config option causes ignored word to fail <!-- **Medium Severity** --> <!-- DESCRIPTION START --> The misspell linter configuration uses `ignore-rules` but this is not a valid configuration option for the misspell linter in golangci-lint v2. The original v1 config used `ignore-words` to skip the word "cancelled". In v2, the correct option is `extra-words` (to add custom corrections/ignores). Using `ignore-rules` means the configuration will be silently ignored, and the misspell linter will report false positives for British English spellings like "cancelled" that were previously suppressed. <!-- DESCRIPTION END --> <!-- LOCATIONS START .golangci.yml#L32-L34 LOCATIONS END --> <a href="https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmE2YzVjNDI0LTZiYjEtNDEyNC1hY2Y0LWViZTk1MjkzNWFjNiIsImVuY3J5cHRpb25LZXkiOiJxMm9udzRlMlhmcGxYU3p4OWpEQjdYcFRmS0pyM0RpMWZackp2c1JwekFRIiwiYnJhbmNoIjoiZGVwZW5kYWJvdC9naXRodWJfYWN0aW9ucy9nb2xhbmdjaS9nb2xhbmdjaS1saW50LWFjdGlvbi05In0sImlhdCI6MTc2Njg1NTQxMiwiZXhwIjoxNzY5NDQ3NDEyfQ.lNVV5I-fhA4sGFpO0PKielU0bRf0hYr-v_cNQcOr9D7ZqdccgPSfaVQ5rulZAmuLxhut27r1svwTVl-y8p2wMkjLEjpsHhYr-DBeUbUY7gaf-27VHFNDrV5p4WM_-QZq8EhhxNUvPr4eQV1wh_aj7JxaAdpVj-iH5OXaKjneTK3YWSTmydt2pymFFFRgLstBiQZI1bvmMcxLUgPJioTOb_ADuhwDUEgZTAR6-mhE9rk4HQmKV3hfOGHRmxSFa0L8XiAZIpJwM7D4c9oz9paNUiewgMNtvMzKIMCnACoA8FqBYxfrGshGH8a82HYIYX5FNajR2JY0P_Ank33cUY12Ag" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/fix-in-cursor-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/fix-in-cursor-light.svg"><img alt="Fix in Cursor" src="https://cursor.com/fix-in-cursor.svg"></picture></a>&nbsp;<a href="https://cursor.com/agents?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmE2YzVjNDI0LTZiYjEtNDEyNC1hY2Y0LWViZTk1MjkzNWFjNiIsImVuY3J5cHRpb25LZXkiOiJxMm9udzRlMlhmcGxYU3p4OWpEQjdYcFRmS0pyM0RpMWZackp2c1JwekFRIiwiYnJhbmNoIjoiZGVwZW5kYWJvdC9naXRodWJfYWN0aW9ucy9nb2xhbmdjaS9nb2xhbmdjaS1saW50LWFjdGlvbi05IiwicmVwb093bmVyIjoic21lbGwtb2YtY3VycnkiLCJyZXBvTmFtZSI6ImdvYmRzIiwicHJOdW1iZXIiOjM4LCJjb21taXRTaGEiOiJlNGIwODAyYzZkODZmZmZlNGY4ZDFhM2NkNzdkNDJkNWZmYzU3YWYxIiwicHJvdmlkZXIiOiJnaXRodWIifSwiaWF0IjoxNzY2ODU1NDEyLCJleHAiOjE3Njk0NDc0MTJ9.S9I98v4M0z9K53gi3S1-dh0G8BPV01zGDjhaZQ0GTRiUvgRFYHe_ctf8FN81HSOHnQsDY1SwSez15mdUDabh5WlBHqux_oLOp5NgNtFj7cY6d9K_GrMS48q92l068JnK-UHF6dvlb4TSYhDJewgKRCoBpzMbR40qjKyA_1Ed9QwRf7Rsf2dCF6IqUSt5akM3bfdTTBOLYnm_FuWElQVxqn6tNWUIqcah5A4e-jfnEswAa7ZEpJft2QtZgPUuTX33eWoNI4WwVoZLRtsDieHqDAzSJfJEMk0bbAl21z-Qpei6ozWXVfL8rNJa1pUW3lZcKltUUBiKDqHcHL4D6nnugw" target="_blank" rel="noopener noreferrer"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/fix-in-web-dark.svg"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/fix-in-web-light.svg"><img alt="Fix in Web" src="https://cursor.com/fix-in-web.svg"></picture></a>
Sign in to join this conversation.
No description provided.