Home
Research
Blog
Portfolio
Resume

ME

HomeResearchBlogPortfolioResume

SITE

AboutContactPrivacy PolicySecurity Policy

SOCIALS

connect with me:EmailLinkedInGitHubGoogle ScholarORCIDItch.ioArtStationBehanceFacebookInstagram

© 2026 - All Rights Reserved

The FlyingBike Fleet: Slack Builds, Signed Releases, and Gym Kiosks

The FlyingBike DevOps stack builds a Unity cycling game from Slack, signs releases for Windows kiosks, and waits for riders to finish before updating a bike.

DevOpsRelease EngineeringInfrastructureUnityResearch Software
Ahnaf An Nafee
Ahnaf An Nafee
3 Dec 2026

FlyingBike is a cycling game from the DCXR Lab at George Mason University. At a partner gym, riders pedal on a smart trainer to play the game on a Windows kiosk. I built the entire DevOps stack myself, from the Slack command that starts a Unity build to the Windows service that installs a signed release. A Mac mini coordinates the kiosks, and Git tracks their inventory. The kiosks can download an approved update while the game runs, then wait for the bike to be idle before switching releases.

FlyingBike gameplay with a rider on a yellow winged bike approaching a checkpoint ring above a coastal town.
A rider approaches an airborne checkpoint on a coastal course.

By the Numbers

MetricValue
First commitAugust 23, 2026, a /build command for Slack
Commits through December 3about 235
Repositories8: an umbrella, five components, and the two repos they were split from
LanguagesJavaScript, TypeScript, PowerShell, C#, SQL, shell
Control planeNode.js 24, PostgreSQL 17, Astro dashboard, on a Mac mini
Kiosk sideWindows Shell Launcher, a C# supervisor, a .NET 10 agent
Largest rollout test12 simulated kiosks across 6 gyms

Unity Builds From Slack

A build used to require someone at the right machine with the Unity Editor open. I wrote a /build Slack command that runs Unity in batch mode and posts the archive to the channel. With Socket Mode, the bot connects to Slack directly from the build machine.

Unity locks the project folder, so the runner uses a dedicated Unity Version Control (Plastic) workspace. I also had to check the build log for a success marker. Unity relaunches under the Hub licensing wrapper, and the first process can report success before compilation finishes. If compilation fails, the runner posts each distinct file:line error to Slack.

The runner reverts the workspace with cm undo before each sync to clear settings Unity rewrote on the previous import. In the first week, I added signed, notarized macOS builds and installable iOS builds.

Traceable Build Archives

A build’s identity comes from its platform, Plastic changeset, and mode (Development or Production). The runner checks cm status after syncing to confirm the requested changeset. It records the identity, archive filename, and SHA-256 digest in a .build.json attestation. A matching, verified archive can be reused.

A forced rebuild can produce different bytes from the same source. Unity writes a new timestamp and build GUID and can reorder some serialized assets. The runner normalizes those known differences before comparing the unpacked builds. Any other difference blocks promotion. To publish a Windows Production release, the build must also declare and attest Kiosk startup mode.

The runner syncs the requested changeset, then reuses a verified archive or runs a Unity build and checks its log. A failed build reports errors to Slack. A kiosk release proceeds to manifest signing.

Windows Kiosk Fleet Architecture

I started with scripts from the reference kiosk. A game crash at the gym has to be recoverable without a staff member at the machine, so I used Windows Shell Launcher to run a C# supervisor in place of the desktop. The supervisor manages the game process and restarts it with bounded backoff. When a kiosk switches releases, a local promoter verifies the signature and updates the current.json pointer in one atomic write. In late November I added a fleet service to coordinate updates across kiosks.

Slack, the dashboard, Git inventory, and a Windows build VM connect to the Mac mini control plane. A Windows agent receives signed releases and reports health. The promoter switches releases and the supervisor runs the game.

The Mac mini hosts the Fleet API on Node.js 24 and PostgreSQL 17 alongside the Astro dashboard and signed release catalog. It also hosts a headless Windows VM for production IL2CPP builds. The .NET 10 kiosk agent verifies releases with a public key. Fleet records operator actions in an append-only log, and Playwright tests exercise the dashboard against a running Fleet server.

The dashboard counts registered, reachable, and playable kiosks separately. In the example below, all five kiosks are reachable, but one needs attention because its trainer is unavailable.

