Skip to content

pre-commit: add bridgelint hook - #307

Merged
Fizzadar merged 1 commit into
mainfrom
fizzadar/bridgelint-ci
Nov 3, 2026
Merged

Fizzadar merged 1 commit into
mainfrom
fizzadar/bridgelint-ci

Conversation

@Fizzadar

@Fizzadar Fizzadar commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Runs bridgelint as a pre-commit hook, so the existing lint job checks bridgev2 error reporting (message statuses, login and provisioning RespErrors, direct media errors and bridge states) on every push. Only error-severity findings fail the job, and verbose: true prints warnings on passing runs too.

Change

  • Bump beeper/pre-commit-go from v0.4.2 to v0.5.0 and enable the bridgelint hook. Line endings in .pre-commit-config.yaml are kept as CRLF.

Current findings

On main, bridgelint reports no errors and 2 warnings, so the lint job passes and prints the warnings. bridgelint covers pkg/ltsm too, unlike the local go vet hook, so the first run is slower.

View in Indent
Tag @indent to continue the conversation here.

@indent

indent Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Issues

No issues found.

CI Checks

All CI checks passed on 94cc0fe.

Review agents

Select any unchecked box below to run or rerun that agent.

Passed (1)
  • Indent Review Agent · No issues found in the bridgelint hook config.
Full results

Indent Review Agent

  • Summary: No issues found in the bridgelint hook config.
  • Last ran on commit: 94cc0fe2
  • Latest result
    {
      "summary": "No issues found in the bridgelint hook config.",
      "findings": []
    }

@Fizzadar
Fizzadar merged commit def94ce into main Nov 3, 2026
9 checks passed
@Fizzadar
Fizzadar deleted the fizzadar/bridgelint-ci branch November 3, 2026 21:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant