Skip to content

Add a monthly TLD directory check on homelab - #104

Merged
RaviTejaKNTS merged 2 commits into
mainfrom
chore/audit-directory-content
Nov 3, 2026
Merged

RaviTejaKNTS merged 2 commits into
mainfrom
chore/audit-directory-content

Conversation

@RaviTejaKNTS

@RaviTejaKNTS RaviTejaKNTS commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Adds a monthly check so /tld-directory stays current without anyone running it by hand.

  • scripts/domain-tools/tld-directory-monthly.mjs refreshes the datasets the directory reads in a throwaway checkout of main. It opens one pull request if a fact changed, does nothing if only dates and version numbers moved, and exits non-zero on failure.
  • scripts/domain-tools/systemd/ holds the homelab user timer: 1st of each month, 04:30 UTC.
  • stack127_docs/monitoring.json gets the new job. content_docs/tld-directory/README.md documents it.

Tested

  • --dry-run against current main: no facts changed, nothing done, throwaway checkout removed.
  • --dry-run --base <commit> in a throwaway clone with a changed tlds.json: reported the changed file and the new and removed endings.
  • Full publish path run twice against a local bare remote with a stand-in gh: the first run opened a pull request, the second updated it. No local branch or checkout was left behind, and the description listed the new and removed endings.
  • Not tested against real GitHub: gh itself and the push credentials. Those run only when IANA's data changes.

npm run quality passes.

🤖 Generated with Claude Code

Refreshes IANA data in a throwaway checkout of main and opens a pull
request only when a fact changed. Date and version moves are ignored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Push from a detached checkout so no local branch blocks later runs. Build
the description before the commit so it lists endings, and update it on an
open pull request. Keep rdap-overrides.json with the refreshed data.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@RaviTejaKNTS
RaviTejaKNTS merged commit bfefafc into main Nov 3, 2026
4 checks passed

This branch was previously deployed

1 inactive deployment
production — 66e68279 Deployed Nov 3, 2026 by RaviTejaKNTS via verify-production-build #101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant