Skip to content

chore: restore the packages #4 removed and port them onto the org toolchain - #10

Merged
systemfsoftware-bot merged 5 commits into
mainfrom
chore-restore-packages
Nov 25, 2026
Merged

systemfsoftware-bot merged 5 commits into
mainfrom
chore-restore-packages

Conversation

@systemfsoftware-bot

Copy link
Copy Markdown
Contributor

What

Restores the nine packages #4 deleted and ports them to the house toolchain.

  • Seven public packages return at their 925ab0c1 content: agent-ai-decision, agent-platform-cloudflare, agent-pr-review, agent-storage-cloudflare, agent-storage-memory, agent-storage-postgres and agent-testing, plus the two private ones, ui and agent-pr-review-action. Seven of them are on npm today, so the repository had stopped building most of what it publishes.
  • Each is renamed to @systemfsoftware/* in the same change, with workspace dependencies and imports following, so no intermediate tree depends on a name that does not exist.
  • Builds run on tsdown, tests on vitest, typechecking on effect-tsgo, formatting on dprint. No manifest keeps vite or vite-plus; the per-package vitest config carries the test settings (cache, silent, the Postgres timeout) the old vite-plus config held.
  • pnpm-workspace.yaml gains the 25 catalog entries the restored manifests reference, and a real vite stays available for the examples that arrive next.
  • CI gains a storage-postgres job against Postgres 16, 17 and 18 — the majors those tests ran on upstream — and the aggregate checks / check requires it.
  • oxlint.baseline.json lists the restored files that already violated the house preset, so the preset stays fully on for new code and each cleanup can delete its entries. scripts/verify-package-exports.ts allowlists the restored operation-span names.

Removed: packages/testing/test/{toolchain,release-ci,release-build}.test.ts. They exercised the release scripts that #4 superseded with the shared release workflow, which this change does not restore.

Why

#4 deleted nine of thirteen packages while seven remained on npm, and deleted the docs, examples and tooling that make them usable. This is the first PR of the restoration; the docs site, examples, tooling, Action and workflow triage follow in the next one.

Verification

command result
pnpm install --frozen-lockfile pass
pnpm format:check pass
pnpm lint pass
pnpm -r run typecheck pass
pnpm --filter './packages/*' build pass
pnpm test (no Postgres server) pass except storage-postgres, which requires one by design
storage-postgres against Postgres 17 106/106
pnpm check:exports 11 public packages, 209 entries

…lchain

#4 deleted nine of thirteen packages along with the docs site, examples,
tooling and workflows. This restores the nine packages at their 925ab0c
content and ports them to the house toolchain: tsdown builds, vitest runs,
dprint formatting, effect-tsgo typechecking, and no vite-plus or bun left in
any manifest. Every package is renamed to @systemfsoftware in the same change
so workspace dependencies resolve.

The two Postgres-only suites keep their live-server requirement and now run in
CI against Postgres 16, 17 and 18, which is where they ran upstream. The
release scripts that #4 superseded with the shared release workflow are not
restored, and the three tests that exercised them are removed with them.

Verification: pnpm install --frozen-lockfile; pnpm format:check; pnpm lint;
pnpm -r run typecheck; pnpm --filter './packages/*' build; pnpm test (all
packages except storage-postgres pass without a server); storage-postgres
106/106 against Postgres 17; pnpm check:exports.
…eir own job

pnpm refuses an install that silently skips a build script, and the restored
Cloudflare suites pull workerd. The intent names the seven packages this
change moves so the release gate can classify it.
…testing package as testing

The restored integration-style suites run past vitest's 5s default on CI
runners, so each config carries the same 30s budget storage-postgres already
needed. The purity rule treated agent-testing's fixture and conformance
exports as production bundles; that package's product is test material, so its
entry points are declared testing modules while the banned-dependency check
still applies.
The restored Cloudflare packages test against real SQLite-backed Durable
Objects through @cloudflare/vitest-plugin, which the plain vitest config
dropped: without it cloudflare:test cannot resolve. Their projects, miniflare
bindings and lane split return, with a budget that fits a workerd run.
@systemfsoftware-bot
systemfsoftware-bot merged commit f910758 into main Nov 25, 2026
10 checks passed
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