The open-source pool keeps public repositories' minutes at the 4-core rate: $50 a month, $4 a repository #173
Mergeds
syntaqx merged oss-pool-4core into main
4 files+17−160/4 viewed
| 262 | 262 | ||
| 263 | 263 | ## The open-source pool | |
| 264 | 264 | ||
| 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 | |
| 267 | 267 | 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 | |
| 270 | 270 | public repositories**, after a card check. It does not pay | |
| 271 | 271 | for deployments, storage or embeddings. | |
| 272 | 272 |
| 95 | 95 | const DEFAULT_FREE: Required<FreeTier> = { | |
| 96 | 96 | trialWorkspaceMicros: 5_000_000, | |
| 97 | 97 | trialMonthlyPoolMicros: 100_000_000, | |
| 98 | − | ossPoolMicros: 25_000_000, | |
| 99 | − | ossRepoMicros: 2_000_000, | |
| 98 | + | ossPoolMicros: 50_000_000, | |
| 99 | + | ossRepoMicros: 4_000_000, | |
| 100 | 100 | freePrivateStorageBytes: 1_000_000_000, | |
| 101 | 101 | auditRetentionDays: 7, | |
| 102 | 102 | planAuditRetentionDays: 90, |
| 10 | 10 | //! (`TRIAL_WORKSPACE_MICROS`, $5), made once its card is checked (see | |
| 11 | 11 | //! `cards`), out of a pool for everyone that resets each calendar month | |
| 12 | 12 | //! (`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 | |
| 15 | 15 | //! the merge queue on a public repository. | |
| 16 | 16 | //! | |
| 17 | 17 | //! Whatever is left is charged: from what was paid in advance first, since | |
| ⋯ | |||
| 95 | 95 | Config { | |
| 96 | 96 | plan_monthly_cents: 2_100, | |
| 97 | 97 | 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, | |
| 100 | 100 | trial_workspace_micros: 5_000_000, | |
| 101 | 101 | trial_monthly_pool_micros: 100_000_000, | |
| 102 | 102 | min_charge_micros: 5_000_000, | |
| ⋯ | |||
| 697 | 697 | let c = Config::default(); | |
| 698 | 698 | assert_eq!(c.plan_monthly_cents, 2_100); | |
| 699 | 699 | 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); | |
| 702 | 702 | assert_eq!(c.trial_workspace_micros, 5_000_000); | |
| 703 | 703 | assert_eq!(c.trial_monthly_pool_micros, 100_000_000); | |
| 704 | 704 | assert_eq!(c.min_charge_micros, 5_000_000); | |
| 84 | 84 | "TRIAL_WORKSPACE_MICROS": "5000000", | |
| 85 | 85 | "TRIAL_MONTHLY_POOL_MICROS": "100000000", | |
| 86 | 86 | // 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", | |
| 91 | 92 | // Ceilings on usage not yet paid for (src/limits.rs): $3 for a free | |
| 92 | 93 | // workspace (it has no on-demand compute), $100 for a paid one's first | |
| 93 | 94 | // month, then twice what it has paid as payments clear, between the |