Skip to content

Releases tab and release reads; poll only while something deploys - #21

Draft
MainSequenceDev wants to merge 2 commits into
mainfrom
claude/releases
Draft

MainSequenceDev wants to merge 2 commits into
mainfrom
claude/releases

Conversation

@MainSequenceDev

Copy link
Copy Markdown
Contributor

Adds a read-only Releases tab to the panel and four release reads to the mainsequence_workspace tool. Nothing in it deploys.

Blocked on mainsequence-sdk/mainsequence-devtools#31. The devtools pin and lockfile move to 0.3.19, with integrity from the registry, once it's on npm. Until then the build and check-release refuse the unpublished version.

Releases tab:

  • Rows show each release with its kind, repository · branch, and last ten runs as dots.
  • What is deploying is pinned on top.
  • Filters: kind, and This repository once the folder's branch is known.
  • A release shows the commit it serves and the one it wants, a 7, 30 or 90 day window with stats, and its runs. A run opens the existing deployment detail; Back returns to the release.

Polling:

  • Nothing re-reads while nothing deploys.
  • While a shown release deploys, one deployment-active check every 30 s. The section is read again only when a run ends or starts.
  • Paused while the panel is hidden, never overlapping, and paused after an hour.
  • Fix: a run's detail re-read every 5 s with no limit. It now re-reads every 10 s while shown and stops after an hour.

Model tool: mainsequence_workspace adds deployment-releases, deployment-release, deployment-active and deployment-wait (up to 120 s per call) as reads. A stopped workspace read now says to call again, instead of using the agent-message wording about a saved request ID.

Verification:

  • npm test: 82 tests pass, against a local build of devtools 0.3.19 with the pin shimmed in memory; package.json was not edited.
  • typecheck, check:docs, check-panel-package and verify:codex:reload (Codex CLI 0.163.0, temporary home) pass.
  • The panel was checked through a local preview with fixture data at desktop and 380 px widths, in light and dark.
  • Not yet checked in a live Codex app against a real backend.

🤖 Generated with Claude Code

MainSequenceDev and others added 2 commits November 18, 2026 21:06
A read-only Releases tab lists the environment's APIs, agents and static sites
with their last ten run states, success counts or last failure, deploying
releases first with commit, stage and elapsed time, kind filters, a
"This repository" filter once a local folder resolves its branch, and Load more.
A release shows the revision it serves and the one it wants, 7/30/90-day stats
(runs, success rate, median time, slowest stage, most common failure) and its
runs, which open the existing run detail.

Polling follows devtools' rules: nothing re-reads while no run is active. While
a shown run is queued or running, deployment-active is checked every 30 s and
the screen is read once more when a watched run ends. The run detail loop now
re-reads every 10 s instead of 5 s with no limit. Checks run only while their
screen is shown, wait while the panel is hidden, never overlap and pause after
an hour with a note; Refresh starts them again.

mainsequence_workspace allows deployment-releases, deployment-release,
deployment-active and deployment-wait as reads, and its description tells the
model to call deployment-wait again while a run is still running (at most
120 s per call).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…equest

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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