Skip to content

For the case you lost the 6.3.0 code (AI reconstruction) - #1520

Open
davrot wants to merge 2 commits into
overleaf:mainfrom
davrot:6.3.0_inference
Open

davrot wants to merge 2 commits into
overleaf:mainfrom
davrot:6.3.0_inference

Conversation

@davrot

@davrot davrot commented Sep 2, 2026

Copy link
Copy Markdown

#1507

I wish your code base a speedy recovery. 🤧

This is an AI reconstruction of the missing built components and etc, to produce a code base from the overleaf CE docker image 6.3.0. It will not be perfect but until the official code base is back online, I guess we have to life with what we have.

…d (6.3.0_inference)

Condensed from 9 commits (0ee8492..02328a0):
- 6.2.1 and 6.2.2 official-image source transfers (web/frontend, services, tools,
  scripts, settings defaults, i18n, tests, docs, package manifests) incl.
  flush_docs_with_pending_updates.js added in 6.2.2
- 6.3.0 source sync from the official image (1421 changed / 556 added / 155 deleted,
  byte-verified) with server-ce/Dockerfile + Dockerfile-base aligned to the official
  build recipe (Node 24 nodesource, corepack Yarn 4.18.0 PnP, install/compile mounts)
- Build fixes: NODE_OPTIONS via quoted legacy ENV (Docker 29 JSON-array form mangles
  multi-word values); 3 codemirror git-dep zips pre-staged in .yarn/cache (avoids
  Yarn-Classic pack race under buildkit; identical to official image); stale 6.2.x
  floating-menu-setting files removed; babel .cache kept out of the image via cache mount

Verified: container-diff vs docker.io/sharelatex/sharelatex:6.3.0 → history parity
None/None, apt/pip only noble point-release version bumps, file residuals only
build-date/machine-hash noise (rosetta, node-compile-cache, install-state.gz);
live on shared overleafserver (migrations OK, all services up, /login 200).
@davrot davrot mentioned this pull request Sep 2, 2026
- NODE_OPTIONS must repeat the PnP loader (--require .pnp.cjs --import
  .pnp.register.mjs) on top of --inspect, because compose environment entries
  override the image ENV wholesale and the PnP hook is what resolves all
  workspace modules.
- webpack: npx -> yarn exec (PnP image has no node_modules/.bin).
- mongo:8 -> 8.3, redis:7 -> 8.6-alpine, GLIBC_TUNABLES=-SHSTK for 8.x mongod
  on hosts advertising the SHSTK CPU feature.
- bin/dev: docker-compose -> docker compose (standalone binary was removed
  upstream; only the compose plugin is shipped).
- bin/logs: keep ggrep/bunyan pipeline when present, tolerate their absence
  with a plain grep fallback.
- restore bin/shared/mongodb-init-replica-set.js (still mounted into mongo
  for replica-set init; accidentally dropped during the transfer).
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