Repository navigation
chore: build, lint, format and test with the systemfsoftware toolchain - #4
Merged
Merged
Conversation
…n on Effect 4.1.4 Swap bun and vite-plus for pnpm 12.9.0, tsdown, vitest, the oxlint preset, dprint and commitlint, keeping effect-tsgo for typechecking. Raise the Effect catalog to 4.1.4 and defer tool-call validation to the runtime, which 4.1.4 otherwise rejects at the model boundary. Delete the upstream deploy, benchmark and review workflows, the hosted examples, and the packages the four published libraries do not use. Add the house CI that publishes the checks / check aggregate.
|
This pull request is merged. |
…baselines to existing files Return the Effect catalog to 4.1.2 and drop the tool-call validation line so this change alters no runtime behaviour. Replace the global lint disables with a per-file baseline that switches a rule off only for files that already violated it. Strip two third-party issue links from test comments.
…epository no longer has
Contributor
Author
Adversarial review: the lint baseline and the CI gateChecked against head a62bf45.
No P0 or P1 found. |
Contributor
Author
|
The lint baseline (
Done when a lint step fails whenever a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Builds, lints, formats, typechecks and tests the repository with the systemfsoftware toolchain. No runtime behaviour changes, and Effect stays at 4.1.2; the 4.1.4 bump lands with the tool-call validation fix in a later PR. Package names, versions and licences are unchanged; those land in later PRs.
pnpm-workspace.yamlcarries the catalog.vp pack; vitest replacesvp test; the@systemfsoftwareoxlint preset replaces vite-plus lint; dprint replaces oxfmt; commitlint replaces the vite-plus hook;effect-tsgo tsrsstill typechecks.ci.ymlis the house shape and publishes the singlechecks / checkaggregate the main ruleset requires.action/,alchemy.run.ts,examples/,tooling/,patches/,oxlint/,bun.lock,bunfig.toml,.vite-hooks/, and the packages the four published libraries do not import:agent-testing,agent-storage-memory,agent-storage-postgres,agent-storage-cloudflare,agent-platform-cloudflare,agent-pr-review,agent-pr-review-action,agent-ai-decision,ui.docs/is no longer a workspace member and is to be deleted in this PR (deletion pending, see the lint row); the docs PR rebuilds it for the four kept packages.Published export surface
Four packages remain (
agent,agent-storage-sql,agent-storage-sqlite,agent-platform-node). Each manifest keeps the sameexportsmap (source paths) andfiles(dist,src). The built-file map the release script used to compute at publish time is nowpublishConfig.exports, whichpnpm packapplies.filesbeforefilesafterexportsequals the pre-change published map"Pre-change published map" is what
vp packplus the old release script produced:./dist/<name>.mjsand./dist/<name>.d.mtsper entry. Every named file exists in the tarball. tsdown shares more chunks than vite-plus did, so the tarballs hold more internal files underdist/(agent 548 vs 420); the entry files are identical.Commands run (exit codes)
All from the worktree, at
nicepriority, one package's tests at a time.pnpm install --frozen-lockfile --ignore-scriptspnpm format:checkpnpm lint --ignore-pattern 'docs/**'(docs/ still present; its tsconfig cannot resolve astro)pnpm typecheckpnpm buildpnpm check:exportspnpm check:record-formatpnpm check:package-puritypnpm check:pack(attw--profile esm-onlyon each tarball)pnpm --filter ./packages/storage-sql testpnpm --filter ./packages/platform-node testpnpm --filter ./packages/storage-sqlite testpnpm --filter ./packages/effect-agent testNo live model provider was used. The cloudflare and postgres package tests were not run: those packages are deleted.
Judgement calls
@systemfsoftwarepreset stays on.oxlint.baseline.jsonlists, per rule, the files that already violated it (59 rules);oxlint.config.tsswitches a rule off only for those files. A new file faces every rule, which I checked with a new file usingunknown. Follow-ups delete entries as each package is cleaned.scripts/verify-package-exports.tsno longer readsvite.config.tspack entries; eachtsdown.config.tsbuilds its entries frompackage.jsonexports, so the two cannot drift. The deleted packages' span-ownership entries and theagent-ai-decisionimport rule are removed with them.@effect/tsgois pinned to 0.70.0, the version the lint preset peers on..changeset/config.json's fixed group lists only the four kept packages.Not in this PR
Rename to
@systemfsoftware/*, flake, release caller, Mergify queue, relicence and docs are later PRs.