loop/cmd/loop
Boris Nagaev baecbbfe4c
cmd/loop: normalize numeric replay time zones
Recorded session replay already normalizes timestamps before
comparing CLI output, but the time.String timestamp regex only
matched alphabetic zone names like UTC and EST. Some systems
render the same offset with a numeric zone name, for example
-0300 -03, which left the publication deadline unnormalized
and caused fixture comparisons to fail.

Match numeric zone names as well, and parse the timestamp using
the explicit numeric offset instead of the display zone name. Add a
regression test covering RFC3339, alphabetic time.String zones, and
numeric time.String zones.
2026-07-02 02:50:13 -05:00
..
testdata/sessions cmd/loop: expose both taproot channel types 2026-06-22 15:06:25 -05:00
debug.go cmd/loop: add session gRPC transport hook 2026-05-20 03:12:03 -05:00
default_path_text_test.go cmd/loop: print homedir in help messages as ~ 2026-05-20 03:12:03 -05:00
docs.go cmd/loop: remove custom cli-docs template override 2025-11-04 21:58:52 -03:00
feecap.go cmd/loop: add static loop-in fee cap helper 2026-04-06 23:06:55 -05:00
feecap_test.go cmd/loop: add static loop-in fee cap helper 2026-04-06 23:06:55 -05:00
info.go cmd: replace grpc.DialContext with grpc.NewClient 2025-12-19 10:18:08 +01:00
instantout.go cmd/loop: fix panic on zero index in instantout reservation selection 2026-04-29 16:18:36 +02:00
l402.go cmd: replace grpc.DialContext with grpc.NewClient 2025-12-19 10:18:08 +01:00
liquidity.go liquidity: gate static autoloop 2026-05-22 02:32:15 -05:00
loopin.go lint: enable deprecation checks 2026-06-22 12:46:12 -05:00
loopout.go cmd/loop: add cli clock and hook 2026-05-20 03:12:03 -05:00
main.go lint: enable deprecation checks 2026-06-22 12:46:12 -05:00
monitor.go cmd: replace grpc.DialContext with grpc.NewClient 2025-12-19 10:18:08 +01:00
openchannel.go cmd/loop: expose both taproot channel types 2026-06-22 15:06:25 -05:00
quote.go cmd/loop: add cli clock and hook 2026-05-20 03:12:03 -05:00
reservations.go cmd: replace grpc.DialContext with grpc.NewClient 2025-12-19 10:18:08 +01:00
session_fixture_update_test.go cmd/loop: avoid escaped session text 2026-05-22 02:20:36 -05:00
session_recorder.go cmd/loop: avoid escaped session text 2026-05-22 02:20:36 -05:00
session_recorder_test.go cmd/loop: add session recorder plumbing 2026-05-20 03:12:03 -05:00
session_replay_test.go cmd/loop: normalize numeric replay time zones 2026-07-02 02:50:13 -05:00
session_stdio.go cmd/loop: add stdio hooks 2026-05-20 03:12:03 -05:00
session_transport.go cmd/loop: add session gRPC transport hook 2026-05-20 03:12:03 -05:00
staticaddr.go build: bump lnd to v0.21 2026-06-11 16:24:30 -05:00
stop.go cmd/loop: add session gRPC transport hook 2026-05-20 03:12:03 -05:00
swaps.go cmd/loop: remove orphan flag access 2026-05-20 03:12:03 -05:00
sweephtlc.go cmd/loop: add command "loop out sweephtlc" 2026-01-29 17:40:58 -05:00
terms.go cmd: replace grpc.DialContext with grpc.NewClient 2025-12-19 10:18:08 +01:00
utils.go cmd/loop: urfave/cli -> urfave/cli/v3 2025-10-07 14:41:02 -03:00