Skip to content

chore(deps): update dependency golangci/golangci-lint to v2.12.0 - #20

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/github-actions-(non-major)
May 2, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/github-actions-(non-major)

Conversation

@renovate

@renovate renovate Bot commented May 1, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
golangci/golangci-lint uses-with minor v2.11.4 → v2.12.0

Release Notes

golangci/golangci-lint (golangci/golangci-lint)

v2.12.0

Compare Source

Released on 2026-05-01

  1. New linters
  2. Linters new features or changes
    • dupl: from f665c8d to c99c5cf (extended detection)
    • funcorder: from 0.5.0 to 0.6.0 (new option: function)
    • goconst: add an option to ignore strings from tests
    • goconst: from 1.8.2 to 1.10.0 (extended detection)
    • gomodguard_v2: from 1.4.1 to 2.1.0 (major version with new configuration)
    • gosec: from 619ce21 to 2.26.1 (new checks: G124, G708, G709, G710)
    • govet: add inline analyzer
    • makezero: from 2.1.0 to 2.2.1 (support slice type aliases)
    • paralleltest: expose checkcleanup option
    • sloglint: from 0.11.1 to 0.12.0 (new options: allowed-keys, custom-funcs)
    • wsl_v5: from 5.6.0 to 5.8.0 (new option: cuddle-max-statements; new checks: after-decl, after-defer, after-expr, after-go, cuddle-group)
  3. Linters bug fixes
    • forbidigo: from 2.3.0 to 2.3.1
    • godot: from 1.5.4 to 1.5.6
    • govet-modernize: from 0.43.0 to 0.44.0
    • ireturn: from 0.4.0 to 0.4.1
    • rowserrcheck: from 1.1.1 to c5f79b8
  4. Misc.
    • Decrease cache entropy
    • Embed the JSON schema in the binary
    • Filter env vars when cloning the repository with the custom command

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the deps label May 1, 2026
@renovate
renovate Bot enabled auto-merge (squash) May 1, 2026 22:21
@renovate
renovate Bot force-pushed the renovate/github-actions-(non-major) branch from 41867f3 to 324febd Compare May 1, 2026 22:27
@renovate
renovate Bot force-pushed the renovate/github-actions-(non-major) branch from 324febd to 3eaef21 Compare May 1, 2026 23:28
fclairamb added a commit that referenced this pull request May 2, 2026
…t v2.12 (#23)

* chore: refactor literal strings to constants for golangci-lint v2.12 compatibility

Continues the goconst preparation for the golangci-lint v2.12.0 upgrade
(Renovate PR #20). v2.12 detects significantly more goconst occurrences
than v2.11.4 and refused this codebase outright until they were addressed.

Refactor highlights:
- internal/notifications/constants.go - shared productName,
  productMonitoring, fieldLabelMonitor across discord/googlechat/
  mattermost/opsgenie/ntfy/pushover senders
- internal/mcp/constants.go - shared JSON-RPC and JSON Schema
  property keys (jsonRPCVersion, schemaKey*, prop*) across all
  tool definitions
- internal/db/models/result.go - canonical PeriodType{Raw,Hour,
  Day,Month} constants used by aggregation jobs and worker code
- internal/checkers/checkdns/checker.go - record type constants
  (recordTypeA/AAAA/CNAME/MX/NS/TXT/SOA) used consistently across
  the lookup switch and samples
- internal/checkers/check{docker,mongodb,ssl,js,dns}/checker.go -
  use checkerdef.OutputKeyError instead of the literal "error"
- internal/handlers/auth/handler.go - fieldBody/fieldPassword/
  fieldCode constants
- internal/handlers/{checks,statuspages,maintenancewindows}/
  handler.go - fieldBody constants
- internal/handlers/incidents/service.go - keyCheckUID/keyCheckSlug
- internal/integrations/slack/types.go - ActionAddCheck constant;
  client.go - apiKey{Channel,Text,User,View}
- internal/checkworker/worker.go - periodTypeRaw, outputKeyMessage
- pkg/cli/constants.go - keySuccess/keyMessage/keyFailed
- internal/prommetrics/metrics.go - use existing labelStatus/
  labelRegion/labelOrganization/labelCheckSlug constants
- internal/jobs/jobtypes/job_aggregation.go - alias jobtypes
  period* constants to models.PeriodType*

Net: 0 lint issues; tests pass.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* chore: extract remaining incident event metadata keys to constants

Per code review on PR #23: every literal map key in
internal/handlers/incidents/service.go now has a named constant —
keyStartedAt, keyResultUID, keyResolvedAt, keyDurationSeconds,
keyTotalFailures, keyFailureCount, keyEscalationThreshold,
keyRelapseCount, keyEffectiveRecoveryThreshold.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

* ci: retry Playwright browser install on transient apt mirror failures

The E2E job intermittently fails when GitHub-hosted runners cannot resolve
azure.archive.ubuntu.com during apt-get install of Playwright system fonts
(fonts-ipafont-gothic etc.). Wrap the install command in a 3-attempt retry
loop so transient DNS resolution failures auto-recover.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
@renovate
renovate Bot force-pushed the renovate/github-actions-(non-major) branch from e8e18db to 3329c33 Compare May 2, 2026 00:43
@renovate
renovate Bot merged commit 57898fe into main May 2, 2026
10 checks passed
@renovate
renovate Bot deleted the renovate/github-actions-(non-major) branch May 2, 2026 00:48
fclairamb added a commit that referenced this pull request Oct 26, 2026
…ort test send (#680)

## What changed
- Dashboard: the Down / HardDown counts and the "at a glance" ordering
ignore disabled checks, so a disabled check no longer shows as down
(#17, #18)
- Mobile event log: the time folds under the event label so the Related
links fit on screen (#19)
- Browser availability: a probed "no" is cached 30s instead of 15 min,
so a region recovers on the next heartbeat after a pod restart (#20)
- Report schedules: "Send test" validates, queues a `report_test_send`
job and answers `202 {jobUid}`; the report is built in the job, not in
the request (#16). The sync path is removed.

Known gap: the "down" tile still links to `/checks?status=down`, which
lists disabled down checks (needs an `enabled` filter on the list API).

Closes fclairamb/solidping-business#16
Closes fclairamb/solidping-business#17
Closes fclairamb/solidping-business#18
Closes fclairamb/solidping-business#19
Closes fclairamb/solidping-business#20

## Decided by autopilot
- Spec `report-test-send-as-job`, Q1 (remove the synchronous path?):
replaced, same route now async, no `?sync=true`. Recommended answer.
- Same spec, Q2 (surface the job in the UI?): toast only, no job page
link. Recommended answer.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant