exwiw 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/exwiw/cli.rb +6 -0
- data/lib/exwiw/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0dd53c3798a3084444114cbf85e6a798d656d4a8e0a0db553185673ee80ad1ca
|
|
4
|
+
data.tar.gz: 35f28a107fabb0de4efdd8a4d4701676fac5d39b6ffb0d5b0cd8dae578cd9048
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bef6a4a3ba42324f6ad06de118e1f08473c85c76dae4eb3a1573476dd9bc97d00bd2a8bfac15f3c4bdc746825eeb9c64ee047d7920d8327b0b76608ef3cb433e
|
|
7
|
+
data.tar.gz: 20ed7a044c94b0ad476a7ace6ebef261441a0e2c9e0afc0d913e4d25a540e3b8e7d3949d4b77dda0d2745bfaab986bed5ed59b1c41ecc526f4ccad48667e8369
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.9.3] - 2026-07-02
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- **Progress logs now flush in real time when stdout is a pipe.** The CLI logger writes to `STDOUT`, which Ruby block-buffers when stdout is not a TTY (e.g. captured by a parent process or shipped to log aggregation), so a long `export`/`explain` surfaced its per-collection progress (`Processing table '...' (i/n)`, `Generated INSERT statement for N records`) only when the buffer filled or the process exited — reading as a stall. The CLI now sets `STDOUT.sync = true` before building the logger so each line flushes immediately. Data output is written to files (not stdout), so this does not affect dump throughput.
|
|
10
|
+
|
|
5
11
|
## [0.9.2] - 2026-06-30
|
|
6
12
|
|
|
7
13
|
### Added
|
data/lib/exwiw/cli.rb
CHANGED
|
@@ -575,6 +575,12 @@ module Exwiw
|
|
|
575
575
|
"#{formatted_ts} [#{progname}]: #{msg}\n"
|
|
576
576
|
end
|
|
577
577
|
|
|
578
|
+
# When STDOUT is a pipe (captured by a parent process / log aggregation),
|
|
579
|
+
# Logger.new(STDOUT) is block-buffered, so per-collection progress only
|
|
580
|
+
# surfaces when the buffer fills or the process exits. Sync so each log
|
|
581
|
+
# line flushes immediately and progress is visible in real time.
|
|
582
|
+
STDOUT.sync = true
|
|
583
|
+
|
|
578
584
|
Logger.new(
|
|
579
585
|
STDOUT,
|
|
580
586
|
level: @log_level,
|
data/lib/exwiw/version.rb
CHANGED