Skip to content

chore: fix pre-existing gofmt drift across chart test suites and scripts#6311

Open
eamonnmoloney wants to merge 1 commit into
mainfrom
chore-gofmt-drift
Open

chore: fix pre-existing gofmt drift across chart test suites and scripts#6311
eamonnmoloney wants to merge 1 commit into
mainfrom
chore-gofmt-drift

Conversation

@eamonnmoloney

Copy link
Copy Markdown
Contributor

Which problem does the PR fix?

The repo has accumulated pre-existing gofmt drift: gofmt -l charts/ scripts/ lists 52 Go files (chart unit tests across 8.3–8.10 and the scripts/ tooling) that aren't gofmt-clean — mostly trailing whitespace and alignment. This pollutes unrelated diffs (any make go.fmt run sweeps them up) and makes the formatting gate noisy.

What's in this PR?

gofmt -w charts/ scripts/ — formatting only, no logic changes. The tree is now clean to gofmt -l.

Spot example (charts/camunda-platform-8.5/test/unit/console/types.go): a struct field had a trailing tab that gofmt strips.

scripts/deploy-camunda and the other Go modules still build.

Pure mechanical cleanup, intentionally separate from any feature PR so the formatting churn doesn't bury substantive review.

Checklist

Please make sure to follow our Contributing Guide.

Before opening the PR:

  • In the repo's root dir, run make go.update-golden-only.
  • There is no other open pull request for the same update/change.
  • Tests for charts are added (if needed).
  • In-repo documentation are updated (if needed).

After opening the PR:

  • Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
  • Did all checks/tests pass in the PR?

@github-actions github-actions Bot added version/8.3 Camunda applications/cycle version version/8.4 Camunda applications/cycle version version/8.5 Camunda applications/cycle version version/8.6 Camunda applications/cycle version version/8.8 Camunda applications/cycle version version/8.9 Camunda applications/cycle version version/8.10 Camunda applications/cycle version tool/script labels Jun 3, 2026
Running gofmt over the repo surfaces ~48 Go files (chart unit tests across
8.3-8.10 and the scripts/ tooling) with pre-existing formatting drift — mostly
trailing whitespace and alignment. No logic changes; gofmt-only. Brings the tree
to a clean 'gofmt -l' so the formatting gate is meaningful and future diffs
aren't polluted by incidental reformatting. Regenerated against current main.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@eamonnmoloney eamonnmoloney marked this pull request as ready for review June 9, 2026 09:42
@eamonnmoloney eamonnmoloney requested a review from a team as a code owner June 9, 2026 09:42
@eamonnmoloney eamonnmoloney requested review from Ian-wang-liyang and Copilot and removed request for a team and Copilot June 9, 2026 09:42
@github-actions github-actions Bot added the version/8.7 Camunda applications/cycle version label Jun 9, 2026

@Ian-wang-liyang Ian-wang-liyang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch!

@Ian-wang-liyang Ian-wang-liyang added this pull request to the merge queue Jun 9, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tool/script version/8.3 Camunda applications/cycle version version/8.4 Camunda applications/cycle version version/8.5 Camunda applications/cycle version version/8.6 Camunda applications/cycle version version/8.7 Camunda applications/cycle version version/8.8 Camunda applications/cycle version version/8.9 Camunda applications/cycle version version/8.10 Camunda applications/cycle version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants