Skip to content

[3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps - #3724

Merged
integry merged 3 commits into
3713-epic-release-flow-z2mfrom
3716/claude-opus-5-5-release-rollout-demo-host-20261118-2035-lvn
Nov 18, 2026
Merged

integry merged 3 commits into
3713-epic-release-flow-z2mfrom
3716/claude-opus-5-5-release-rollout-demo-host-20261118-2035-lvn

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #3716

Branch: 3716/claude-opus-5-5-release-rollout-demo-host-20261118-2035-lvn
Commits: ✅ Changes committed (4bd420e)


AI Processing Completed

Execution Details:

Summary:
Release Rollout now ends with a follow-ups job that writes the three outside follow-ups (ProPR Hosted repin, site, demo) to the run summary. If the token is set it opens them as issues; if not, the job still succeeds and prints the exact text to file by hand. The new and affected test files pass locally (189 tests). Nothing has run in GitHub Actions yet, so the real issue creation and the SSH deploy are untested against the live repositories.

The follow-ups (texts built by a new script, scripts/release-followups.mjs):

  • integry/propr-fleet — "Repin ProPR Hosted to ProPR <version>": the run id, artifact name and id, tarball name and sha256, CLI version, tag commit and the three image references (the facts AI Fix for Issue #169: Bug: Live Event Stream 'Currently' shows To-Do instead of last Thought #178 listed), plus the repin steps. It is only written if the preview CLI bundle succeeded.
  • integry/propr-site: the release's published_at line for follow.ts and the two desktopRelease(...) lines with the desktop pre-release tags for releases.ts. It waits until the GitHub release and both desktop pre-releases are published.
  • integry/propr-deploy — "Move demo.propr.dev to ProPR <version>": names the DEMO_API_IMAGE / DEMO_UI_IMAGE pins in deploy.env. It is skipped when demo.propr.dev/api/status already reports the release.

A follow-up that isn't ready says why in the summary.

How the job files them:

  • Token: the optional secret is RELEASE_FOLLOWUP_ISSUES_TOKEN, which needs only Issues read/write on those three repositories. With it, the workflow calls gh issue create and skips any issue whose exact title already exists (open or closed), so re-runs don't file duplicates.
  • Demo deploy: if all three of DEPLOY_HOST, DEPLOY_USER and DEPLOY_SSH_KEY are set, the job runs the documented ./scripts/deploy.sh all over SSH. The demo issue is then only written if the demo still doesn't report the release. A failed deploy is a warning, not a failed run.

Before relying on these, check three things:

  • Demo pins: deploy.sh all doesn't change the pins in deploy.env. That's why the job re-checks the demo afterwards rather than assuming the deploy worked.
  • Where the SSH runs: I used a GitHub-hosted runner with plain ssh. The snippet in propr-deploy runs on the self-hosted runner, so the server must accept SSH from GitHub-hosted runners.
  • Host key: SSH accepts the server's host key on first contact without checking it.

Supporting changes:

  • Preview CLI Bundle workflow now outputs cli_version, artifact_name, artifact_id, tarball and tarball_sha256.
  • Rollout plan now outputs desktop_version, linux_release_tag and macos_release_tag.
  • Docs: .github/CONTRIBUTING.md lists the full release flow in order: metadata PR, tag, automatic publication, release-rollout.yml and its approvals, follow-up issues, then npm run release:rollout. It also documents the follow-ups, the token and the deploy secrets. CHANGELOG.md and packages/cli/scripts/preview-package.md are updated too.
  • Tests: new test/releaseFollowups.test.mjs covers the text generation and the job contract. That includes running the job's shell steps without secrets, and with a fake gh to check that duplicates are skipped. It's added to test:unit, and the existing rollout and CLI workflow tests are updated for the new job and outputs.

I didn't create visual previews, since nothing here changes a screen.

Review digest

Risk-tiered paths

  • High risk (3 files)
    • .github/workflows/preview-cli-bundle.yml (+23/−0): CI or workflow file
    • .github/workflows/release-rollout.yml (+120/−0): CI or workflow file
    • package.json (+1/−1): dependency manifest
  • Normal risk (3 files)
    • scripts/preview-cli-workflow.mjs (+2/−1)
    • scripts/release-followups.mjs (added, +240/−0)
    • scripts/release-rollout-plan.mjs (+4/−0)
  • Low risk (6 files)
    • .github/CONTRIBUTING.md (+26/−2)
    • CHANGELOG.md (+11/−0)
    • packages/cli/scripts/preview-package.md (+7/−2)
    • test/previewCliWorkflow.test.mjs (+1/−1)
    • test/releaseFollowups.test.mjs (added, +252/−0)
    • test/releaseRolloutWorkflow.test.mjs (+8/−0)

Diff size: 12 files changed, +695/−7 lines

View task for the run's logs and conversation.


This PR was created automatically by ProPR after processing issue #3716.


💡 Need changes?

Comment on this PR to request refinements — the AI agent monitors comments and will update the implementation based on your feedback. Keep iterating until you're satisfied!

…outside follow-ups (ProPR Hosted repin, site, demo) to the run summary. If the token is set it opens them as issues; if not, the job still succeeds and prints the exact text to file by hand. The new and affected test files pass locally (189 tests). Nothing has run in GitHub Actions yet, so the real issue creation and the SSH deploy are untested against the live repositories.

The follow-ups (texts built by a new script, `scripts/release-followups.mjs`):
- `integry/propr-fleet` — "Repin ProPR Hosted to ProPR `<version>`": the run id, artifact name and id, tarball name and sha256, CLI version, tag commit and the three image references (the facts #178 listed), plus the repin steps. It is only written if the preview CLI bundle succeeded.
- `integry/propr-site`: the release's `published_at` line for `follow.ts` and the two `desktopRelease(...)` lines with the desktop pre-release tags for `releases.ts`. It waits until the GitHub release and both desktop pre-releases are published.
- `integry/propr-deploy` — "Move demo.propr.dev to ProPR `<version>`": names the `DEMO_API_IMAGE` / `DEMO_UI_IMAGE` pins in `deploy.env`. It is skipped when `demo.propr.dev/api/status` already reports the release.

A follow-up that isn't ready says why in the summary.

How the job files them:
- Token: the optional secret is `RELEASE_FOLLOWUP_ISSUES_TOKEN`, which needs only Issues read/write on those three repositories. With it, the workflow calls `gh issue create` and skips any issue whose exact title already exists (open or closed), so re-runs don't file duplicates.
- Demo deploy: if all three of `DEPLOY_HOST`, `DEPLOY_USER` and `DEPLOY_SSH_KEY` are set, the job runs the documented `./scripts/deploy.sh all` over SSH. The demo issue is then only written if the demo still doesn't report the release. A failed deploy is a warning, not a failed run.

Before relying on these, check three things:
- Demo pins: `deploy.sh all` doesn't change the pins in `deploy.env`. That's why the job re-checks the demo afterwards rather than assuming the deploy worked.
- Where the SSH runs: I used a GitHub-hosted runner with plain `ssh`. The snippet in `propr-deploy` runs on the self-hosted runner, so the server must accept SSH from GitHub-hosted runners.
- Host key: SSH accepts the server's host key on first contact without checking it.

Supporting changes:
- Preview CLI Bundle workflow now outputs `cli_version`, `artifact_name`, `artifact_id`, `tarball` and `tarball_sha256`.
- Rollout plan now outputs `desktop_version`, `linux_release_tag` and `macos_release_tag`.
- Docs: `.github/CONTRIBUTING.md` lists the full release flow in order: metadata PR, tag, automatic publication, `release-rollout.yml` and its approvals, follow-up issues, then `npm run release:rollout`. It also documents the follow-ups, the token and the deploy secrets. `CHANGELOG.md` and `packages/cli/scripts/preview-package.md` are updated too.
- Tests: new `test/releaseFollowups.test.mjs` covers the text generation and the job contract. That includes running the job's shell steps without secrets, and with a fake `gh` to check that duplicates are skipped. It's added to `test:unit`, and the existing rollout and CLI workflow tests are updated for the new job and outputs.

I didn't create visual previews, since nothing here changes a screen.
@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

/ultrafix goal=8 max=3
Triggered automatically by the requested execution settings.

@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔄 Ultrafix loop started (goal: 8/10, max cycles: 3)

First action: /review

💡 Tip: Remove the ultrafix label from this PR to stop further ultrafix cycles.

@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@github-actions

Copy link
Copy Markdown

Checks Failed

Validation failed during setup, tests, CLI packaging, linting, or build checks.

View Logs
Build check diagnostics for run 44394169576, attempt 1
Checkout outcome: success

--- GitHub Actions workflow lint ---
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667: Pulling from rhysd/actionlint
589002ba0eae: Pulling fs layer
c09af8888d6a: Pulling fs layer
4ccd7d76ca98: Pulling fs layer
b6b4b7b0e257: Pulling fs layer
b6b4b7b0e257: Waiting
589002ba0eae: Verifying Checksum
589002ba0eae: Download complete
c09af8888d6a: Verifying Checksum
c09af8888d6a: Download complete
4ccd7d76ca98: Verifying Checksum
4ccd7d76ca98: Download complete
589002ba0eae: Pull complete
c09af8888d6a: Pull complete
4ccd7d76ca98: Pull complete
b6b4b7b0e257: Verifying Checksum
b6b4b7b0e257: Download complete
b6b4b7b0e257: Pull complete
Digest: sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
Status: Downloaded newer image for rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667
docker.io/rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667

--- Release shell script lint ---

--- Toolchain ---
v22.23.4
10.9.9

--- Dependency installation ---
npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [email protected]

added 1112 packages, and audited 1121 packages in 19s

316 packages are looking for funding
  run `npm fund` for details

8 moderate severity vulnerabilities

To address issues that do not require attention, run:
  npm audit fix

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.

--- CLI release package ---
Verifying propr-cli release package...

> [email protected] cli:pack
> node packages/cli/scripts/build-publish.mjs


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc


> @propr/[email protected] build
> tsc && node scripts/copy-assets.mjs

copy-assets: copied 9 file(s) into the CLI package.

Staged [email protected] at /home/runner/work/propr/propr/dist-publish/propr-cli
npm notice
npm notice 📦  [email protected]
npm notice Tarball Contents
npm notice 32.0kB README.md
npm notice 36.3kB dist/agentSkill.js
npm notice 477B dist/api/admission.js
npm notice 754B dist/api/agentRuntime.js
npm notice 7.1kB dist/api/agents.js
npm notice 2.6kB dist/api/agentTank.js
npm notice 4.4kB dist/api/automations.js
npm notice 13.3kB dist/api/client.js
npm notice 5.9kB dist/api/errors.js
npm notice 1.6kB dist/api/followupHandoffs.js
npm notice 16.9kB dist/api/goals.js
npm notice 6.0kB dist/api/implement.js
npm notice 2.9kB dist/api/index.js
npm notice 1.9kB dist/api/logs.js
npm notice 7.7kB dist/api/plans.js
npm notice 586B dist/api/pullRequests.js
npm notice 4.2kB dist/api/relay.js
npm notice 12.5kB dist/api/repos.js
npm notice 2.5kB dist/api/repositoryEvents.js
npm notice 16.2kB dist/api/settings.js
npm notice 2.0kB dist/api/stats.js
npm notice 1.6kB dist/api/syntheticPools.js
npm notice 1.8kB dist/api/system.js
npm notice 5.9kB dist/api/tasks.js
npm notice 2.9kB dist/api/todos.js
npm notice 86B dist/api/types.js
npm notice 313B dist/api/visualPreviewAuth.js
npm notice 32.9kB dist/assets/env.example.txt
npm notice 5.9kB dist/auth/githubLogin.js
npm notice 5.0kB dist/auth/verifyToken.js
npm notice 9.0kB dist/commands/admissionCommands.js
npm notice 19.7kB dist/commands/agentCommands.js
npm notice 4.2kB dist/commands/agentPoolCommands.js
npm notice 4.3kB dist/commands/agentSkillCommands.js
npm notice 30.0kB dist/commands/agentValidation.js
npm notice 31.2kB dist/commands/automationCommands.js
npm notice 72.3kB dist/commands/checkCommands.js
npm notice 8.9kB dist/commands/configCommands.js
npm notice 14.6kB dist/commands/connectCommand.js
npm notice 12.2kB dist/commands/eventCommands.js
npm notice 5.5kB dist/commands/githubAppApi.js
npm notice 27.7kB dist/commands/githubAppCommands.js
npm notice 60.8kB dist/commands/goalCommands.js
npm notice 9.4kB dist/commands/handoffCommands.js
npm notice 2.4kB dist/commands/imageCommands.js
npm notice 8.6kB dist/commands/implementCommands.js
npm notice 2.0kB dist/commands/index.js
npm notice 8.4kB dist/commands/initCommands.js
npm notice 14.1kB dist/commands/initStack.js
npm notice 6.1kB dist/commands/logCommands.js
npm notice 26.5kB dist/commands/planCommands.js
npm notice 3.1kB dist/commands/prCommands.js
npm notice 8.4kB dist/commands/relayCommands.js
npm notice 41.4kB dist/commands/repoCommands.js
npm notice 2.7kB dist/commands/repoValidate.js
npm notice 7.5kB dist/commands/runtimeCommands.js
npm notice 19.8kB dist/commands/settingCommands.js
npm notice 4.6kB dist/commands/setup/agentHostActions.js
npm notice 123B dist/commands/setup/agents.js
npm notice 4.7kB dist/commands/setup/engine.js
npm notice 51B dist/commands/setup/github.js
npm notice 37.3kB dist/commands/setup/hostActions.js
npm notice 3.2kB dist/commands/setup/imagePlatform.js
npm notice 27.3kB dist/commands/setup/sequential.js
npm notice 51B dist/commands/setup/state.js
npm notice 51B dist/commands/setup/types.js
npm notice 10.7kB dist/commands/setupCommand.js
npm notice 4.4kB dist/commands/stackCommands.js
npm notice 1.4kB dist/commands/startCommand.js
npm notice 4.8kB dist/commands/statsCommands.js
npm notice 4.9kB dist/commands/statsCostCommand.js
npm notice 14.8kB dist/commands/systemCommands.js
npm notice 3.5kB dist/commands/tankCommands.js
npm notice 47.6kB dist/commands/taskCommands.js
npm notice 29.7kB dist/commands/todoCommands.js
npm notice 31.0kB dist/commands/tunnelCommand.js
npm notice 2.7kB dist/commands/uiDocsCommands.js
npm notice 8.3kB dist/completion.js
npm notice 27.3kB dist/config/ConfigManager.js
npm notice 276B dist/config/index.js
npm notice 989B dist/config/rootKey.js
npm notice 345B dist/config/types.js
npm notice 46.0kB dist/connectIdentity.js
npm notice 25.0kB dist/connectRootAuthority.js
npm notice 32.5kB dist/connectWindowsAuthority.js
npm notice 2.2kB dist/desktopDiscovery.js
npm notice 13.3kB dist/desktopLocalSetup.js
npm notice 17.4kB dist/index.js
npm notice 4.5kB dist/native/darwin-authority-broker.c
npm notice 8.9kB dist/native/directory-operations.c
npm notice 50.1kB dist/native/prebuilds/darwin-arm64/connect-authority-broker
npm notice 54.2kB dist/native/prebuilds/darwin-arm64/directory-operations.node
npm notice 17.1kB dist/native/prebuilds/darwin-x64/connect-authority-broker
npm notice 24.3kB dist/native/prebuilds/darwin-x64/directory-operations.node
npm notice 28.9kB dist/native/prebuilds/linux-arm64/directory-operations.node
npm notice 17.4kB dist/native/prebuilds/linux-x64/directory-operations.node
npm notice 1.2kB dist/native/README.md
npm notice 3.1kB dist/orchestrator/format.js
npm notice 13.4kB dist/orchestrator/index.js
npm notice 302B dist/orchestrator/manifest.json
npm notice 131.2kB dist/orchestrator/orchestrator.mjs
npm notice 408B dist/orchestrator/types.js
npm notice 6.2kB dist/rootHelp.js
npm notice 237B dist/skill/propr/agents/openai.yaml
npm notice 8.9kB dist/skill/propr/SKILL.md
npm notice 4.5kB dist/tui/AgentTableApp.js
npm notice 4.5kB dist/tui/app.js
npm notice 11.6kB dist/tui/CheckApp.js
npm notice 5.1kB dist/tui/render.js
npm notice 32.5kB dist/tui/SetupApp.js
npm notice 18.4kB dist/tui/SetupApp.test.js
npm notice 8.2kB dist/tui/StartApp.js
npm notice 3.8kB dist/utils/apiErrorPresentation.js
npm notice 12.0kB dist/utils/directoryDescriptor.js
npm notice 739B dist/utils/dockerPort.js
npm notice 5.0kB dist/utils/envFile.js
npm notice 520B dist/utils/index.js
npm notice 5.7kB dist/utils/io.js
npm notice 717B dist/utils/localSetupPlatform.js
npm notice 1.5kB dist/utils/nativeArtifact.js
npm notice 544B dist/utils/parseState.js
npm notice 417B dist/utils/positiveInteger.js
npm notice 4.5kB dist/utils/privateFilesystem.js
npm notice 4.2kB dist/utils/resolveProject.js
npm notice 7.2kB dist/vendor/local-setup/agents.js
npm notice 64.5kB dist/vendor/local-setup/engine.js
npm notice 5.0kB dist/vendor/local-setup/envFile.js
npm notice 11.4kB dist/vendor/local-setup/github.js
npm notice 188B dist/vendor/local-setup/index.js
npm notice 27.5kB dist/vendor/local-setup/publicInstanceIdentity.js
npm notice 14.6kB dist/vendor/local-setup/state.js
npm notice 2.8kB dist/vendor/local-setup/types.js
npm notice 13.2kB dist/vendor/shared/acceptanceCriteria.js
npm notice 1.0kB dist/vendor/shared/accountStatusTimestamp.js
npm notice 7.7kB dist/vendor/shared/activityEvents.js
npm notice 2.8kB dist/vendor/shared/agentConfigRedaction.js
npm notice 4.4kB dist/vendor/shared/agentDefinitions.js
npm notice 2.3kB dist/vendor/shared/agentFailureLine.js
npm notice 3.4kB dist/vendor/shared/agentLogin.js
npm notice 3.1kB dist/vendor/shared/agentTank.js
npm notice 1.2kB dist/vendor/shared/agentTankHistory.js
npm notice 2.8kB dist/vendor/shared/analyticsTimeframe.js
npm notice 4.4kB dist/vendor/shared/antigravityCompatibility.js
npm notice 5.1kB dist/vendor/shared/apiOrigin.js
npm notice 3.5kB dist/vendor/shared/assignment.js
npm notice 17.2kB dist/vendor/shared/automationDefinitions.js
npm notice 3.9kB dist/vendor/shared/automationReportPreview.js
npm notice 2.4kB dist/vendor/shared/automationRunProductivity.js
npm notice 6.4kB dist/vendor/shared/automationTemplateContract.js
npm notice 18.5kB dist/vendor/shared/automationTemplates.catalog.json
npm notice 1.3kB dist/vendor/shared/automationTemplates.js
npm notice 3.4kB dist/vendor/shared/changedFileKinds.js
npm notice 1.4kB dist/vendor/shared/claudeCompatibility.js
npm notice 8.5kB dist/vendor/shared/connectDiscovery.js
npm notice 9.6kB dist/vendor/shared/cronSchedule.js
npm notice 254B dist/vendor/shared/demoMode.js
npm notice 4.3kB dist/vendor/shared/desktopPairing.js
npm notice 481B dist/vendor/shared/desktopTokenRevocation.js
npm notice 8.9kB dist/vendor/shared/events.js
npm notice 13.0kB dist/vendor/shared/extensionLibrary.js
npm notice 703B dist/vendor/shared/extensionOAuth.js
npm notice 4.0kB dist/vendor/shared/extensionPackages.js
npm notice 2.9kB dist/vendor/shared/extensionProfiles.js
npm notice 2.7kB dist/vendor/shared/fleetData.js
npm notice 2.5kB dist/vendor/shared/githubAppManifest.js
npm notice 1.6kB dist/vendor/shared/githubAuthMode.js
npm notice 2.0kB dist/vendor/shared/githubEventIntakeMode.js
npm notice 12.8kB dist/vendor/shared/goalBlockers.js
npm notice 6.0kB dist/vendor/shared/goalCheckpoints.js
npm notice 4.0kB dist/vendor/shared/goalCreation.js
npm notice 5.1kB dist/vendor/shared/goalWait.js
npm notice 14.2kB dist/vendor/shared/index.js
npm notice 214B dist/vendor/shared/instanceAuthorization.js
npm notice 54B dist/vendor/shared/instanceCatalog.js
npm notice 584B dist/vendor/shared/instanceStorage.js
npm notice 4.0kB dist/vendor/shared/intakeModePrerequisites.js
npm notice 2.9kB dist/vendor/shared/labelUtils.js
npm notice 20.1kB dist/vendor/shared/modelDefinitions.js
npm notice 3.5kB dist/vendor/shared/notificationLinks.js
npm notice 51.3kB dist/vendor/shared/notifications.js
npm notice 2.7kB dist/vendor/shared/openCodeCompatibility.js
npm notice 16.9kB dist/vendor/shared/planItemGraph.js
npm notice 7.5kB dist/vendor/shared/previewStorage/v1.js
npm notice 866B dist/vendor/shared/projectSlug.js
npm notice 3.8kB dist/vendor/shared/proprCompatibility.js
npm notice 13.0kB dist/vendor/shared/proprServiceUrls.js
npm notice 17.0kB dist/vendor/shared/prTemplate.js
npm notice 6.9kB dist/vendor/shared/prTitleStatusSlot.js
npm notice 2.2kB dist/vendor/shared/publishedVisualPreviews.js
npm notice 2.7kB dist/vendor/shared/reasoningLevels.js
npm notice 1.8kB dist/vendor/shared/repositoryEvents.js
npm notice 6.7kB dist/vendor/shared/repositoryEventWait.js
npm notice 1.2kB dist/vendor/shared/repositoryIcon.js
npm notice 1.4kB dist/vendor/shared/repositoryIconUrl.js
npm notice 3.9kB dist/vendor/shared/repositoryPresentation.js
npm notice 10.8kB dist/vendor/shared/reviewContextBudget.js
npm notice 5.8kB dist/vendor/shared/reviewFeedbackIds.js
npm notice 2.7kB dist/vendor/shared/reviewPrompt.js
npm notice 907B dist/vendor/shared/runCostCap.js
npm notice 861B dist/vendor/shared/sessionSecret.js
npm notice 392B dist/vendor/shared/sqliteTimestamp.js
npm notice 603B dist/vendor/shared/statusKeys.js
npm notice 7.5kB dist/vendor/shared/syntheticAgents.js
npm notice 2.2kB dist/vendor/shared/taskIdentifiers.js
npm notice 2.0kB dist/vendor/shared/taskLifecycle.js
npm notice 733B dist/vendor/shared/taskReplacement.js
npm notice 957B dist/vendor/shared/text.js
npm notice 2.6kB dist/vendor/shared/tokenOutlierSettings.js
npm notice 1.9kB dist/vendor/shared/ultrafixCycle.js
npm notice 9.8kB dist/vendor/shared/usageTips.catalog.json
npm notice 5.0kB dist/vendor/shared/usageTips.js
npm notice 335B dist/vendor/shared/usageTypes.js
npm notice 1.1kB dist/vendor/shared/userWhitelist.js
npm notice 758B dist/vendor/shared/validateRelayUrl.js
npm notice 2.2kB dist/vendor/shared/validateRoutingUrl.js
npm notice 7.1kB dist/vendor/shared/visualPreviewCapacity.js
npm notice 9.3kB dist/vendor/shared/voice.js
npm notice 222B dist/vendor/shared/workEvidence.js
npm notice 828B package.json
npm notice Tarball Details
npm notice name: propr-cli
npm notice version: 0.9.2
npm notice filename: propr-cli-0.9.2.tgz
npm notice package size: 543.5 kB
npm notice unpacked size: 2.2 MB
npm notice shasum: e38e82980fcc2092e19c0bf4ede57d6803254ab1
npm notice integrity: sha512-9K/2fT/+MQIAQ[...]eOUvXyATNXIXQ==
npm notice total files: 219
npm notice
propr-cli-0.9.2.tgz

Dry run only. Re-run with --publish to publish to npm.
✅ propr-cli release package verified
Starting changed-area validation process...
Reusing this job's @propr/shared build from CLI packaging.
Reusing this job's @propr/local-setup build from CLI packaging.

--- Core Service: Lint & Build ---
✅ Core Lint passed
✅ Core Source Build passed

--- UI: Typecheck, Lint & Build ---
✅ Client Package validation passed
✅ UI Typecheck passed
✅ UI Lint passed
✅ UI Build passed

--- Docs: Typecheck & Build ---
✅ Docs Typecheck passed
✅ Docs Build passed
✅ Docs Static Serving Check passed

--- Core Package: Build & Lint ---
✅ Core Package Build passed
✅ Core Package Lint passed

--- CLI: Lint ---
✅ CLI Lint passed

--- API: Build & Lint ---
✅ API Build passed
✅ API Lint passed

--- API Reference: OpenAPI Spec & Client Contract ---
✅ OpenAPI spec is current and valid
✅ @propr/client matches the OpenAPI spec

--- Stage outcomes ---
Workflow lint: success
Release shell lint: success
Pre-setup gate: skipped
Node setup: success
Toolchain: success
Dependency install: success
Release metadata: success
CLI packaging: success
Change detection: success
Changed-area checks: success

View Workflow

@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

CI failed: Validate Changes

Please investigate and fix this CI failure.

Failure evidence

.github:186
Process completed with exit code 1.

.github:185
Chromium install timed out on every attempt.

.github:184
Chromium install attempt 2 timed out (exit 124).

@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @github-actions[bot], @propr-dev[bot]

Analysis Summary

I made no code changes: this failure isn't caused by the PR. It needs a re-run of Validate Changes, which I couldn't start from here.

What failed: the "Install Chromium for PWA Smoke Test" step. It downloads the browser's system packages from Ubuntu's mirror on the GitHub-hosted runner, and the mirror (us-east-2.ec2.archive.ubuntu.com) slowed to a crawl. The job log shows it:

  • The index files loaded normally.
  • One 7.4 MB font package then took over two minutes to download (20:51:11 → 20:53:23).
  • scripts/ci-install-chromium.sh gives each install attempt 3 minutes and tries twice. Both attempts ran out of time (exit 124), so the step failed.

Why it isn't this PR: the branch doesn't touch the UI, the Playwright setup, or that install script. Its changes are the release-rollout workflows, scripts/release-followups.mjs, docs and tests. Every other stage in the run passed: workflow lint, CLI packaging, and core, UI, docs, API and OpenAPI checks.

Next step: I tried gh run rerun 44394169576 --failed, but GitHub refused it with "Resource not accessible by integration". Please re-run the failed job from the Actions page, or push any new commit. A normal mirror finishes this step in well under a minute.

I didn't make the install timeout longer. That would change a CI script this PR doesn't touch, and the 3-minute cap is there on purpose so a stalled mirror can't hold a PR for an hour.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: Claude Opus 5.5 (medium)
  • Time: 3m 43s
  • Tokens: 458,767 (456,277 in / 2,490 out)
  • Cost: $0.38
  • Subscription usage: Weekly +1%

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment IDs: 6991353444✓, 6991353808✓

@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR adds the three release handoffs, connects them to rollout outputs, and documents the operator workflow clearly. It needs a localized reliability fix before merge. The current-head Validate Changes failure also remains unresolved; the supplied evidence does not trace it to changed code.

✅ Verified artifact handoff — The CLI workflow exposes the verified tarball hash and uploaded artifact ID for the fleet follow-up.

✅ Publication-aware site handoff — Site instructions require a publication date and successful or previously completed desktop publication.

✅ Useful fallback coverage — Tests exercise missing secrets and duplicate-issue handling through the workflow’s shell steps.

This review is based on static inspection of the supplied code; no commands or tests were run.

Merge blockers

Every finding below was introduced by this PR and must be resolved before merging.

F1: 🔴 Isolate release lookup failures

  • Category: correctness

  • Required behavior: Follow-up preparation must preserve independent handoffs and report unavailable prerequisites in the summary, including when issues must be filed manually.

  • Evidence: scripts/release-followups.mjs:releasePublishedAt, scripts/release-followups.mjs:prepare

    1. A rollout reaches follow-up preparation with a successful CLI bundle, but the GitHub release request encounters a connection failure or returns a successful response whose body cannot be parsed as JSON.
    2. fetchImpl(...) or response.json() rejects. releasePublishedAt handles unsuccessful HTTP statuses but does not handle these exceptions.
    3. The enclosing Promise.all rejects before mkdirSync, body generation, issues.tsv, or summary output.
    4. The workflow step fails, so the subsequent issue-filing step is skipped. The otherwise-ready fleet and demo handoffs are lost, including their manual fallback text when no token is configured.

    The demo lookup already converts request and parsing failures into a result through checkStatusJson; that protection does not cover the new GitHub lookup. Existing tests cover a 404 and valid JSON responses, but not rejected requests or invalid JSON. static trace: the supplied preparation function writes every output only after both reads resolve.

  • Minimum fix: Convert GitHub request and parsing failures into an unavailable publication result, preserving the diagnostic for the site summary while continuing independent handoffs. Add regression coverage confirming fleet/demo bodies and the summary survive these failures.

Suggestions

These are optional follow-ups and are not sent to /fix.

S1: 🟢 Diagnose the failing validation check

The authoritative current-head status reports Validate Changes as failed, although the historical diagnostics show successful individual stages. Inspect the current failure before merging. This is not a code finding because the supplied evidence does not identify a PR-introduced cause.

S2: 🟢 Bound the SSH deployment duration

The SSH step limits connection establishment but not remote command execution. A stalled deployment can consume the entire job timeout before fallback text is generated. A shorter deployment deadline would preserve time for the documented warning and follow-up path; this is an operational resilience improvement beyond the demonstrated lookup defect.

Score

The handoff design and targeted tests are solid, but one external lookup can suppress every follow-up. That defect and the unresolved current-head validation failure prevent merge readiness.

Score: 6/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 50s
  • Tokens: 70,197 (69,214 in / 983 out)
  • Cost: $0.63

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix F1 S1 S2

🤖 Review by ProPR

@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit eeef008

Addressed 1 AI review comment (IDs: 6992167047)

Addressed finding F1

Summary of Changes

I fixed F1. If the GitHub release lookup fails, the run now still writes the fleet and demo follow-ups, issues.tsv and the summary, and only the site follow-up is held back.

The fix (scripts/release-followups.mjs):

  • releasePublishedAt no longer throws. It now returns either { publishedAt } or { unavailable: <reason> }. A dropped connection or a response body that isn't JSON becomes a reason such as GET https://api.github.com/... failed: fetch failed (ECONNRESET). An HTTP error, a draft release, or a missing published_at also come back with a reason.
  • prepare passes that reason through. The site follow-up is then "not ready", and the summary says why, for example the GitHub release v0.9.3 has no published_at (GET … failed: …). Because nothing rejects any more, the shared wait on the two lookups can't stop the other outputs from being written.

The demo lookup already had this protection through checkStatusJson, and I confirmed it covers both failed requests and non-JSON responses. The GitHub release lookup was the only place with the problem.

Tests (test/releaseFollowups.test.mjs):

  • I updated the existing releasePublishedAt assertions to the new return shape.
  • I added unit tests for a dropped connection and for a body that isn't JSON.
  • I added a prepare test for each of those two failures. Each checks that fleet.md and demo.md are written, site.md is not, issues.tsv lists only the fleet and deploy repositories, and the summary gives the reason and the file-by-hand texts when no token is set.
  • I added a check that the site reason includes the diagnostic.

All 19 tests in this file pass, along with the 36 in the rollout and CLI workflow test files, and eslint reports nothing. Against the previous version of the script, the new and changed tests fail (5 failures), so they do catch the original bug.

Separate issue, not fixed (outside F1): the GitHub release request has no timeout, while the shared get helper used for the demo lookup gives up after 20 seconds. If the request hangs, the step still waits until the job itself times out. I left this alone because F1 only covers failed requests and unparsable responses.

Review digest

Risk-tiered paths

  • High risk: none
  • Normal risk (1 file)
    • scripts/release-followups.mjs (+21/−9)
  • Low risk (1 file)
    • test/releaseFollowups.test.mjs (+39/−3)

Diff size: 2 files changed, +60/−12 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @propr-ultrafix
  • Time: 3m 41s
  • Tokens: 449,022 (443,389 in / 5,633 out)
  • Cost: $0.44

View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR

… still writes the fleet and demo follow-ups, `issues.tsv` and the summary, and only the site follow-up is held back.

I fixed F1. If the GitHub release lookup fails, the run now still writes the fleet and demo follow-ups, `issues.tsv` and the summary, and only the site follow-up is held back.

**The fix** (`scripts/release-followups.mjs`):
- **`releasePublishedAt` no longer throws.** It now returns either `{ publishedAt }` or `{ unavailable: <reason> }`. A dropped connection or a response body that isn't JSON becomes a reason such as `GET https://api.github.com/... failed: fetch failed (ECONNRESET)`. An HTTP error, a draft release, or a missing `published_at` also come back with a reason.
- **`prepare` passes that reason through.** The site follow-up is then "not ready", and the summary says why, for example `the GitHub release v0.9.3 has no published_at (GET … failed: …)`. Because nothing rejects any more, the shared wait on the two lookups can't stop the other outputs from being written.

The demo lookup already had this protection through `checkStatusJson`, and I confirmed it covers both failed requests and non-JSON responses. The GitHub release lookup was the only place with the problem.

**Tests** (`test/releaseFollowups.test.mjs`):
- I updated the existing `releasePublishedAt` assertions to the new return shape.
- I added unit tests for a dropped connection and for a body that isn't JSON.
- I added a `prepare` test for each of those two failures. Each checks that `fleet.md` and `demo.md` are written, `site.md` is not, `issues.tsv` lists only the fleet and deploy repositories, and the summary gives the reason and the file-by-hand texts when no token is set.
- I added a check that the site reason includes the diagnostic.

All 19 tests in this file pass, along with the 36 in the rollout and CLI workflow test files, and eslint reports nothing. Against the previous version of the script, the new and changed tests fail (5 failures), so they do catch the original bug.

**Separate issue, not fixed (outside F1):** the GitHub release request has no timeout, while the shared `get` helper used for the demo lookup gives up after 20 seconds. If the request hangs, the step still waits until the job itself times out. I left this alone because F1 only covers failed requests and unparsable responses.

PR: #3724
Comment by: @propr-ultrafix (ID: 0)
Model: Claude Opus 5.5
@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ AI Code Review Complete requested by @propr-ultrafix

Posted 1 review:

View Task Details

@propr-dev

propr-dev Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

🔍 AI Code Review — codex:gpt-6-astra

Overall Evaluation

The PR implements the three release follow-ups with reusable workflow outputs, readiness checks, optional issue creation, and a manual fallback. It is merge-ready within the reviewed scope, conditional on the pending validation check passing.

✅ Useful manual fallback — Ready follow-ups include their exact titles and bodies in the summary when the issue token is absent.

✅ Publication-aware handoffs — Fleet readiness requires successful bundle preparation and artifact metadata; site readiness requires the publication date and both desktop releases.

✅ Isolated lookup failures — GitHub request and JSON parsing failures become an unavailable publication date without preventing fleet and demo follow-ups.

This was a static review of the supplied code; no commands were run. Current checks report 34 passed, none failed, one pending, and 11 neutral/skipped.

Merge blockers

No merge blockers.

Suggestions

These are optional follow-ups and are not sent to /fix.

S3: 🟢 Bound external operation durations

Consider adding an explicit timeout to releasePublishedAt in scripts/release-followups.mjs and a command-duration limit around SSH in .github/workflows/release-rollout.yml. The demo HTTP helper already has a 20-second timeout, while SSH’s ConnectTimeout only bounds connection establishment. Explicit limits would make the fallback summary more reliable during stalled external operations. This is optional resilience work; no actual stalled execution was demonstrated.

S4: 🟢 Exercise actual issue filtering

The fake gh in test/releaseFollowups.test.mjs verifies argument construction and branching, but supplies the duplicate result without evaluating the actual search or --jq expression. A focused integration check using the real CLI would strengthen confidence in exact-title deduplication. This is optional additional coverage, not evidence of a defect.

Score

The implementation fits the objective and includes meaningful failure-path and workflow-contract coverage. No merge blocker was verified; final readiness remains conditional on the pending validation check.

Score: 8/10


🤖 Review Details

  • Model: GPT-6 Astra
  • Time: 28s
  • Tokens: 72,029 (71,354 in / 675 out)
  • Cost: $0.64

View Task


💡 Next step: Comment /fix to address every F# merge blocker, /fix all for every pending blocker and suggestion, or name records explicitly, as in /fix F3 S5.
F# and S# IDs increment across review comments and remain permanent, so selectors such as /fix F3 F5 stay unambiguous across cycles. S# suggestions stay optional: they are implemented only when you name them or request /fix all, and they never relax a merge blocker.

Copy and edit to choose records from this review:

/fix S3 S4

🤖 Review by ProPR

@propr-dev propr-dev Bot removed the ultrafix label Nov 18, 2026
@propr-dev propr-dev Bot changed the title 🔨 [3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps ✅❽ [3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps Nov 18, 2026

integry commented Nov 18, 2026

Copy link
Copy Markdown
Owner

One change to the optional SSH demo step in the followups job of .github/workflows/release-rollout.yml, please.

Problem: ./scripts/deploy.sh all rebuilds the demo database from production, which takes about 30 minutes on the current host (the nightly run on 2026-11-17 spent 4 minutes on the snapshot alone before the filter step). The job has timeout-minutes: 30, so with the deploy-on-release secrets set the runner would cut the SSH session part-way through the refresh. On 2026-11-18 an interrupted deploy.sh demo left the demo API crash-looping on a half-updated database until it was repaired by hand. The same timeout would also skip the follow-up texts and issues, which are the main purpose of the job.

Wanted:

  1. The SSH step must not be able to interrupt a running refresh. Start the deploy detached on the host (for example systemd-run --unit=propr-release-deploy-<version> --collect or nohup … & with output to a log file under /root/propr-deploy), return as soon as it has started, and say in the run summary that the deploy was started and where its log is. Do not wait for it in the workflow.
  2. Because the step no longer waits, the demo follow-up must treat "deploy started" as not done yet: keep opening the demo issue unless demo.propr.dev already reports the release, and have the issue text say the deploy was started by the run and should be checked.
  3. Add -o ServerAliveInterval=30 -o ServerAliveCountMax=4 to the ssh call so a dead connection ends the step quickly.
  4. Update the tests in test/releaseFollowups.test.mjs and test/releaseRolloutWorkflow.test.mjs for the new wording and the detached start, and the header comment in the workflow.

Nothing else in the PR needs to change.

@propr-dev

propr-dev Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit fca543d

Summary of Changes

The SSH demo step in the followups job now starts the deploy detached on the host and returns straight away, so the job's 30-minute timeout can no longer cut off a refresh. The two test files pass locally (42 tests), lint is clean and the step's shell passes a syntax check. I haven't tested the real SSH and systemd-run call against the host, and actionlint isn't installed here, so CI will be the first lint of the workflow.

1. Detached start (.github/workflows/release-rollout.yml)

  • The step is renamed "Start the demo deploy over SSH…" and over SSH it runs:
    mkdir -p /root/propr-deploy/logs && systemd-run --unit=propr-release-deploy-<version> --collect --setenv=HOME=/root --working-directory=/root/propr-deploy --property=StandardOutput=append:<log> --property=StandardError=append:<log> /root/propr-deploy/scripts/deploy.sh all
  • The log is /root/propr-deploy/logs/release-deploy-<version>.log.
  • systemd-run returns once the unit has started, and the unit keeps running after the session ends. Starting the same version again fails while a deploy is still running, so a re-run can't start a second refresh on top of it.
  • I set HOME=/root because a systemd unit doesn't get a login shell's environment. If deploy.sh needs other variables from a login shell, the unit won't have them.
  • On success the step outputs result=started and adds a "Demo deploy" section to the run summary with the unit name, the log path and the systemctl status / tail -f commands to check it.
  • If the start fails, that is a warning and the step outputs result=failure; the run doesn't fail.
  • The plan's version is checked as X.Y.Z before it goes into the remote command.
  • The workflow header comment is updated to match.

2. Demo follow-up (scripts/release-followups.mjs)

  • "Started" no longer counts as done. The issue is skipped only when demo.propr.dev already reports the release.
  • Since the check runs right after the start, the issue will almost always be opened when the secrets are set.
  • When the deploy was started, the issue says the run started it and didn't wait. It gives the unit and log, the systemctl status / tail -n 50 checks, and says to close the issue if the demo reports the version, or to follow the manual steps once the deploy has stopped. The "To make this automatic" paragraph is left out in that case.

3. SSH keepalive: the ssh call now has -o ServerAliveInterval=30 -o ServerAliveCountMax=4.

4. Tests

  • test/releaseFollowups.test.mjs runs the step with a fake ssh. It checks the options, the exact remote command, result=started, the summary text and that the key file is removed. It also covers a failed start, a malformed version, and the new issue wording, including that only the demo reporting the release makes the issue unnecessary.
  • test/releaseRolloutWorkflow.test.mjs checks that the job only starts the deploy detached (no foreground deploy.sh all, no --wait or --pty), the keepalive options and the header comment.

Decision for you: line 136 of .github/CONTRIBUTING.md still says the job "runs the documented SSH deploy (cd /root/propr-deploy && ./scripts/deploy.sh all)", which is now out of date. I left it alone because you said nothing else should change. Updating it is a one-sentence edit if you want it.

Review digest

Risk-tiered paths

  • High risk (1 file)
    • .github/workflows/release-rollout.yml (+33/−7): CI or workflow file
  • Normal risk (1 file)
    • scripts/release-followups.mjs (+24/−6)
  • Low risk (2 files)
    • test/releaseFollowups.test.mjs (+71/−6)
    • test/releaseRolloutWorkflow.test.mjs (+16/−0)

Diff size: 4 files changed, +144/−19 lines


🤖 Implementation Details

  • Model: Claude Opus 5.5 (medium)
  • Requested By: @integry
  • Time: 5m 14s
  • Tokens: 1,102,066 (1,089,127 in / 12,939 out)
  • Cost: $0.83

Undo Changes • View Task Execution


💡 ProPR Slash Commands
Command Description Example
/merge Merge target branch into this PR and resolve conflicts /merge
/review Request an AI code review /review or /review claude-sonnet
/fix Address review blockers, or blockers and suggestions with /fix all /fix, /fix all, or /fix F3 S5
/switch Change the AI model for this PR /switch claude-opus
/use Override the model for a single follow-up run /use claude-sonnet
/ultrafix Loop review→fix cycles until score goal is met /ultrafix or /ultrafix goal=8 max=10

🤖 Generated by ProPR
Processing comment ID: 6992893101✓

@propr-dev propr-dev Bot changed the title ✅❽ [3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps 🔨 [3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps Nov 18, 2026
…loy detached on the host and returns straight away, so the job's 30-minute timeout can no longer cut off a refresh. The two test files pass locally (42 tests), lint is clean and the step's shell passes a syntax check. I haven't tested the real SSH and `systemd-run` call against the host, and actionlint isn't installed here, so CI will be the first lint of the workflow.

The SSH demo step in the `followups` job now starts the deploy detached on the host and returns straight away, so the job's 30-minute timeout can no longer cut off a refresh. The two test files pass locally (42 tests), lint is clean and the step's shell passes a syntax check. I haven't tested the real SSH and `systemd-run` call against the host, and actionlint isn't installed here, so CI will be the first lint of the workflow.

**1. Detached start** (`.github/workflows/release-rollout.yml`)
- The step is renamed "Start the demo deploy over SSH…" and over SSH it runs:
  `mkdir -p /root/propr-deploy/logs && systemd-run --unit=propr-release-deploy-<version> --collect --setenv=HOME=/root --working-directory=/root/propr-deploy --property=StandardOutput=append:<log> --property=StandardError=append:<log> /root/propr-deploy/scripts/deploy.sh all`
- The log is `/root/propr-deploy/logs/release-deploy-<version>.log`.
- `systemd-run` returns once the unit has started, and the unit keeps running after the session ends. Starting the same version again fails while a deploy is still running, so a re-run can't start a second refresh on top of it.
- I set `HOME=/root` because a systemd unit doesn't get a login shell's environment. If `deploy.sh` needs other variables from a login shell, the unit won't have them.
- On success the step outputs `result=started` and adds a "Demo deploy" section to the run summary with the unit name, the log path and the `systemctl status` / `tail -f` commands to check it.
- If the start fails, that is a warning and the step outputs `result=failure`; the run doesn't fail.
- The plan's version is checked as `X.Y.Z` before it goes into the remote command.
- The workflow header comment is updated to match.

**2. Demo follow-up** (`scripts/release-followups.mjs`)
- "Started" no longer counts as done. The issue is skipped only when demo.propr.dev already reports the release.
- Since the check runs right after the start, the issue will almost always be opened when the secrets are set.
- When the deploy was started, the issue says the run started it and didn't wait. It gives the unit and log, the `systemctl status` / `tail -n 50` checks, and says to close the issue if the demo reports the version, or to follow the manual steps once the deploy has stopped. The "To make this automatic" paragraph is left out in that case.

**3. SSH keepalive:** the ssh call now has `-o ServerAliveInterval=30 -o ServerAliveCountMax=4`.

**4. Tests**
- `test/releaseFollowups.test.mjs` runs the step with a fake `ssh`. It checks the options, the exact remote command, `result=started`, the summary text and that the key file is removed. It also covers a failed start, a malformed version, and the new issue wording, including that only the demo reporting the release makes the issue unnecessary.
- `test/releaseRolloutWorkflow.test.mjs` checks that the job only starts the deploy detached (no foreground `deploy.sh all`, no `--wait` or `--pty`), the keepalive options and the header comment.

**Decision for you:** line 136 of `.github/CONTRIBUTING.md` still says the job "runs the documented SSH deploy (`cd /root/propr-deploy && ./scripts/deploy.sh all`)", which is now out of date. I left it alone because you said nothing else should change. Updating it is a one-sentence edit if you want it.

PR: #3724
Comment by: @integry (ID: 6992893101)
Model: Claude Opus 5.5
@propr-dev propr-dev Bot changed the title 🔨 [3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps ✅❽ [3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps Nov 18, 2026
@integry
integry merged commit 88993cc into 3713-epic-release-flow-z2m Nov 18, 2026
47 checks passed
@propr-dev propr-dev Bot changed the title ✅❽ [3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps [3716 by Claude Opus 5.5] Release rollout: demo, Hosted repin and site links as tracked follow-up steps Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant