Skip to content

Add startup scenario tests that run against the shell scripts - #2605

Merged
kmcginnes merged 3 commits into
mainfrom
t3/typescript-startup-stack-1-startup-scenario-tests
Nov 25, 2026
Merged

kmcginnes merged 3 commits into
mainfrom
t3/typescript-startup-stack-1-startup-scenario-tests

Conversation

@kmcginnes

@kmcginnes kmcginnes commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

The startup shell scripts are about to be replaced, so this records what they do today in one scenario table that later PRs in this stack run against TypeScript. No behavior changes.

deployment-scenarios.ts   # one row per deployment: -e flags, .env, .env.local, config.json,
                          # defaultConnection.json, certificates, restarts, read-only folders
config-pipeline.test.ts   # runs every row against the real 3.3 scripts and asserts the full outcome:
                          # parsed settings, the .env left behind, /defaultConnection body, listener,
                          # certificates (also on failed starts), warnings, and refusals (exit 1 and the
                          # exact message) told apart from a server that started and then failed
test_build_docker.yml     # adds image checks for restarts, docker stop, and .env files earlier versions appended to

From the next PR on, a row's inputs and checks never change. A PR edits only the expected values of rows whose behavior it changes, so each diff shows exactly what moved.

Evidence

After: every row passes against docker-entrypoint.sh, process-environment.sh, and setup-ssl.sh as they are on main. The workflow's http and notebook runs check that the certificate notice reaches the log.

Verified live: the Docker workflow's container steps, run against an image built from this PR on Colima.

Merge Danger

Door: two-way

Impact: tests only

Related


🤖 Written by an AI agent on my behalf.

@kmcginnes
kmcginnes added this pull request to stack #2613 November 13, 2026 23:39
@kmcginnes kmcginnes changed the title t3/typescript startup stack 1 startup scenario tests Add startup scenario tests that run against the shell scripts Nov 13, 2026
@kmcginnes
kmcginnes force-pushed the t3/typescript-startup-stack-1-startup-scenario-tests branch from f4d937b to de79428 Compare November 18, 2026 02:22
@kmcginnes
kmcginnes removed this pull request from stack #2613 November 18, 2026 02:24
@kmcginnes
kmcginnes added this pull request to stack #2629 November 18, 2026 02:24
@kmcginnes
kmcginnes force-pushed the t3/typescript-startup-stack-1-startup-scenario-tests branch 2 times, most recently from 3add849 to ef9dfda Compare November 24, 2026 01:22
@kmcginnes
kmcginnes force-pushed the t3/typescript-startup-stack-1-startup-scenario-tests branch from ef9dfda to 8e8b5f3 Compare November 25, 2026 00:35

@kmcginnes kmcginnes left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@kmcginnes
kmcginnes merged commit 0fbb9d1 into main Nov 25, 2026
6 checks passed
@kmcginnes
kmcginnes deleted the t3/typescript-startup-stack-1-startup-scenario-tests branch November 25, 2026 00:49
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