Skip to content

docs: merge the orphaned developers/import-jobs into the visible guide - #126

Merged
nikoraes merged 1 commit into
mainfrom
docs/merge-developers-import-jobs
Oct 20, 2026
Merged

nikoraes merged 1 commit into
mainfrom
docs/merge-developers-import-jobs

Conversation

@nikoraes

Copy link
Copy Markdown
Member

You were right — docs/developers/ had no meta.json entry anywhere, so it was routable but unreachable: /docs/graph/developers/import-jobs returns 200, but nothing links to it and no sidebar shows it. One file, 307 lines, duplicating the import guide with different content.

What it actually contained

~80% internals: file map by class, StreamingImportJob flow, PositionTrackingStreamReader, lock acquire/renew/release SQL, the {graphName}_jobs.jobs DDL, heartbeat timings. None of that belongs on a user-facing site.

But it also held four things the visible page lacked or stated weakly:

  1. endpoint table for /jobs/imports/*
  2. status state machine — including that cancellation is cooperative (Cancelling before Cancelled)
  3. resumption semantics — a lost DB connection does not fail the job; it stays Running and is auto-recovered; and S3/GCS resume appends
  4. stricter NDJSON rules — the old page said the header "should include metadata"; the validator actually requires it first, with fileVersion exactly "1.0.0"

Those are merged into how-to-guides/import-jobs, rewritten around the task. Configuration keys are linked to reference/configuration rather than duplicated, and I fixed the heading that said ".NET" above a Python example.

Where the internals went

.github/architecture/import-jobs.md — contributor documentation, preserved, not published. Nothing lost.

Orphan audit

Every folder and file was checked against its parent meta.json: no other orphans. developers/ was the only one.

Verification

  • 64 pages; frontmatter parses; code fences balanced; no broken relative links
  • no remaining references to developers/

docs/developers/ had no meta.json entry anywhere, so it was routable
(/docs/graph/developers/import-jobs -> 200) but unreachable by navigation, and
it duplicated the user-facing import guide while carrying a different payload:
mostly internals (file map, lock SQL, jobs-table schema, heartbeat details)
with a few genuinely user-facing bits the visible page lacked.

- how-to-guides/import-jobs rewritten around the task: when to use a job (incl.
  the MaxBatchSize ceiling on the batch endpoints), the endpoint table, the
  status state machine, cooperative cancellation, "a lost DB connection does not
  fail the job", checkpoint/resume behaviour, and the strict NDJSON rules
  (Header first, fileVersion exactly "1.0.0") which the old page stated loosely
- configuration keys are linked, not duplicated (reference/configuration has them)
- fixed the heading that said ".NET" over a Python example
- internals moved to .github/architecture/import-jobs.md for contributors, so the
  detail is preserved without being published; docs/developers/ is gone

Audited every other folder and file against its meta.json: no other orphans.
Verified: 64 pages, frontmatter parses, fences balanced, no broken links.

Co-authored-by: Hermes Agent <hermes@nikoraes.local>
@nikoraes
nikoraes merged commit 14e12d0 into main Oct 20, 2026
5 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