Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

Commit

The open-source pool keeps public repositories' minutes at the 4-core rate: $50 a month, $4 a repository (Closes #172)

Since #170, ubuntu-latest in a public repository runs on the 4-core machine at $0.007 a minute instead of $0.004. At $2 a repository, the pool covered about 285 workflow minutes, down from 500. - The pool doubles, to $50 a month in all and $4 for any one repository. That is about 571 workflow minutes a repository, or 1,000 of checks and the merge queue on the standard machine. - Changed in billing's wrangler.jsonc vars, its defaults (credits.rs, with the test that holds them to what is published), the pricing page and the usage and billing guide.

Checked:
cargo test -p g1t-billing (304); apps/web npm test (1,096); prettier.
G1t-Session:
ses_01m57b7r6jew3aqgyfmhw6yah6
syntaqxcommitted Parent787d289Browse files
4 files+17−160/4 viewed
+4−4
262262
263263 ## The open-source pool
264264
265−g1t sets aside **$25 a month** for public repositories, at most **$2 a
266−month** for any one repository: about 3,571 and 285 minutes of
265+g1t sets aside **$50 a month** for public repositories, at most **$4 a
266+month** for any one repository: about 7,142 and 571 minutes of
267267 workflow jobs, which run on the 4-core machine in a public repository,
268−or 6,250 and 500 minutes of checks and merge queue runs on the standard
269−machine. It pays for **checks, workflows and the merge queue on
268+or 12,500 and 1,000 minutes of checks and merge queue runs on the
269+standard machine. It pays for **checks, workflows and the merge queue on
270270 public repositories**, after a card check. It does not pay
271271 for deployments, storage or embeddings.
272272
+2−2
9595 const DEFAULT_FREE: Required<FreeTier> = {
9696 trialWorkspaceMicros: 5_000_000,
9797 trialMonthlyPoolMicros: 100_000_000,
98− ossPoolMicros: 25_000_000,
99− ossRepoMicros: 2_000_000,
98+ ossPoolMicros: 50_000_000,
99+ ossRepoMicros: 4_000_000,
100100 freePrivateStorageBytes: 1_000_000_000,
101101 auditRetentionDays: 7,
102102 planAuditRetentionDays: 90,
+6−6
1010 //! (`TRIAL_WORKSPACE_MICROS`, $5), made once its card is checked (see
1111 //! `cards`), out of a pool for everyone that resets each calendar month
1212 //! (`TRIAL_MONTHLY_POOL_MICROS`, $100). Never for deployments.
13−//! 3. **g1t's open-source pool** (`OSS_POOL_MICROS` a month, $25, at most
14−//! `OSS_REPO_MICROS`, $2, for any one repository): checks, workflows and
13+//! 3. **g1t's open-source pool** (`OSS_POOL_MICROS` a month, $50, at most
14+//! `OSS_REPO_MICROS`, $4, for any one repository): checks, workflows and
1515 //! the merge queue on a public repository.
1616 //!
1717 //! Whatever is left is charged: from what was paid in advance first, since
9595 Config {
9696 plan_monthly_cents: 2_100,
9797 plan_included_micros: 10_000_000,
98− oss_pool_micros: 25_000_000,
99− oss_repo_micros: 2_000_000,
98+ oss_pool_micros: 50_000_000,
99+ oss_repo_micros: 4_000_000,
100100 trial_workspace_micros: 5_000_000,
101101 trial_monthly_pool_micros: 100_000_000,
102102 min_charge_micros: 5_000_000,
697697 let c = Config::default();
698698 assert_eq!(c.plan_monthly_cents, 2_100);
699699 assert_eq!(c.plan_included_micros, 10_000_000);
700− assert_eq!(c.oss_pool_micros, 25_000_000);
701− assert_eq!(c.oss_repo_micros, 2_000_000);
700+ assert_eq!(c.oss_pool_micros, 50_000_000);
701+ assert_eq!(c.oss_repo_micros, 4_000_000);
702702 assert_eq!(c.trial_workspace_micros, 5_000_000);
703703 assert_eq!(c.trial_monthly_pool_micros, 100_000_000);
704704 assert_eq!(c.min_charge_micros, 5_000_000);
+5−4
8484 "TRIAL_WORKSPACE_MICROS": "5000000",
8585 "TRIAL_MONTHLY_POOL_MICROS": "100000000",
8686 // g1t's open-source pool: checks, workflows and the merge queue on
87− // public repositories, for any workspace with a card check, up to $25
88− // a month in all and $2 a month for any one repository.
89− "OSS_POOL_MICROS": "25000000",
90− "OSS_REPO_MICROS": "2000000",
87+ // public repositories, for any workspace with a card check, up to $50
88+ // a month in all and $4 a month for any one repository: about 571
89+ // minutes of ubuntu-latest a repository, which is 4-core there.
90+ "OSS_POOL_MICROS": "50000000",
91+ "OSS_REPO_MICROS": "4000000",
9192 // Ceilings on usage not yet paid for (src/limits.rs): $3 for a free
9293 // workspace (it has no on-demand compute), $100 for a paid one's first
9394 // month, then twice what it has paid as payments clear, between the

Comments

Sign in to comment.