Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 0 additions & 50 deletions nixos/home/meta-quota-export.nix

This file was deleted.

10 changes: 5 additions & 5 deletions nixos/hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,16 +141,16 @@ in
};
}
{
# Quota exporters (code#1048, code#1301): Cloudflare + Meta
# quota snapshots every 15 min for the quota gatherer.
# Folded into the flake 2026-11-01 (code#3720).
# Quota exporter (code#1048): Cloudflare quota snapshots
# every 15 min for the quota gatherer. Folded into the
# flake 2026-11-01 (code#3720). (The Meta exporter was
# retired 2026-11-03: quota is gathered by asking OpenCode,
# PR #5040.)
home-manager.users.user = {
imports = [
../home/cloudflare-quota-export.nix
../home/meta-quota-export.nix
];
services.cloudflare-quota-export.enable = true;
services.meta-quota-export.enable = true;
};
}
{
Expand Down
14 changes: 9 additions & 5 deletions pm-stack/aggregator/src/quota-gather-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,15 @@ export interface FileExportDoc {
const FILE_EXPORT_WINDOW_SECONDS: Record<string, number> = { "5h": 18_000, weekly: 604_800 };

/**
* Map one file-export document onto a quota-current entry (v1
* producer: Meta, service meta:high-usage, ~/atlas/meta-quota-export/
* latest.json on the laptop). `doc` null = the file could not be
* read or parsed; `stale` = its mtime is past the staleness bound.
* Both are error entries — never zeros.
* Map one file-export document onto a quota-current entry. The v1
* producer was Meta (service meta:high-usage, ~/atlas/meta-quota-
* export/latest.json on the laptop) — retired 2026-11-03 when the
* gatherer began asking the OpenCode quota module for Meta
* directly (PR #5040); the mapper stays as the #1301 convention's
* tested shape for the next producer the module cannot reach.
* `doc` null = the file could not be read or parsed; `stale` = its
* mtime is past the staleness bound. Both are error entries — never
* zeros.
*/
export function entryFromFileExport(
doc: FileExportDoc | null,
Expand Down
111 changes: 0 additions & 111 deletions pm-stack/meta-exporter/README.md

This file was deleted.

30 changes: 0 additions & 30 deletions pm-stack/meta-exporter/install-laptop.sh

This file was deleted.

Loading