Skip to content

chore: gofmt cleanup — 16 files (rebased onto main) - #355

Merged
c03rad0r merged 2 commits into
OpenTollGate:mainfrom
felixfelix-bot:rebase/pr-341
Aug 30, 2026
Merged

c03rad0r merged 2 commits into
OpenTollGate:mainfrom
felixfelix-bot:rebase/pr-341

Conversation

@felixfelix-bot

Copy link
Copy Markdown
Contributor

Rebased version of #341. Conflicts resolved: gofmt whitespace in lightning.go and types.go, kept HEAD import names. 2 commits applied cleanly. Build verified.

@felixfelix-bot

Copy link
Copy Markdown
Contributor Author

Rebased onto main by felixfelix-bot (supersedes #341). Ready for c03rad0r review + merge. Gofmt cleanup — 16 files. Clean rebase, no conflicts.

@Amperstrand Amperstrand left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Fidelity-verified: validator.go import regrouping (stdlib/third-party with blank line) present, 12 files formatted, CI green.

One note: 3 files remain gofmt-dirty after this PR — , , (verified on this PR's tree with gofmt -l). They arrived in the merge wave after this branch was cut. Our orphaned rebuild 9a42098 covered all 14; happy to send a tiny follow-up PR finishing the remaining 3 once #353 (which also touches config_schema.go) and this land — say the word.

@Amperstrand Amperstrand left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Fidelity-verified: validator.go import regrouping (stdlib/third-party with blank line) present, 12 files formatted, CI green.

One note: 3 files remain gofmt-dirty after this PR - config_manager/config_schema.go, merchant/lightning_state_test.go, merchant/quotes_wireformat_test.go (verified on this PR's tree with gofmt -l). They arrived in the merge wave after this branch was cut. Our orphaned rebuild 9a42098 covered all 14; happy to send a tiny follow-up PR finishing the remaining 3 once #353 (which also touches config_schema.go) and this land - say the word.

@Amperstrand Amperstrand left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Reviewed — pure gofmt across 16 files, no semantic changes; CI green. Note for merge order: tiny overlap with #353 in wireless_gateway_manager/scanner.go — merging #353 first keeps this trivially conflict-free (or vice-versa, one-line resolution). Approving.

(E2E cloud-lab run for this head is in flight; results will follow.)

@Amperstrand

Copy link
Copy Markdown
Collaborator

E2E results: deployed head 435ebd6 as ci-pr-355.195.435ebd6 (CI-built ipk) on the OpenWrt x86_64 QEMU lab:

Suite Result
api/test_quote_persistence 4/4 passed
api/test_lightning_backoff 3/3 passed

Pure formatting PR — build + deploy + suites green, as expected. (Approve + merge at your discretion; #353 first keeps the scanner.go overlap trivial.)

Amperstrand and others added 2 commits August 30, 2026 18:51
Pure formatting fixes. No code changes. gofmt -l . now returns empty.
@c03rad0r
c03rad0r merged commit 020e647 into OpenTollGate:main Aug 30, 2026
felixfelix-bot added a commit to felixfelix-bot/tollgate-module-basic-go that referenced this pull request Sep 20, 2026
* chore: gofmt cleanup — 16 files

Pure formatting fixes. No code changes. gofmt -l . now returns empty.

* fix: cold review — correct import ordering in validator.go (stdlib before third-party with blank line separator)

---------

Co-authored-by: Amperstrand <amperstrand@localhost>
Co-authored-by: Felix <301398501+felixfelix-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants