Skip to content

Tooling installs per-folder deps locally; bundle-size rule; SELF_HOSTING proxy-URL section - #149

Merged
michielbdejong merged 3 commits into
mainfrom
claude/housekeeping-2
Sep 24, 2026
Merged

michielbdejong merged 3 commits into
mainfrom
claude/housekeeping-2

Conversation

@michielbdejong

Copy link
Copy Markdown
Contributor
  • Installing dependencies: certify.mjs and run-lane.mjs run pnpm install --frozen-lockfile in any folder that has a pnpm-lock.yaml but no node_modules, printing one line per install. Folders that already have node_modules are skipped, so CI is unchanged. The shared helper is integrations/tooling/deps.mjs, with tests.

  • Bundle-size rule (integrations/README.md and AGENTS.md):

    • drive-app bundles are minified with esbuild, JS and CSS;
    • each size limit is the measured size plus about 10%, with a comment giving the measured size;
    • no silent headroom.

    The existing apps adopt it the next time their build or limit changes.

  • SELF_HOSTING.md, "Pointing Atomic at your proxy":

    • with --integration-proxy-url unset, no proxy is configured today;
    • the default becomes integrations.atomic.place later (the version is a marked TODO);
    • private and loopback proxy origins are allowed once atomic-server#1731 is pinned.

Checks: 72 tooling tests; oxfmt, oxlint and the e2e tsc are clean.

🤖 Generated with Claude Code

Michiel de Jong and others added 3 commits September 24, 2026 18:00
… missing

certify.mjs and run-lane.mjs failed locally with "Cannot find module" when
a folder with its own pnpm-lock.yaml (integrations/pets, notion,
issue-tracker/app, or devonian/ for a lane whose lanes.json paths import it
from source) had never been installed. Both now run
`pnpm install --frozen-lockfile` in each such folder first, printing one
line per install. A folder that already has node_modules is skipped, so CI,
which installs every lockfile in an earlier step, behaves exactly as before.

The helper lives in integrations/tooling/deps.mjs, with tests in
deps.test.mjs (stubbed installer, no pnpm or network), added to CI's
tooling-test list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drive app bundles are minified with esbuild, JS and CSS (embedded CSS via
esbuild.transform(css, { loader: 'css', minify: true })); each app's
build-test limit is the measured minified size plus about 10%, with a
comment giving the measured size and date; no silent headroom. Documented
in integrations/README.md (new "Bundle size" subsection of "Publishing a
drive app") and summarised in AGENTS.md's apps/ section. The README notes
that the app builds on main do not follow it yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
SELF_HOSTING.md's "Pointing Atomic at your proxy" now states:
- today (atomic-server#1702, in the pin): if --integration-proxy-url /
  ATOMIC_INTEGRATION_PROXY_URL is unset, no proxy is configured and
  plugins cannot reach one;
- later: the default becomes https://integrations.atomic.place, in the
  same change that moves the data browser's build-time default off
  localthought.io ("from version X", X left as a marked TODO);
- atomic-server#1731 (open, not in the pin): the exactly-configured proxy
  origin may resolve to private or loopback addresses, which allows a LAN
  proxy or host.docker.internal; link-local and metadata addresses are
  still refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@michielbdejong
michielbdejong merged commit 82d2384 into main Sep 24, 2026
38 of 40 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