Page MenuHomePhabricator

Add some of a billing daemon skeleton
ClosedPublic

Authored by epriestley on Jan 30 2015, 4:31 PM.
Tags
None
Referenced Files
F19812182: D11577.diff
Wed, Mar 4, 3:58 AM
F19801619: D11577.diff
Sun, Mar 1, 3:28 AM
F19801510: D11577.id27868.diff
Sun, Mar 1, 12:18 AM
F19800828: D11577.id27855.diff
Sat, Feb 28, 6:30 PM
F19784228: D11577.diff
Tue, Feb 24, 7:26 PM
F19508208: D11577.id27855.diff
Jan 10 2026, 2:12 AM
F18904964: D11577.id27855.diff
Nov 8 2025, 12:08 PM
F18767953: D11577.id27868.diff
Oct 8 2025, 1:02 AM
Subscribers

Details

Summary

Ref T6881. This adds the worker, and a script to make it easier to test. It doesn't actually invoice anything.

I'm intentionally allowing the script to double-bill since it makes testing way easier (by letting you bill the same period over and over again), and provides a tool for recovery if billing screws up.

(This diff isn't very interesting, just trying to avoid a 5K-line diff at the end.)

Test Plan

Used bin/phortune invoice ... to get the worker to print out some date ranges which it would theoretically invoice.

Diff Detail

Repository
rP Phabricator
Branch
sub3
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/phortune/worker/PhortuneSubscriptionWorker.php:11XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 4179
Build 4192: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Add some of a billing daemon skeleton.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jan 30 2015, 7:16 PM
This revision was automatically updated to reflect the committed changes.