Skip to content

Add KSA to the status page game filters#2

Merged
Maximilian-Nesslauer merged 1 commit into
mainfrom
ksa-game-filter
Jul 4, 2026
Merged

Add KSA to the status page game filters#2
Maximilian-Nesslauer merged 1 commit into
mainfrom
ksa-game-filter

Conversation

@Maximilian-Nesslauer

Copy link
Copy Markdown
Member

What

Adds Kitten Space Agency as a third game to the status page, mirroring how KSP2 was added (KSP-CKAN#25, adapted to the current React/TypeScript structure where everything is driven by the games array in src/lib/game-config.ts):

  • New ksa GameConfig: status file /status/netkan-ksa.json, netkan/history links to KSAModding/KSA-NetKAN and metadata links to KSAModding/KSA-CKAN-meta (both on branch main). If the metadata repos are later transferred to KSP-CKAN, these URLs are the one place to flip.
  • scripts/fetch-status.js fetches the KSA file too. A status file that returns 404 (not published yet) is skipped with a warning so the other games still get fetched; any other failure (5xx, network, disk) stays fatal, and the run only fails outright when no file is published at all.
  • README documents the per-game status files; the KSA wget line is commented out until the file exists.

No component changes were needed: filters, counts, table links, and fetching all derive from the games array.

Not in scope / sequencing

The KSA filter stays empty until the NetKAN bot publishes netkan-ksa.json to status.ksp-ckan.space, which needs the KSA inflator in NetKAN-Infra, which in turn needs KSA client support merged into upstream KSP-CKAN/CKAN. Merge order for the upstream PRs: client -> bot deploy -> this. See the tracking issue for details.

Testing

  • game-config tests extended for the new config (URL builders, three-game array); full suite green: 164/164.
  • tsc + vite build clean.
  • Live pnpm fetch:status run: netkan.json and netkan-ksp2.json saved, netkan-ksa.json skipped with Skipped netkan-ksa.json: not published (HTTP 404), exit code 0.

Closes #1.

- Add a ksa GameConfig (status /status/netkan-ksa.json, netkan/history/metadata URLs at KSAModding/KSA-NetKAN and KSAModding/KSA-CKAN-meta on main) and append it to the games array that drives all filtering, fetching, and links.
- Cover the new config in the game-config tests (URL builders plus the three-game array).
- fetch-status.js: also fetch netkan-ksa.json; skip a status file that returns 404 (not published yet) with a warning so the other games still get fetched, keep any other failure fatal, and fail only when no file is published at all.
- README: document the per-game status files; the KSA wget line is commented out until the NetKAN bot publishes the file.
@Maximilian-Nesslauer Maximilian-Nesslauer added enhancement New feature or request infrastructure Work on the KSA CKAN infrastructure (bot, tester, status page) labels Jul 4, 2026
@github-project-automation github-project-automation Bot moved this to Todo in CKAN-KSA Jul 4, 2026
@Maximilian-Nesslauer Maximilian-Nesslauer moved this from Todo to In Progress in CKAN-KSA Jul 4, 2026
@Maximilian-Nesslauer
Maximilian-Nesslauer merged commit db65f6e into main Jul 4, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in CKAN-KSA Jul 4, 2026
@Maximilian-Nesslauer
Maximilian-Nesslauer deleted the ksa-game-filter branch July 4, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request infrastructure Work on the KSA CKAN infrastructure (bot, tester, status page)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add KSA to the status page game filters

2 participants