Skip to content

chore(release): cut 0.2.0 with the deployment routes and the write wrapper - #74

Merged
semics-tech merged 1 commit into
mainfrom
chore/release-0.2.0
Jul 31, 2026
Merged

chore(release): cut 0.2.0 with the deployment routes and the write wrapper#74
semics-tech merged 1 commit into
mainfrom
chore/release-0.2.0

Conversation

@semics-tech

Copy link
Copy Markdown
Owner

Deployment and the write path. 0.1.1 could be installed but not really deployed — there was no guidance on where the control plane should run, and job.write worked only on jobs the worker itself created, which on a real estate is almost none of them.

Minor rather than patch: two feat commits, a 45-line addition to the wire protocol, and migration 0004.

What an upgrader has to decide

Both are called out under their own heading in the changelog rather than left to be discovered:

  • RSAGENT_TRUSTED_PROXY_HOPS defaults to 0, which ignores X-Forwarded-For. Anyone running a proxy in front of the dashboard has to set it, or every audit row and rate-limit bucket records the proxy's address instead of the client's. Safe unset, just less precise.
  • Migration 0004 runs automatically on first start. One nullable column — no rewrite, no maintenance window.

Verified at 0.2.0

typecheck 7/7 · lint · proto:check · 363 unit · 18 integration · 25 e2e · pnpm audit --audit-level high clean

The release workflow's own version gate was replicated locally: six manifests and WORKER_VERSION all read 0.2.0, and prerelease resolves false — so latest will move on npm and both registries.

One thing worth recording

The standalone bundle check initially reported 0.1.0. dist/rsagent-worker.mjs was a stale local artifact — build:sea emits the .cjs and the executable and does not rewrite the .mjs, so it had survived from an earlier build in the same session. Rebuilt from an empty dist/, both the bundle and the SEA executable report 0.2.0.

CI builds from a fresh checkout so this could never have shipped, but it's a reminder that the local standalone check is worthless without clearing dist/ first.

🤖 Generated with Claude Code

https://claude.ai/code/session_01AyYg2j8FVkLjiaVcj5HCkj

…apper

Deployment and the write path. 0.1.1 could be installed but not really
deployed: there was no guidance on where the control plane should run,
and job.write worked only on jobs the worker itself created, which on a
real estate is almost none of them.

Minor rather than patch — two feat commits, a 45-line addition to the
wire protocol, and migration 0004.

Two things in the changelog need a decision from an upgrader rather than
just a pull, so they are called out under their own heading rather than
left to be discovered:

  - RSAGENT_TRUSTED_PROXY_HOPS defaults to 0, which ignores
    X-Forwarded-For. Anyone running a proxy has to set it or every audit
    row records the proxy rather than the client. Safe unset, just less
    precise.
  - Migration 0004 runs on first start. One nullable column, so no
    rewrite and no maintenance window.

Verified at 0.2.0: typecheck 7/7, lint, proto:check, 363 unit, 18
integration, 25 e2e, audit clean at high. The release workflow's own
version gate was replicated locally — six manifests and WORKER_VERSION
all read 0.2.0, prerelease resolves false, so latest will move on both
registries.

Worth recording because it cost a scare: the standalone bundle check
initially reported 0.1.0. dist/rsagent-worker.mjs was a stale local
artifact — build:sea emits the .cjs and the executable and does not
rewrite the .mjs, so it had survived from an earlier build. Rebuilt from
an empty dist, both the bundle and the executable report 0.2.0. CI
builds from a fresh checkout, so it could not have shipped, but the
local check is worthless without the clean first.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AyYg2j8FVkLjiaVcj5HCkj
@semics-tech semics-tech changed the title chore(release): cut 0.2.0 chore(release): cut 0.2.0 with the deployment routes and the write wrapper Jul 31, 2026
@semics-tech
semics-tech force-pushed the chore/release-0.2.0 branch from e369dc2 to a9b0294 Compare July 31, 2026 14:58
@semics-tech
semics-tech merged commit 17f0b68 into main Jul 31, 2026
9 checks passed
@semics-tech
semics-tech deleted the chore/release-0.2.0 branch July 31, 2026 15:00
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