Skip to content

docs(ingest/odcs): restructure the ODCS source docs for scanning - #21897

Open
acrylJonny wants to merge 9 commits into
odcs/04-governance-termsfrom
odcs/05-docs
Open

acrylJonny wants to merge 9 commits into
odcs/04-governance-termsfrom
odcs/05-docs

Conversation

@acrylJonny

@acrylJonny acrylJonny commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

The ODCS source docs had grown into long bullet paragraphs that were hard to scan. This restructures them the way the Snowflake, dbt and Looker docs are laid out, keeping the docs heading contract:

  • README: a two-paragraph overview and one concept-mapping table. The per-rule rows moved to the quality rule table.
  • Prerequisites: short subsections with tables for where contracts are read from and file safety.
  • Capabilities:
    • A "Choosing a mapping" table comparing the logical-model default with physical binding, with a recipe for each.
    • Tables for contract urn modes, contract status, servers, descriptions, owners and tags, and what stale removal does and never does.
    • Snippets for the glossary term and retention settings.
  • Limitations and Troubleshooting: short bold-lead bullets and short question-and-fix entries.
  • Starter recipe: commented examples for the new options.

All behaviour from the earlier docs is kept. One statement was corrected against the code: replicate_contract_metadata: false skips contract-level owners and tags entirely, rather than writing them "only at first sight". The #### Quality rule mapping heading is unchanged because other docs link to it.

The ODCS config option descriptions, which feed the generated Config Details table, are cut to one or two sentences each; the detail they carried is in the source docs.

Docs and config descriptions only. Stacked on the glossary terms PR.

  • Docs updated

🤖 Generated with Claude Code


Summary by cubic

Restructures the ODCS source docs for scanning and shortens the config option descriptions, matching the layout of the Snowflake, dbt, and Looker docs.

  • README is now a two-paragraph overview plus a concept-mapping table.
  • Capabilities uses comparison tables and short recipes; limitations and troubleshooting use short bold-lead bullets and question-and-fix entries.
  • The starter recipe shows the new mapping, glossary term, and retention options with comments.
  • Config option descriptions in odcs_config.py are cut to one or two sentences; the detail lives in the source docs.

Behavior is unchanged except one correction: replicate_contract_metadata: false skips contract-level owners and tags entirely, rather than writing them "only at first sight". Review also tightened imprecise statements, including assertion URNs without a rule id, the active-only deprecation clear, synonyms lists, domain creation from a full URN, accepted 3.0 versions, symlinks named directly in path, and transformDescription. The #### Quality rule mapping heading is unchanged because other docs link to it.

Docs and config descriptions only.

Written for commit 5dbe547. Summary will update on new commits.

View guided diff Turn on auto-fix

@acrylJonny
acrylJonny added this pull request to stack #21895 December 4, 2026 11:51
@github-actions github-actions Bot added the ingestion PR or Issue related to the ingestion of metadata label Dec 4, 2026
@cursor

cursor Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

PR Summary

Overview
Restructures the ODCS ingestion source documentation (README, prerequisites, capabilities, limitations, troubleshooting, starter recipe) into shorter sections and comparison tables aligned with other connector docs, instead of long prose bullets. Quality-rule rows move out of the README concept table into the dedicated mapping section; capabilities gain tables for logical vs physical binding, contract urns/status, server resolution, stale removal, and similar topics.

odcs_config.py field descriptions are trimmed to one–two sentences each; detailed behavior lives in the source docs that feed the generated Config Details table.

The starter recipe gains commented examples for bind_to_physical_dataset, glossary/retention options, and 3.2.0 in odcs_versions. Ingestion behavior is unchanged except documentation accuracy: replicate_contract_metadata: false is now described as not writing contract-level owners/tags (not “first sight only”).

Reviewed by Cursor Bugbot for commit 5dbe547. Bugbot is set up for automated code reviews on this repo. Configure here.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed against the latest diff

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

@codecov

codecov Bot commented Dec 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

Also shortens the ODCS config option descriptions to one or two
sentences; the detail lives in the source docs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
acrylJonny and others added 2 commits December 4, 2026 12:40
Also corrects the docs where review found them imprecise: assertion urns
without a rule id, synonyms lists, the active-only deprecation clear,
domain creation from a full urn, the accepted 3.0 versions, symlinks
named directly in path, and transformDescription.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@max-datahub max-datahub left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I checked the defaults, the urn modes and validators, the status mapping and the binding rules against the code at this head, and they all match.

Nits:

  • Synonyms limitation (odcs_post.md ~458). The section says a list "whose entries are all skipped" replaces earlier synonyms. But _synonym_entries turns a list with only off-spec entries into None, which keeps the earlier synonyms. The old wording was right for that case; only a list of all-deprecated entries clears them.
  • Config descriptions. They were cut down, and these feed the generated Config Details table. The advice on when to set lowercase_physical_urns: false didn't make it into pre or post.
  • Server table. It leaves out the postgresql alias.
  • Claude (on behalf of Max)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
Preview — 5dbe5479 Deployed Dec 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ingestion PR or Issue related to the ingestion of metadata

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants