Skip to content

Assert oversized PDFs skip billing - #103

Merged
suguanYang merged 1 commit into
stagingfrom
fix/wangbinqi/prebilling-pdf-page-limit
May 19, 2026
Merged

suguanYang merged 1 commit into
stagingfrom
fix/wangbinqi/prebilling-pdf-page-limit

Conversation

@suguanYang

@suguanYang suguanYang commented May 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Strengthen the worker contract for PDF page-limit rejection while billing is enabled.
  • Assert oversized PDFs fail before any billing side effects are created.
  • Verify the failed job records skipped billing, no balance row, no credit transactions, and no system-grant payment.

Tests

  • GitHub PR CI

@suguanYang
suguanYang force-pushed the fix/wangbinqi/prebilling-pdf-page-limit branch from 57e65d5 to b0e5f0b Compare May 19, 2026 13:06
@suguanYang suguanYang changed the title Reject oversized PDFs before billing Assert oversized PDFs skip billing May 19, 2026
@suguanYang
suguanYang merged commit 3816dbc into staging May 19, 2026
9 checks passed
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