Skip to content

Catch Flatpak sandbox and host breakage in CI before release - #16

Merged
TB516 merged 3 commits into
mainfrom
packaged-app-tests
Nov 7, 2026
Merged

TB516 merged 3 commits into
mainfrom
packaged-app-tests

Conversation

@TB516

@TB516 TB516 commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Breakage where the sandbox meets the host, like agents not being found in 0.1.7 or downloads not saving in 0.1.6, only showed up after installing a build by hand. The build's unit tests passed both times.

Validation now installs the built Flatpak in the CI container, launches it headless, and runs checks through the real app: the host server, agents on the login PATH, downloads, terminals and git, editors on the host PATH and as Flatpaks, SSH, Tailscale, managed policy, database maintenance, and the recovery screen when the host is out of reach. Failed checks upload screenshots and logs. ./scripts/test-packaged runs the same checks locally against a local build or a published commit.

This also adds the update-t3code agent skill for version bumps, which now runs these checks.

All checks passed locally with Docker and Podman. Against the published 0.1.7, only the agent check fails.

TB516 added 3 commits November 4, 2026 23:33
Describe what the Flatpak repackage should be and the workflow for each upstream release, for Claude and Codex: refresh the patches, review the release, get product decisions, verify, then ship within the request.
Launch the built Flatpak headless in the CI container and check where the sandbox meets the host: the host server, agent CLIs on the login PATH, downloads, terminals and git, editors on the host PATH and installed as Flatpaks, SSH, Tailscale, managed policy, database maintenance, and the recovery screen when the host is out of reach. The checks are typechecked TypeScript using Playwright, with setup in tests/packaged and failure screenshots and logs uploaded from CI.

scripts/test-packaged runs the same checks locally against a local build or a published commit with Docker or Podman, and the update skill points to it.
Drop the display name label check from 0001 and the pass-through field checks from 0002, keeping the assertions for what each patch changes.
@TB516
TB516 merged commit 94ea014 into main Nov 7, 2026
1 check passed
@TB516
TB516 deleted the packaged-app-tests branch November 7, 2026 00:07
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