Skip to content

finding(docs): data-objectstack.mdx code examples still name api.objectstack.dev, a domain that does not resolve — inside fences, so the link sweep cannot see them #8381

Description

@claude

Found while fixing objectui#8128 (the check-links sweep's 10 rejections). Not fixed there: it is a different defect from the ones that sweep named, and its correct target is not something I could establish.

Attribution as prose: generated by Claude Code, dev session session_01FhBNJcLRZLe8M87VcUgpKr, while implementing objectui#8128.

The reading

content/docs/utilities/data-objectstack.mdx uses objectstack.dev as the example API host, in two copyable code blocks:

155:  baseUrl: 'https://api.objectstack.dev',
364:  baseUrl: 'https://api.objectstack.dev',

objectstack.dev does not resolve — measured 2026-09-07, socket.gethostbyname('objectstack.dev') raises [Errno -2] Name or service not known, while objectstack.ai resolves normally.

The same file carried the same stale domain in two prose links (https://objectstack.dev/docs, at lines 499 and 544). Those two WERE rejected by the sweep and are repointed by objectui#8128's PR. These two are the residue: identical root cause, different reason for surviving.

Why the sweep never caught these two

They sit inside fenced code blocks, and Lychee does not extract links from code fences. So the sweep was never going to name them — this is not a gap in objectui#8128's fix, it is a class the instrument does not see at all.

Why it was not fixed in objectui#8128's PR

Repointing a prose link is mechanical: the target is a documentation page and docs.objectstack.ai is established in this repo and green in the run being fixed. Repointing an example baseUrl is not — it names an API host, and I could not establish what the correct one is:

  • api.objectstack.ai is a plausible substitution and that is exactly the problem — plausible is not established. Egress policy in the session blocks objectstack.ai, so I could not probe it.
  • It may be that the right answer is not a substitution at all: an example baseUrl may be better off as an obviously-fake placeholder, since a real-looking host in a copyable snippet invites a reader to leave it in.

⇒ Left for someone who knows which of those it is. Guessing a host into a code block a user will copy is worse than leaving the wrong one visible in an issue.

What it costs today

A reader (or an agent) copying either snippet gets a configuration pointed at a domain that does not exist, and the failure surfaces as a network error at runtime rather than as anything a check would catch.

Refs: objectui#8128.


Generated by Claude Code

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

    documentationImprovements or additions to documentationdomain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatfindingpriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions