Skip to content

Seven pages outside Deploy still document the retired runtime env contract (OS_ARTIFACT_FILE, OS_BUSINESS_DB_URL, OS_CLOUD_API_KEY, OS_DATABASE_DRIVER) #60

Description

@os-zhuang

Found while rewriting the Deploy section (#59). Filed unassigned; not fixed in that PR — the card's scope was content/docs/deploy/.

What is wrong

The Deploy rewrite replaced the retired variable names with the ones the shipped runtime actually reads. The same retired names are still documented on seven other English pages (plus their locale siblings):

Page Retired name it documents
reference/environment-variables.mdx OS_ARTIFACT_FILE, OS_BUSINESS_DB_URL
architecture.mdx OS_CLOUD_API_KEY (as the cloud-connected mode's credential)
operate/troubleshooting.mdx OS_ARTIFACT_FILE
operate/production.mdx, configure/runtime.mdx, build/packages.mdx, resources/changelog.mdx one or more of the above

reference/environment-variables.mdx is the worst of them, because it is the page a reader treats as the contract. It also describes OS_CLOUD_URL as merely switching marketplace features on and off. That is no longer what it is: it is coupled to the licence mode, and unsupported pairings are refused at startup — which is now stated on deploy/air-gapped.mdx. A reference page that contradicts the deployment page is worse than one that is merely thin.

Why it matters

OS_ARTIFACT_FILE in particular reads as a working instruction: a reader who sets it gets a runtime that ignores it, with no error pointing at the mistake.

What the fix needs

The authoritative env contract is the deployment bundle shipped with the release, not this repo. Whoever picks this up should read it there first, the way #59 did, and treat any rule that cannot be read from a shipped artifact as an open question rather than inferring it. Stale locale siblings of any rewritten page should be deleted, not translated (Fumadocs falls back to English).

Backlink: #59.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions