@crvouga/homelab 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mise/locks/npm-vercel/{68.2.0 → 68.5.0}/aube-lock.yaml +177 -177
- package/.mise/locks/npm-vercel/{68.2.0 → 68.5.0}/package.json +1 -1
- package/README.md +11 -17
- package/ansible/monitoring/compose.yml +1 -1
- package/ansible/monitoring/lock.json +1 -1
- package/ansible/ubuntu/baseline.yml +14 -0
- package/ansible/ubuntu/policy.json +2 -1
- package/ansible/ubuntu/t3-desktop.yml +6 -1
- package/docs/consumer-setup.md +31 -31
- package/docs/releasing.md +6 -4
- package/docs/runbooks.md +2 -6
- package/docs/ubuntu-sync.md +3 -1
- package/docs/worker-contract.md +18 -2
- package/examples/fleet.json +0 -1
- package/mise.lock +102 -102
- package/mise.toml +4 -4
- package/package.json +3 -2
- package/schema/check-ids.json +1 -9
- package/schema/fleet.schema.json +1 -15
- package/schema/output/fleet-sync.schema.json +23 -0
- package/src/check-registry.ts +1 -2
- package/src/cli/fleet-sync-checkout.ts +10 -1
- package/src/cli/fleet-sync-output.ts +18 -0
- package/src/cli/fleet-sync-progress.ts +11 -2
- package/src/cli/fleet-sync-remote.ts +32 -0
- package/src/definition.ts +0 -1
- package/src/ide/definition.ts +2 -25
- package/src/ide/ide.ts +3 -4
- package/src/ide/t3.ts +0 -8
- package/src/manager-sync.ts +26 -1
- package/src/package-info.ts +134 -6
- package/src/worker-host-checks.ts +75 -13
- package/src/worker-policy.ts +1 -3
- package/src/t3/profile.ts +0 -204
package/mise.lock
CHANGED
|
@@ -1410,63 +1410,63 @@ checksum = "sha256:98ee2ce86421b2e2ff24b4d3c081883487694371b8ca2e40e125f413677a5
|
|
|
1410
1410
|
url = "https://dl.k8s.io/v1.37.3/bin/windows/amd64/kubectl.exe"
|
|
1411
1411
|
|
|
1412
1412
|
[[tools.litestream]]
|
|
1413
|
-
version = "0.5.
|
|
1413
|
+
version = "0.5.19"
|
|
1414
1414
|
backend = "aqua:benbjohnson/litestream"
|
|
1415
|
-
specifiers = ["0.5.
|
|
1415
|
+
specifiers = ["0.5.19"]
|
|
1416
1416
|
|
|
1417
1417
|
[tools.litestream."platforms.linux-arm64"]
|
|
1418
|
-
checksum = "sha256:
|
|
1418
|
+
checksum = "sha256:031b0929c903a52b3a90177f16c168b837bd01978027237806fdca88bbd970f9"
|
|
1419
1419
|
checksum_source = "mise-versions"
|
|
1420
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1421
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1420
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-linux-arm64.tar.gz"
|
|
1421
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823447946"
|
|
1422
1422
|
|
|
1423
1423
|
[tools.litestream."platforms.linux-arm64-musl"]
|
|
1424
|
-
checksum = "sha256:
|
|
1424
|
+
checksum = "sha256:031b0929c903a52b3a90177f16c168b837bd01978027237806fdca88bbd970f9"
|
|
1425
1425
|
checksum_source = "mise-versions"
|
|
1426
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1427
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1426
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-linux-arm64.tar.gz"
|
|
1427
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823447946"
|
|
1428
1428
|
|
|
1429
1429
|
[tools.litestream."platforms.linux-x64"]
|
|
1430
|
-
checksum = "sha256:
|
|
1430
|
+
checksum = "sha256:35d6df14ea5462e442a56f819318a6fd305ae7d9f8a5d9b71b27662124c2ec87"
|
|
1431
1431
|
checksum_source = "mise-versions"
|
|
1432
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1433
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1432
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-linux-x86_64.tar.gz"
|
|
1433
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823447949"
|
|
1434
1434
|
|
|
1435
1435
|
[tools.litestream."platforms.linux-x64-baseline"]
|
|
1436
|
-
checksum = "sha256:
|
|
1436
|
+
checksum = "sha256:35d6df14ea5462e442a56f819318a6fd305ae7d9f8a5d9b71b27662124c2ec87"
|
|
1437
1437
|
checksum_source = "mise-versions"
|
|
1438
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1439
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1438
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-linux-x86_64.tar.gz"
|
|
1439
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823447949"
|
|
1440
1440
|
|
|
1441
1441
|
[tools.litestream."platforms.linux-x64-musl"]
|
|
1442
|
-
checksum = "sha256:
|
|
1442
|
+
checksum = "sha256:35d6df14ea5462e442a56f819318a6fd305ae7d9f8a5d9b71b27662124c2ec87"
|
|
1443
1443
|
checksum_source = "mise-versions"
|
|
1444
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1445
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1444
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-linux-x86_64.tar.gz"
|
|
1445
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823447949"
|
|
1446
1446
|
|
|
1447
1447
|
[tools.litestream."platforms.linux-x64-musl-baseline"]
|
|
1448
|
-
checksum = "sha256:
|
|
1448
|
+
checksum = "sha256:35d6df14ea5462e442a56f819318a6fd305ae7d9f8a5d9b71b27662124c2ec87"
|
|
1449
1449
|
checksum_source = "mise-versions"
|
|
1450
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1451
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1450
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-linux-x86_64.tar.gz"
|
|
1451
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823447949"
|
|
1452
1452
|
|
|
1453
1453
|
[tools.litestream."platforms.macos-arm64"]
|
|
1454
|
-
checksum = "sha256:
|
|
1454
|
+
checksum = "sha256:83c521ee9d024e3edce9c96c53ec2c9bbda252e935638b1b61dfdd861635c227"
|
|
1455
1455
|
checksum_source = "mise-versions"
|
|
1456
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1457
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1456
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-darwin-arm64.tar.gz"
|
|
1457
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823448063"
|
|
1458
1458
|
|
|
1459
1459
|
[tools.litestream."platforms.macos-x64"]
|
|
1460
|
-
checksum = "sha256:
|
|
1460
|
+
checksum = "sha256:7e5f1d1d98645d6d7c60570a99f9dd720e92f9818478d20e1954b2ba67190b66"
|
|
1461
1461
|
checksum_source = "mise-versions"
|
|
1462
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1463
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1462
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-darwin-x86_64.tar.gz"
|
|
1463
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823447945"
|
|
1464
1464
|
|
|
1465
1465
|
[tools.litestream."platforms.macos-x64-baseline"]
|
|
1466
|
-
checksum = "sha256:
|
|
1466
|
+
checksum = "sha256:7e5f1d1d98645d6d7c60570a99f9dd720e92f9818478d20e1954b2ba67190b66"
|
|
1467
1467
|
checksum_source = "mise-versions"
|
|
1468
|
-
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.
|
|
1469
|
-
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/
|
|
1468
|
+
url = "https://github.com/benbjohnson/litestream/releases/download/v0.5.19/litestream-0.5.19-darwin-x86_64.tar.gz"
|
|
1469
|
+
url_api = "https://api.github.com/repos/benbjohnson/litestream/releases/assets/823447945"
|
|
1470
1470
|
|
|
1471
1471
|
[[tools.ninja]]
|
|
1472
1472
|
version = "1.13.2"
|
|
@@ -1613,10 +1613,10 @@ backend = "npm:@yarnpkg/cli-dist"
|
|
|
1613
1613
|
specifiers = ["4.19.0"]
|
|
1614
1614
|
|
|
1615
1615
|
[[tools."npm:vercel"]]
|
|
1616
|
-
version = "68.
|
|
1617
|
-
aube = { path = ".mise/locks/npm-vercel/68.
|
|
1616
|
+
version = "68.5.0"
|
|
1617
|
+
aube = { path = ".mise/locks/npm-vercel/68.5.0", digest = "sha256:acb7702f21b240b54230d4827c12f68ca25efd8bf572113d49921bbea38683c1" }
|
|
1618
1618
|
backend = "npm:vercel"
|
|
1619
|
-
specifiers = ["68.
|
|
1619
|
+
specifiers = ["68.5.0"]
|
|
1620
1620
|
|
|
1621
1621
|
[[tools."npm:wrangler"]]
|
|
1622
1622
|
version = "4.170.0"
|
|
@@ -1696,74 +1696,74 @@ url = "https://github.com/opentofu/opentofu/releases/download/v1.13.11/tofu_1.13
|
|
|
1696
1696
|
url_api = "https://api.github.com/repos/opentofu/opentofu/releases/assets/813177535"
|
|
1697
1697
|
|
|
1698
1698
|
[[tools.pnpm]]
|
|
1699
|
-
version = "12.
|
|
1699
|
+
version = "12.26.0"
|
|
1700
1700
|
backend = "aqua:pnpm/pnpm"
|
|
1701
|
-
specifiers = ["12.
|
|
1701
|
+
specifiers = ["12.26.0"]
|
|
1702
1702
|
|
|
1703
1703
|
[tools.pnpm."platforms.linux-arm64"]
|
|
1704
|
-
checksum = "sha256:
|
|
1705
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1706
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1704
|
+
checksum = "sha256:321767eb7939c3d09577fed77d1c0c1b0802b690000f301382ea0b9297e01c2e"
|
|
1705
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-arm64.tar.gz"
|
|
1706
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897786"
|
|
1707
1707
|
provenance = "github-attestations"
|
|
1708
1708
|
|
|
1709
1709
|
[tools.pnpm."platforms.linux-arm64-musl"]
|
|
1710
|
-
checksum = "sha256:
|
|
1711
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1712
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1710
|
+
checksum = "sha256:d90eb5287fe7adc27467d06388e2aafa37e3982de2ec4eaa08cd710b9b34b7b1"
|
|
1711
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-arm64-musl.tar.gz"
|
|
1712
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897783"
|
|
1713
1713
|
provenance = "github-attestations"
|
|
1714
1714
|
|
|
1715
1715
|
[tools.pnpm."platforms.linux-x64"]
|
|
1716
|
-
checksum = "sha256:
|
|
1717
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1718
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1716
|
+
checksum = "sha256:1b27412c9d86763b5722a6e563c34f894e9ddcfa8f613d8778a476633b4e4402"
|
|
1717
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-x64.tar.gz"
|
|
1718
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897768"
|
|
1719
1719
|
provenance = "github-attestations"
|
|
1720
1720
|
|
|
1721
1721
|
[tools.pnpm."platforms.linux-x64-baseline"]
|
|
1722
|
-
checksum = "sha256:
|
|
1723
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1724
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1722
|
+
checksum = "sha256:1b27412c9d86763b5722a6e563c34f894e9ddcfa8f613d8778a476633b4e4402"
|
|
1723
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-x64.tar.gz"
|
|
1724
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897768"
|
|
1725
1725
|
provenance = "github-attestations"
|
|
1726
1726
|
|
|
1727
1727
|
[tools.pnpm."platforms.linux-x64-musl"]
|
|
1728
|
-
checksum = "sha256:
|
|
1729
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1730
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1728
|
+
checksum = "sha256:69a290bc5f10574bac61086b969c902f73d979c6a1d81070600ba95408cabbe8"
|
|
1729
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-x64-musl.tar.gz"
|
|
1730
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897775"
|
|
1731
1731
|
provenance = "github-attestations"
|
|
1732
1732
|
|
|
1733
1733
|
[tools.pnpm."platforms.linux-x64-musl-baseline"]
|
|
1734
|
-
checksum = "sha256:
|
|
1735
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1736
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1734
|
+
checksum = "sha256:69a290bc5f10574bac61086b969c902f73d979c6a1d81070600ba95408cabbe8"
|
|
1735
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-linux-x64-musl.tar.gz"
|
|
1736
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897775"
|
|
1737
1737
|
provenance = "github-attestations"
|
|
1738
1738
|
|
|
1739
1739
|
[tools.pnpm."platforms.macos-arm64"]
|
|
1740
|
-
checksum = "sha256:
|
|
1741
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1742
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1740
|
+
checksum = "sha256:3b71a8a0cf3f1bdb8d65c2d06bf54575201ee4a62b7ec568e874af5c31022760"
|
|
1741
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-darwin-arm64.tar.gz"
|
|
1742
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897787"
|
|
1743
1743
|
provenance = "github-attestations"
|
|
1744
1744
|
|
|
1745
1745
|
[tools.pnpm."platforms.macos-x64"]
|
|
1746
|
-
checksum = "sha256:
|
|
1747
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1748
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1746
|
+
checksum = "sha256:8d224eb669a321628a167a4dc0dcacbf25d3aea446b67683f8340aa7858e8805"
|
|
1747
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-darwin-x64.tar.gz"
|
|
1748
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897779"
|
|
1749
1749
|
provenance = "github-attestations"
|
|
1750
1750
|
|
|
1751
1751
|
[tools.pnpm."platforms.macos-x64-baseline"]
|
|
1752
|
-
checksum = "sha256:
|
|
1753
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1754
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1752
|
+
checksum = "sha256:8d224eb669a321628a167a4dc0dcacbf25d3aea446b67683f8340aa7858e8805"
|
|
1753
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-darwin-x64.tar.gz"
|
|
1754
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897779"
|
|
1755
1755
|
provenance = "github-attestations"
|
|
1756
1756
|
|
|
1757
1757
|
[tools.pnpm."platforms.windows-x64"]
|
|
1758
|
-
checksum = "sha256:
|
|
1759
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1760
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1758
|
+
checksum = "sha256:a69c7aad32dd39eef8f1dbb0cc06d81d12e58cd77ba9aae8f2f45ebd8895bd7d"
|
|
1759
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-win32-x64.zip"
|
|
1760
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897770"
|
|
1761
1761
|
provenance = "github-attestations"
|
|
1762
1762
|
|
|
1763
1763
|
[tools.pnpm."platforms.windows-x64-baseline"]
|
|
1764
|
-
checksum = "sha256:
|
|
1765
|
-
url = "https://github.com/pnpm/pnpm/releases/download/v12.
|
|
1766
|
-
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/
|
|
1764
|
+
checksum = "sha256:a69c7aad32dd39eef8f1dbb0cc06d81d12e58cd77ba9aae8f2f45ebd8895bd7d"
|
|
1765
|
+
url = "https://github.com/pnpm/pnpm/releases/download/v12.26.0/pnpm-win32-x64.zip"
|
|
1766
|
+
url_api = "https://api.github.com/repos/pnpm/pnpm/releases/assets/819897770"
|
|
1767
1767
|
provenance = "github-attestations"
|
|
1768
1768
|
|
|
1769
1769
|
[[tools.python]]
|
|
@@ -1997,75 +1997,75 @@ backend = "core:rust"
|
|
|
1997
1997
|
specifiers = ["1.100.1"]
|
|
1998
1998
|
|
|
1999
1999
|
[[tools.shellcheck]]
|
|
2000
|
-
version = "0.
|
|
2000
|
+
version = "0.12.0"
|
|
2001
2001
|
backend = "aqua:koalaman/shellcheck"
|
|
2002
|
-
specifiers = ["0.
|
|
2002
|
+
specifiers = ["0.12.0"]
|
|
2003
2003
|
|
|
2004
2004
|
[tools.shellcheck."platforms.linux-arm64"]
|
|
2005
|
-
checksum = "sha256:
|
|
2005
|
+
checksum = "sha256:ce1d8583a588c1065afc6808ee2d80746d463228323281e625300b3c5df35491"
|
|
2006
2006
|
checksum_source = "mise-versions"
|
|
2007
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2008
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2007
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.aarch64.tar.xz"
|
|
2008
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569078"
|
|
2009
2009
|
|
|
2010
2010
|
[tools.shellcheck."platforms.linux-arm64-musl"]
|
|
2011
|
-
checksum = "sha256:
|
|
2011
|
+
checksum = "sha256:ce1d8583a588c1065afc6808ee2d80746d463228323281e625300b3c5df35491"
|
|
2012
2012
|
checksum_source = "mise-versions"
|
|
2013
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2014
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2013
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.aarch64.tar.xz"
|
|
2014
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569078"
|
|
2015
2015
|
|
|
2016
2016
|
[tools.shellcheck."platforms.linux-x64"]
|
|
2017
|
-
checksum = "sha256:
|
|
2017
|
+
checksum = "sha256:28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754"
|
|
2018
2018
|
checksum_source = "mise-versions"
|
|
2019
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2020
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2019
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.x86_64.tar.xz"
|
|
2020
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569156"
|
|
2021
2021
|
|
|
2022
2022
|
[tools.shellcheck."platforms.linux-x64-baseline"]
|
|
2023
|
-
checksum = "sha256:
|
|
2023
|
+
checksum = "sha256:28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754"
|
|
2024
2024
|
checksum_source = "mise-versions"
|
|
2025
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2026
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2025
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.x86_64.tar.xz"
|
|
2026
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569156"
|
|
2027
2027
|
|
|
2028
2028
|
[tools.shellcheck."platforms.linux-x64-musl"]
|
|
2029
|
-
checksum = "sha256:
|
|
2029
|
+
checksum = "sha256:28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754"
|
|
2030
2030
|
checksum_source = "mise-versions"
|
|
2031
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2032
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2031
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.x86_64.tar.xz"
|
|
2032
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569156"
|
|
2033
2033
|
|
|
2034
2034
|
[tools.shellcheck."platforms.linux-x64-musl-baseline"]
|
|
2035
|
-
checksum = "sha256:
|
|
2035
|
+
checksum = "sha256:28827970d4166f58329182a0593f506ea54b40e34f18414ff43392baff9dc754"
|
|
2036
2036
|
checksum_source = "mise-versions"
|
|
2037
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2038
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2037
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.linux.x86_64.tar.xz"
|
|
2038
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569156"
|
|
2039
2039
|
|
|
2040
2040
|
[tools.shellcheck."platforms.macos-arm64"]
|
|
2041
|
-
checksum = "sha256:
|
|
2041
|
+
checksum = "sha256:4ea9ce683eb2a3350fb87940161b0c2c15e5d98dff3f410860401c9c9664c11a"
|
|
2042
2042
|
checksum_source = "mise-versions"
|
|
2043
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2044
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2043
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.darwin.aarch64.tar.xz"
|
|
2044
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569010"
|
|
2045
2045
|
|
|
2046
2046
|
[tools.shellcheck."platforms.macos-x64"]
|
|
2047
|
-
checksum = "sha256:
|
|
2047
|
+
checksum = "sha256:31b90f7479ff233e612e5a30b8120bd16194bc7453e9dfdbec40328ad791850a"
|
|
2048
2048
|
checksum_source = "mise-versions"
|
|
2049
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2050
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2049
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.darwin.x86_64.tar.xz"
|
|
2050
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569011"
|
|
2051
2051
|
|
|
2052
2052
|
[tools.shellcheck."platforms.macos-x64-baseline"]
|
|
2053
|
-
checksum = "sha256:
|
|
2053
|
+
checksum = "sha256:31b90f7479ff233e612e5a30b8120bd16194bc7453e9dfdbec40328ad791850a"
|
|
2054
2054
|
checksum_source = "mise-versions"
|
|
2055
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2056
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2055
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.darwin.x86_64.tar.xz"
|
|
2056
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569011"
|
|
2057
2057
|
|
|
2058
2058
|
[tools.shellcheck."platforms.windows-x64"]
|
|
2059
|
-
checksum = "sha256:
|
|
2059
|
+
checksum = "sha256:42c9b96f4fe8a066c2895af28eb6ddfc95cc90ec17d0b7ddb8ced40237418507"
|
|
2060
2060
|
checksum_source = "mise-versions"
|
|
2061
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2062
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2061
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.zip"
|
|
2062
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569174"
|
|
2063
2063
|
|
|
2064
2064
|
[tools.shellcheck."platforms.windows-x64-baseline"]
|
|
2065
|
-
checksum = "sha256:
|
|
2065
|
+
checksum = "sha256:42c9b96f4fe8a066c2895af28eb6ddfc95cc90ec17d0b7ddb8ced40237418507"
|
|
2066
2066
|
checksum_source = "mise-versions"
|
|
2067
|
-
url = "https://github.com/koalaman/shellcheck/releases/download/v0.
|
|
2068
|
-
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/
|
|
2067
|
+
url = "https://github.com/koalaman/shellcheck/releases/download/v0.12.0/shellcheck-v0.12.0.zip"
|
|
2068
|
+
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/825569174"
|
|
2069
2069
|
|
|
2070
2070
|
[[tools.shfmt]]
|
|
2071
2071
|
version = "3.15.0"
|
package/mise.toml
CHANGED
|
@@ -15,7 +15,7 @@ delta = "conda:git-delta"
|
|
|
15
15
|
|
|
16
16
|
[tools]
|
|
17
17
|
gh = "2.106.0"
|
|
18
|
-
shellcheck = "0.
|
|
18
|
+
shellcheck = "0.12.0"
|
|
19
19
|
actionlint = "1.7.12"
|
|
20
20
|
opentofu = "1.13.11"
|
|
21
21
|
bun = "1.4.5"
|
|
@@ -25,8 +25,8 @@ azure-cli = { version = "2.94.0", lazy = true }
|
|
|
25
25
|
# CLI proxy backups on the manager (cliproxy/scripts/install-dependencies).
|
|
26
26
|
restic = { version = "0.20.0", os = ["linux", "macos"], lazy = true }
|
|
27
27
|
# Replicates the fleet state database to the storage bucket (src/state).
|
|
28
|
-
litestream = { version = "0.5.
|
|
29
|
-
pnpm = "12.
|
|
28
|
+
litestream = { version = "0.5.19", os = ["linux", "macos"], lazy = true }
|
|
29
|
+
pnpm = "12.26.0"
|
|
30
30
|
"npm:@yarnpkg/cli-dist" = "4.19.0"
|
|
31
31
|
deno = "2.9.8"
|
|
32
32
|
python = "3.15.2"
|
|
@@ -43,7 +43,7 @@ bat = "0.27.0"
|
|
|
43
43
|
delta = "0.23.0"
|
|
44
44
|
git-lfs = "3.8.1"
|
|
45
45
|
docker-cli = "29.10.1"
|
|
46
|
-
"npm:vercel" = "68.
|
|
46
|
+
"npm:vercel" = "68.5.0"
|
|
47
47
|
"npm:wrangler" = "4.170.0"
|
|
48
48
|
railway = "5.77.1"
|
|
49
49
|
vault = "2.2.2"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/homelab",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "Keeps a set of development machines in sync: one manager and many workers",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "github:crvouga/homelab",
|
|
@@ -73,5 +73,6 @@
|
|
|
73
73
|
"engines": {
|
|
74
74
|
"node": ">=22"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "60fd0791e43ea7febf8b1ff6d2233881b8bde31f",
|
|
77
|
+
"gitCommittedAt": "2026-12-03"
|
|
77
78
|
}
|
package/schema/check-ids.json
CHANGED
|
@@ -1431,14 +1431,6 @@
|
|
|
1431
1431
|
"manual": "Approve first T3 pairing in interactive converge or with t3.pairOnEnrollment; a replaced worker is paired by replace or the next converge, and converge applies the rest."
|
|
1432
1432
|
}
|
|
1433
1433
|
},
|
|
1434
|
-
{
|
|
1435
|
-
"id": "t3:profile",
|
|
1436
|
-
"meaning": "The declared T3 settings are in place on this machine.",
|
|
1437
|
-
"severity": "required",
|
|
1438
|
-
"repair": {
|
|
1439
|
-
"manual": "Approve first T3 pairing in interactive converge or with t3.pairOnEnrollment; a replaced worker is paired by replace or the next converge, and converge applies the rest."
|
|
1440
|
-
}
|
|
1441
|
-
},
|
|
1442
1434
|
{
|
|
1443
1435
|
"id": "t3:running-version",
|
|
1444
1436
|
"meaning": "The running T3 server is the installed release and no restart of it is pending; a pending restart waits for running agent turns, until its deadline.",
|
|
@@ -2216,7 +2208,7 @@
|
|
|
2216
2208
|
},
|
|
2217
2209
|
{
|
|
2218
2210
|
"id": "worker:t3-health",
|
|
2219
|
-
"meaning": "T3 local API answers with its environment identity within 10 seconds.",
|
|
2211
|
+
"meaning": "T3 local API answers with its environment identity within 10 seconds, and the unit activation time is checked against the boot-serving limit.",
|
|
2220
2212
|
"severity": "required",
|
|
2221
2213
|
"repair": {
|
|
2222
2214
|
"manual": "Re-converge the worker with converge: it applies the whole worker policy at the approved revision."
|
package/schema/fleet.schema.json
CHANGED
|
@@ -470,7 +470,6 @@
|
|
|
470
470
|
"vaultUser",
|
|
471
471
|
"toolchain",
|
|
472
472
|
"unattendedSudo",
|
|
473
|
-
"persistentT3",
|
|
474
473
|
"neverSleep"
|
|
475
474
|
],
|
|
476
475
|
"properties": {
|
|
@@ -505,9 +504,6 @@
|
|
|
505
504
|
"unattendedSudo": {
|
|
506
505
|
"const": true
|
|
507
506
|
},
|
|
508
|
-
"persistentT3": {
|
|
509
|
-
"const": true
|
|
510
|
-
},
|
|
511
507
|
"neverSleep": {
|
|
512
508
|
"const": true
|
|
513
509
|
},
|
|
@@ -669,18 +665,8 @@
|
|
|
669
665
|
"t3": {
|
|
670
666
|
"type": "object",
|
|
671
667
|
"additionalProperties": false,
|
|
672
|
-
"description": "
|
|
668
|
+
"description": "How the T3 Code environments reach each other.",
|
|
673
669
|
"properties": {
|
|
674
|
-
"profile": {
|
|
675
|
-
"type": "object",
|
|
676
|
-
"description": "Top-level T3 settings every machine holds the same (tool servers, projects, selected preferences). Keys not named here stay local; a key edited on a machine since homelab last wrote it is reported as a conflict, never overwritten.",
|
|
677
|
-
"propertyNames": {
|
|
678
|
-
"pattern": "^[a-zA-Z][a-zA-Z0-9_-]{0,63}$",
|
|
679
|
-
"not": {
|
|
680
|
-
"const": "providerInstances"
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
},
|
|
684
670
|
"meshAccess": {
|
|
685
671
|
"const": "full-access",
|
|
686
672
|
"description": "Maintain directed full-access T3 grants between all enrolled environments."
|
|
@@ -52,6 +52,19 @@
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
"desiredRevision": { "type": ["string", "null"] },
|
|
55
|
+
"homelab": {
|
|
56
|
+
"description": "The homelab release this run is: its version, the commit it runs from and that commit's date.",
|
|
57
|
+
"type": "object",
|
|
58
|
+
"required": ["version", "revision", "committedAt"],
|
|
59
|
+
"properties": {
|
|
60
|
+
"version": { "type": "string" },
|
|
61
|
+
"revision": { "type": ["string", "null"] },
|
|
62
|
+
"committedAt": {
|
|
63
|
+
"type": ["string", "null"],
|
|
64
|
+
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
55
68
|
"selectedBy": {
|
|
56
69
|
"description": "What selected the desired revision: the installed package, --revision, --rollback, the manager's schedule, the HEAD of the checkout converge was started in, or the revision already approved.",
|
|
57
70
|
"type": "object",
|
|
@@ -113,6 +126,16 @@
|
|
|
113
126
|
},
|
|
114
127
|
"desiredRevision": { "type": ["string", "null"] },
|
|
115
128
|
"appliedRevision": { "type": ["string", "null"] },
|
|
129
|
+
"homelab": {
|
|
130
|
+
"description": "The release this node runs. version is null when its commit is not the run's: the commit and its date still name the older one.",
|
|
131
|
+
"type": "object",
|
|
132
|
+
"required": ["version", "revision", "committedAt"],
|
|
133
|
+
"properties": {
|
|
134
|
+
"version": { "type": ["string", "null"] },
|
|
135
|
+
"revision": { "type": ["string", "null"] },
|
|
136
|
+
"committedAt": { "type": ["string", "null"] }
|
|
137
|
+
}
|
|
138
|
+
},
|
|
116
139
|
"durationMs": { "type": "number" },
|
|
117
140
|
"earlierChecks": {
|
|
118
141
|
"type": "array",
|
package/src/check-registry.ts
CHANGED
|
@@ -399,7 +399,6 @@ export const CHECK_MEANINGS: Record<string, string> = {
|
|
|
399
399
|
't3:private-route': "T3's private HTTPS route is served.",
|
|
400
400
|
't3:client-settings':
|
|
401
401
|
'The complete T3 desktop preferences match the manager’s snapshot.',
|
|
402
|
-
't3:profile': 'The declared T3 settings are in place on this machine.',
|
|
403
402
|
't3:running-version':
|
|
404
403
|
'The running T3 server is the installed release and no restart of it is pending; a pending restart waits for running agent turns, until its deadline.',
|
|
405
404
|
't3:service': 'The pinned T3 app runs.',
|
|
@@ -515,7 +514,7 @@ export const CHECK_MEANINGS: Record<string, string> = {
|
|
|
515
514
|
'worker:service-recovery': 'Worker services recover after failure.',
|
|
516
515
|
'worker:sudo': 'Designated worker user has noninteractive sudo.',
|
|
517
516
|
'worker:t3-health':
|
|
518
|
-
'T3 local API answers with its environment identity within 10 seconds.',
|
|
517
|
+
'T3 local API answers with its environment identity within 10 seconds, and the unit activation time is checked against the boot-serving limit.',
|
|
519
518
|
'worker:convergence':
|
|
520
519
|
'The worker last applied the approved revision and its last apply succeeded.',
|
|
521
520
|
'worker:pressure-events':
|
|
@@ -3,7 +3,13 @@ import { readFileSync } from 'node:fs';
|
|
|
3
3
|
import { homedir } from 'node:os';
|
|
4
4
|
import { join } from 'node:path';
|
|
5
5
|
import { prepareSource } from '../machine/source';
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
encodeRelease,
|
|
8
|
+
PACKAGE_ROOT,
|
|
9
|
+
packageInfo,
|
|
10
|
+
RELEASE_ENV,
|
|
11
|
+
releaseIdentity,
|
|
12
|
+
} from '../package-info';
|
|
7
13
|
import {
|
|
8
14
|
encodeSelection,
|
|
9
15
|
SELECTED_BY_ENV,
|
|
@@ -89,6 +95,9 @@ export async function runFromCheckout(
|
|
|
89
95
|
if (!repository || !script) return null;
|
|
90
96
|
// The run script makes its checkout from this repository.
|
|
91
97
|
process.env['HOMELAB_REPO'] = repository;
|
|
98
|
+
// The checkout's own package stays at the development version, so the
|
|
99
|
+
// process that starts it says which release this run is.
|
|
100
|
+
process.env[RELEASE_ENV] = encodeRelease(releaseIdentity());
|
|
92
101
|
// It is given --revision, which does not say what selected the revision.
|
|
93
102
|
if (source.selection)
|
|
94
103
|
process.env[SELECTED_BY_ENV] = encodeSelection(revision, source.selection);
|
|
@@ -2,6 +2,7 @@ import { SLOW_NODE_MS, slowest } from './fleet-sync-timing';
|
|
|
2
2
|
import { Chalk, type ChalkInstance } from 'chalk';
|
|
3
3
|
import type { ManagerNode, ManagerReport } from '../manager-sync';
|
|
4
4
|
import { selectionText } from '../revision-selection';
|
|
5
|
+
import { releaseLine } from '../package-info';
|
|
5
6
|
import { blocking, type Check, type Status } from '../types';
|
|
6
7
|
|
|
7
8
|
/** Report columns: each owns the checks whose id matches. A check matches the
|
|
@@ -130,6 +131,7 @@ export function managerText(
|
|
|
130
131
|
`${c.dim('report ')} ${options.reportPath} ${c.dim('(full JSON; or rerun with --json)')}`
|
|
131
132
|
);
|
|
132
133
|
lines.push(...selectedLine(c, report));
|
|
134
|
+
lines.push(...releaseLines(c, report));
|
|
133
135
|
if (report.enrolled?.length)
|
|
134
136
|
lines.push(`${c.dim('enrolled ')} ${report.enrolled.join(', ')}`);
|
|
135
137
|
if (report.candidates)
|
|
@@ -159,6 +161,21 @@ function slowLines(c: ChalkInstance, nodes: ManagerNode[]): string[] {
|
|
|
159
161
|
});
|
|
160
162
|
}
|
|
161
163
|
|
|
164
|
+
/** `release w1 952dd2ba7785 (2026-12-01)`, for a node that does not run
|
|
165
|
+
* this release: its commit and date, so the older one is visible.
|
|
166
|
+
*/
|
|
167
|
+
function releaseLines(c: ChalkInstance, report: ManagerReport): string[] {
|
|
168
|
+
const current = report.homelab?.revision ?? null;
|
|
169
|
+
return report.nodes.flatMap((node) => {
|
|
170
|
+
const revision = node.homelab?.revision;
|
|
171
|
+
if (!revision || revision === current) return [];
|
|
172
|
+
const date = node.homelab?.committedAt ?? 'unknown';
|
|
173
|
+
return [
|
|
174
|
+
`${c.dim('release ')} ${node.node} ${revision.slice(0, 12)} (${date})`,
|
|
175
|
+
];
|
|
176
|
+
});
|
|
177
|
+
}
|
|
178
|
+
|
|
162
179
|
/** `selected by --revision; replaces 0123456789ab`, when the report says. */
|
|
163
180
|
function selectedLine(c: ChalkInstance, report: ManagerReport): string[] {
|
|
164
181
|
if (!report.selectedBy) return [];
|
|
@@ -210,6 +227,7 @@ function header(
|
|
|
210
227
|
verdict,
|
|
211
228
|
`${c.dim('revision')} ${(report.desiredRevision ?? 'none').slice(0, 12)}`,
|
|
212
229
|
];
|
|
230
|
+
if (report.homelab) parts.unshift(c.dim(releaseLine(report.homelab)));
|
|
213
231
|
if (options.durationMs !== undefined)
|
|
214
232
|
parts.push(`${c.dim('in')} ${duration(options.durationMs)}`);
|
|
215
233
|
return parts.join(' ');
|
|
@@ -3,12 +3,15 @@ import ora, { type Ora } from 'ora';
|
|
|
3
3
|
import type { ManagerNode } from '../manager-sync';
|
|
4
4
|
import { blocking } from '../types';
|
|
5
5
|
import { duration } from './fleet-sync-output';
|
|
6
|
+
import { releaseLine, type ReleaseIdentity } from '../package-info';
|
|
6
7
|
|
|
7
8
|
/** Live progress on stderr. A terminal gets one spinner with an elapsed timer
|
|
8
9
|
* and a persisted line per finished step; anything else (pipes, CI, agents)
|
|
9
|
-
* gets timestamped lines plus a heartbeat each minute, never color.
|
|
10
|
+
* gets timestamped lines plus a heartbeat each minute, never color. Every
|
|
11
|
+
* sync opens with the homelab release it runs, before the first machine.
|
|
10
12
|
*/
|
|
11
13
|
export interface SyncProgress {
|
|
14
|
+
open(release: ReleaseIdentity): void;
|
|
12
15
|
step(node: string, phase: string): void;
|
|
13
16
|
finished(node: ManagerNode): void;
|
|
14
17
|
stop(): void;
|
|
@@ -18,7 +21,7 @@ export function syncProgress(
|
|
|
18
21
|
enabled: boolean,
|
|
19
22
|
stream: NodeJS.WriteStream = process.stderr
|
|
20
23
|
): SyncProgress {
|
|
21
|
-
if (!enabled) return { step() {}, finished() {}, stop() {} };
|
|
24
|
+
if (!enabled) return { open() {}, step() {}, finished() {}, stop() {} };
|
|
22
25
|
const live =
|
|
23
26
|
Boolean(stream.isTTY) &&
|
|
24
27
|
process.env['NO_COLOR'] === undefined &&
|
|
@@ -45,6 +48,9 @@ function spinnerProgress(stream: NodeJS.WriteStream): SyncProgress {
|
|
|
45
48
|
spinner = null;
|
|
46
49
|
};
|
|
47
50
|
return {
|
|
51
|
+
open(release) {
|
|
52
|
+
stream.write(`${c.dim(releaseLine(release))}\n`);
|
|
53
|
+
},
|
|
48
54
|
step(node, phase) {
|
|
49
55
|
settle();
|
|
50
56
|
label = `${c.bold(node)} ${phase}`;
|
|
@@ -85,6 +91,9 @@ function lineProgress(stream: NodeJS.WriteStream): SyncProgress {
|
|
|
85
91
|
timer = null;
|
|
86
92
|
};
|
|
87
93
|
return {
|
|
94
|
+
open(release) {
|
|
95
|
+
stream.write(`${releaseLine(release)}\n`);
|
|
96
|
+
},
|
|
88
97
|
step(node, phase) {
|
|
89
98
|
clear();
|
|
90
99
|
const started = Date.now();
|