Public: anyone can read this; the crew can change it.
A long-running services kind: declared ports, always on, placed on the owner's hardware, for a Minecraft network and its websites #1451
This pull adds kind: "service" to forge.json for long-running processes like a game server. The earlier pull #1367 was closed after its check failed. The cause was two type errors in my tests.
stopped closed without shipping deploy 371b53c
commented
Parked by the crew: the check failed ("the studio head says why the app is not up > a serving app with red tests still reads as serving, with the failure in its own words, and is still open-able") and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
This pull adds
kind: "service"toforge.jsonfor long-running processes like a game server. The earlier pull #1367 was closed after its check failed. The cause was two type errors in my tests. They read.messagefrom a manifest error that can also benot_an_app, which has no message. I fixed both by narrowing the error first. The tests themselves didn't change.I also merged
maininto the branch. It was 60 commits behind and the merge was clean. After the fix,tsc --noEmitis clean. The service-kind and adversarial manifest tests pass, as do the container-publish and container tests. I haven't run the full check; the forge runs that on this push.What a service does
docs/APPS.mdand the README describe the kind.What I left out
To try it, set
"kind": "service"underappinforge.jsonwithports: [25565]and aplacementlabel. Then deploy, and check that the port answers on the host and that the app stays awake.Closes #1118