Skip to content

fix(updater): one log tag width for the whole run - #90

Merged
daggerok merged 1 commit into
mainfrom
fix/log-tag-width
Oct 29, 2026
Merged

daggerok merged 1 commit into
mainfrom
fix/log-tag-width

Conversation

@daggerok

Copy link
Copy Markdown
Owner

What

Every console line tag of scripts/update-data.ts now has one width for the whole run: [ + 8 characters + ], 12 in all, with at least one space on each side. That covers the fund progress tag of the shared output block ([ 48/48 ] was 10 wide next to [ done ] at 12), request labels that start retry and fallback lines ([edgar ], [ catalog ], [nport]) and padded tags (padEnd(9)}] without a closing space).

Why

The columns of a run did not line up, e.g. [ 48/48 ] JUST updated above [ done ] 48 funds: ....

Checks

  • check-log-tags.ts (workspace etf-std tool): no non-canonical tag left
  • bun test
  • after the merge: a live TICKERS=<2 funds> bun ./scripts/update-data.ts run, every tagged line checked for width 12

Every console tag is [ + 8 characters + ] with a space on each side, the fund progress tag included, so the columns line up through a whole run (the progress tag was 10 wide next to the 12-wide [ done ] lines, request labels like [edgar   ] were 9 to 11 wide).
@daggerok
daggerok merged commit 5a01121 into main Oct 29, 2026
1 check passed
@daggerok
daggerok deleted the fix/log-tag-width branch October 29, 2026 21:12
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.

1 participant