Skip to content

fix(logs): tag skipped conversions as savings:skip(reason) - #38

Merged
diegosouzapw merged 2 commits into
mainfrom
fix/port-pr-119-savings-skip-log
Aug 17, 2026
Merged

fix(logs): tag skipped conversions as savings:skip(reason)#38
diegosouzapw merged 2 commits into
mainfrom
fix/port-pr-119-savings-skip-log

Conversation

@diegosouzapw

Copy link
Copy Markdown
Owner

Tags a non-converted request's skip reason as savings:skip(<reason>) in the console request line (was a bare reason word), so skip reasons are greppable in omniglyph stdout and wrangler tail. Extracted to a pure skipReasonTag helper shared by the Node and Worker hosts.

  • src/log-tags.ts — new pure helper (unit-tested in tests/log-tags.test.ts)
  • src/node.ts, src/worker.ts — use the helper in the request log line
  • Structured telemetry (passthroughReasons in the JSONL event) is unchanged; this only affects the human console line.

Full suite 1096/1096; typecheck/lint/build clean.

diegosouzapw and others added 2 commits July 24, 2026 12:33
…uest line

The console request line printed a bare reason word when a request was not
converted; tag it as savings:skip(<reason>) so skip reasons are greppable in
omniglyph stdout and wrangler tail. Extracted to a pure skipReasonTag helper
shared by the Node and Worker hosts (unit-tested).

Co-authored-by: teamchong <25894545+teamchong@users.noreply.github.com>
Inspired-by: teamchong/pxpipe#119
…gs-skip-log

# Conflicts:
#	CHANGELOG.md
#	src/worker.ts
@sonarqubecloud

Copy link
Copy Markdown

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

@diegosouzapw
diegosouzapw merged commit 7d6531d into main Aug 17, 2026
9 of 10 checks passed
@diegosouzapw
diegosouzapw deleted the fix/port-pr-119-savings-skip-log branch August 17, 2026 22:58
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