Skip to content

test: the pay check holds on the first of a month - #232

Merged
TylerVigario merged 1 commit into
mainfrom
fix/pay-check-on-a-first
Dec 1, 2026
Merged

TylerVigario merged 1 commit into
mainfrom
fix/pay-check-on-a-first

Conversation

@TylerVigario

Copy link
Copy Markdown
Owner

Fixes #231.

On the first of a month, the Behaviour job fails at pay-check. That day, last month's last day is the day before, and the checks before pay-check enter work on it. One piece is offline-check's hour under Cable pulling, a service it adds with no signal, which no rule pays. The pay report says so, as it should. pay-check took it that nothing in the month was unpaid but its own.

What changes

  • pay-check reads the month as it is:
    • a rule pays all of it, except what the checks before it entered on the month's last day;
    • its pay due is what the work paid, added up, or, where no rule pays some, not known, saying how many;
    • the work it enters for Jordan makes one more piece that no rule pays.

Checks

On a scratch cluster, built from main, pay-check alone, today being a first:

  • The demo with an hour like offline-check's on 30 November:
    • main's pay-check fails, just as CI did;
    • this one passes, with "No rule pays 1 of these" before Jordan's work and 2 after.
  • The plain demo: passes, its pay due $370.86, the work added up.
  • The same hour on 15 November: fails, "a rule pays all of it but what the checks before this one entered on Nov 30 (Main Street office, Auburn · Nov 15)".

🤖 Generated with Claude Code

https://claude.ai/code/session_01TsLtVyutCz6jx8goTac4Mf

pay-check reads last month's pay by job. On a first, the day before is that
month's last, and what the checks before it enter on that day is there too:
offline-check's hour under the service it adds with no signal, which no rule
pays, among it. The check takes the month as it holds. A rule pays all of it
but what was entered on its last day. Its pay due is what the work paid,
added up, or, where no rule pays some, not known, saying how many. The work
the check enters for Jordan makes one more that no rule pays.

Fixes #231

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TsLtVyutCz6jx8goTac4Mf
@TylerVigario
TylerVigario merged commit ba53e74 into main Dec 1, 2026
12 checks passed
@TylerVigario
TylerVigario deleted the fix/pay-check-on-a-first branch December 1, 2026 23:35
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.

On the first of a month, the pay check fails

1 participant