Example fleet overview with five registered and reachable kiosks, four playable kiosks, and one active rollout.
Fleet overview with fictional gyms, kiosk status, and rider activity.

The Releases page lets operators plan a rollout from a specific signed build. The release digest identifies the archive the kiosks will install.

Example release catalog listing two Windows builds, their SHA-256 digests, compatible hardware, and kiosk installation counts.
The release catalog with example builds and installation counts.

Staged Rollouts That Wait for an Idle Bike

A rider can step onto a bike at any time. I split the rollout so the kiosk can do most of the work before taking the game offline.

  1. Publish. Fleet verifies the archive and its attestation, signs a manifest, and registers the release by digest.
  2. Plan and approve. The operator previews the target kiosks and release. An authorized operator approves the plan.
  3. Stage. The agent downloads and verifies the archive while the game runs.
  4. Activate. The agent waits for a maintenance window and a fresh idle signal from the game. Fleet also checks that enough kiosks at the gym will stay playable.
  5. Verify. The agent checks that the new release launches. A failed activation pauses the rollout for review.
An approved release stages before the kiosk waits for its maintenance window, an idle game, and enough playable kiosks. After activation, a healthy launch continues the rollout and a failed launch pauses it.

Releases normally reach the Lab ring before Production. Fleet records the reason for an override and can require a second approver. In an integration test, twelve simulated kiosks across six gyms staged in parallel and activated in two waves, keeping one kiosk playable per gym.

Operators can approve a rollout from Slack. The bot posts the approval button after it publishes the signed build. As kiosks report back, the rollout card updates with their progress and final state.

Two example Fleet Manager Slack cards. The first offers an approval button for a signed build. The second reports that all three target kiosks are healthy.
Example Slack cards before approval and after all three kiosks report healthy.

If Fleet goes offline, the supervisor keeps running the active release locally. Riders can keep playing while new rollouts wait for the server.

GitOps Inventory and Kiosk Commissioning

Git keeps the reviewed record of gyms, kiosks, and rollout drafts as JSON files. Fleet reconciles the config repository and writes dashboard edits back to Git. Operators retire a kiosk by changing its state, preserving its history. Rollout drafts from Git go through the same approval step as dashboard drafts.

At commissioning, a kiosk first boots the signed game and enrolls in report-only mode. It starts receiving managed updates after a technician checks the game on the bike.

One Umbrella Repository, Five Components

In December I split the two original repositories into five components covering build automation, kiosk tools, the dashboard, the Fleet server, and fleet configuration. I wrote all five and pinned compatible commits in an umbrella repository using Git submodules. The umbrella’s verify.sh checks that shared contract files match byte for byte before running the server, kiosk bootstrap, browser, and Slack runner tests together.

Current Limits

I tested the signed baseline install, cold boot, recovery, and repeat provisioning in a clean Windows VM. Coordinated upgrades and rollbacks across several physical kiosks still need a field test. The build runner currently needs its Mac awake, signed in, and online.

A Build the Lab Can Identify

When something goes wrong in a rider session, the release digest lets me identify the build the kiosk ran and trace it to its source changeset. That record carries over to the lab’s research on the same cycling platform. Read about FlowGate.

Edit on GitHub
PreviousFlowGate in Five Minutes: My Lightning Talk at the GMU PhD Research Symposium

Related Posts

Nov 2026

FlowGate in Five Minutes: My Lightning Talk at the GMU PhD Research Symposium

How I turned an early-stage research idea about cycling games, brain sensing and rider absorption into a five-minute lightning talk for the first School of Computing PhD Research Symposium at George Mason University.

Jul 2026

Revamping and Scaling Player 2: 60 Releases Since July

How I took Player 2 from version 1.27 in July to 1.43 today: more than 60 store and over-the-air releases, game pages with critic scores and HowLongToBeat times, playtime from every console, a local Turf layer, real moderation tooling, a rehearsed server cutover, and release notes in fifteen languages, all on self-hosted Hetzner and Coolify infrastructure.

Aug 2026

Airlock: Private File Transfer Across Your Own Devices

How I built Airlock, a self-hosted PWA for moving files between your own devices over Tailscale. Files are chunked and encrypted in the browser before upload, then resume, deduplicate, and expire after collection without the server ever receiving the key.