Skip to content

docs: Update docs with latest examples#742

Merged
arora-saurabh448 merged 1 commit intomainfrom
docs/update_examples
Apr 24, 2026
Merged

docs: Update docs with latest examples#742
arora-saurabh448 merged 1 commit intomainfrom
docs/update_examples

Conversation

@arora-saurabh448
Copy link
Copy Markdown
Collaborator

@arora-saurabh448 arora-saurabh448 commented Apr 24, 2026

Summary

What changed and why?

Test Plan

How was this tested?

Checklist

  • Tests added/updated
  • Documentation updated (if needed)
  • CHANGELOG updated (if user-facing)

Summary by CodeRabbit

  • Documentation
    • Added new showcase examples demonstrating multiple use cases including dbt, lineage, migration, and governance workflows. Each example includes a user prompt, demo image, and description to guide end-to-end scenarios.

Summary by cubic

Updated docs with seven new end-to-end examples and linked demos, plus added images. Scenarios include dbt quality grading and fixes, upstream schema incident triage, column-level lineage diff for PR review, model scaffolding to production, safe refactors with impact analysis, MS SQL Server → Microsoft Fabric migration via dbt, and a Fabric admin overview.

Written for commit 17a3acf. Summary will update on new commits.

Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 24, 2026

📝 Walkthrough

Walkthrough

The pull request expands the documentation examples section with multiple new use-case scenarios, each featuring specific dbt, lineage, migration, and governance workflows. User prompts, demo images, and descriptions are added for each case, increasing the showcase content without modifying or removing existing examples.

Changes

Cohort / File(s) Summary
Documentation Examples
docs/docs/examples/index.md
Adds 112 lines of new example sections to the Showcase page, introducing multiple end-to-end use cases with user prompts, demo images, and descriptions for dbt, lineage, migration, and governance workflows.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~5 minutes

Poem

🐰 Hoppy docs, now fuller still,
Examples dance across the hill!
From lineage lines to migrations bright,
Each prompt shines with spotlight.
The showcase grows with purpose true,
More paths for seekers to pursue! 📚✨

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description is a template with placeholder sections that are not filled in; Summary and Test Plan sections are empty, and the auto-generated summary by cubic provides the actual content details. Fill in the Summary section with the actual changes made (e.g., added seven new end-to-end examples to documentation) and the Test Plan section describing how the documentation was validated or reviewed.
Title check ❓ Inconclusive The title is vague and overly broad, using generic phrasing ('Update docs with latest examples') that doesn't convey the specific nature of the changes. Replace with a more specific title that describes the actual changes, such as 'docs: Add new example scenarios to Showcase page' to better reflect the actual documentation updates.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/update_examples

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
docs/docs/examples/index.md (1)

89-89: Standardize Fabric product naming across tags.

Tags mix MS Fabric and Microsoft Fabric. Pick one canonical label to improve consistency/filtering across the docs.

Also applies to: 105-105

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/docs/examples/index.md` at line 89, The tags line contains mixed labels
(`MS Fabric` and `Microsoft Fabric`); choose one canonical tag (e.g., replace
all occurrences of `MS Fabric` with `Microsoft Fabric` or vice versa) and update
every tag instance in this file (the inline tag list like `MS SQL Server` `MS
Fabric` `dbt` `Migration` `data-diff`) and the other occurrence mentioned (the
second tag line) so tags are consistent across the docs; ensure
spacing/backticks around each tag remain unchanged when replacing the token.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/docs/examples/index.md`:
- Line 15: Replace the phrase "anti patterns" in the example sentence "Run
quality checks and grading on the mart layer queries of my dbt project to find
out the SQL anti patterns." with the hyphenated form "anti-patterns" so the
sentence reads "...to find out the SQL anti-patterns."; update the exact string
in the docs example (the sentence at Line 15) to maintain correct terminology.

---

Nitpick comments:
In `@docs/docs/examples/index.md`:
- Line 89: The tags line contains mixed labels (`MS Fabric` and `Microsoft
Fabric`); choose one canonical tag (e.g., replace all occurrences of `MS Fabric`
with `Microsoft Fabric` or vice versa) and update every tag instance in this
file (the inline tag list like `MS SQL Server` `MS Fabric` `dbt` `Migration`
`data-diff`) and the other occurrence mentioned (the second tag line) so tags
are consistent across the docs; ensure spacing/backticks around each tag remain
unchanged when replacing the token.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: fd559399-630c-44d7-9737-2b8f1aceda6a

📥 Commits

Reviewing files that changed from the base of the PR and between ea5cabe and 17a3acf.

⛔ Files ignored due to path filters (7)
  • docs/docs/assets/images/demo_column_lineage_diff.jpg is excluded by !**/*.jpg
  • docs/docs/assets/images/demo_fabric_platform_admin.jpg is excluded by !**/*.jpg
  • docs/docs/assets/images/demo_idea_to_production.jpg is excluded by !**/*.jpg
  • docs/docs/assets/images/demo_mssql_to_fabric.jpg is excluded by !**/*.jpg
  • docs/docs/assets/images/demo_onboarding_peer_review.jpg is excluded by !**/*.jpg
  • docs/docs/assets/images/demo_refactor_dbt.jpg is excluded by !**/*.jpg
  • docs/docs/assets/images/demo_upstream_schema_change.jpg is excluded by !**/*.jpg
📒 Files selected for processing (1)
  • docs/docs/examples/index.md


**Prompt:**

> Run quality checks and grading on the mart layer queries of my dbt project to find out the SQL anti patterns. Also fix those issues, validate and re-grade them.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Fix hyphenation in SQL term at Line 15.

Use “anti-patterns” instead of “anti patterns” to keep terminology correct and consistent.

🧰 Tools
🪛 LanguageTool

[grammar] ~15-~15: Use a hyphen to join words.
Context: ... my dbt project to find out the SQL anti patterns. Also fix those issues, validat...

(QB_NEW_EN_HYPHEN)


[style] ~15-~15: Consider using a different verb for a more formal wording.
Context: ...to find out the SQL anti patterns. Also fix those issues, validate and re-grade the...

(FIX_RESOLVE)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/docs/examples/index.md` at line 15, Replace the phrase "anti patterns"
in the example sentence "Run quality checks and grading on the mart layer
queries of my dbt project to find out the SQL anti patterns." with the
hyphenated form "anti-patterns" so the sentence reads "...to find out the SQL
anti-patterns."; update the exact string in the docs example (the sentence at
Line 15) to maintain correct terminology.

Copy link
Copy Markdown

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

Choose a reason for hiding this comment

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

No issues found across 8 files

Copy link
Copy Markdown

@yukthagv yukthagv left a comment

Choose a reason for hiding this comment

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

other than the nitpicks bot has picked(very minor can be ignored), everything looks good

@yukthagv yukthagv self-requested a review April 24, 2026 15:35
@arora-saurabh448 arora-saurabh448 merged commit 355d302 into main Apr 24, 2026
21 checks passed

`dbt` `SQL Quality` `A-F Grading`

A junior engineer always gets senior-level peer review — altimate grades the mart layer, flags every anti-pattern, fixes the offending SQL, and re-grades to prove the improvement.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@arora-saurabh448 can we please change this to:
A senior engineer has to always review a junior engineers work— Altimate Code grades the code, flags every anti-pattern, fixes the offending SQL, and re-grades to prove the improvement.


`dbt` `Lineage` `Incident Response`

A staging model renames a column and the dbt run fails. altimate reads the error log, traces lineage, pinpoints every broken downstream model, and fixes the references — no hunting through dozens of files.
Copy link
Copy Markdown

@altimateanas altimateanas Apr 24, 2026

Choose a reason for hiding this comment

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

@arora-saurabh448
A column in staging model was renamed and now the dbt run fails. Altimate Code reads the error log, traces lineage, pinpoints every broken downstream model, and fixes the references — no hunting through dozens of files.


`MS Fabric` `Governance` `Lineage` `PII Audit`

Drop altimate into an unfamiliar Fabric instance and get an immediate picture — lineage, code quality, active roles, users, PII exposures — in one prompt.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@arora-saurabh448
Drop Altimate Code into an unfamiliar Fabric instance and get an immediate picture — lineage, code quality, active roles, users, PII exposures — in one prompt.

anandgupta42 added a commit that referenced this pull request Apr 24, 2026
Patch release. User-facing: BigQuery finops tools were 100%-broken and are
now fixed, and work in any BigQuery region (previously hardcoded to US).

Changes since v0.6.0:

- fix: BigQuery finops SQL — correct INFORMATION_SCHEMA columns + multi-region
  support (#739, closes #738). `error_message`/`error_code`/`total_rows` bugs
  plus `state='SUCCESS'` vs BQ's actual `'DONE'` (every completed job was
  being reported as FAILED). All 5 finops modules now read the BQ
  connection's `location` via a sanitised `{region}` placeholder.
- fix: make anti-slop workflow advisory instead of auto-closing legitimate
  PRs (#741, closes #740).
- fix: marker-guard hotfix for isValidDatabricksHost env-fallback path.
- docs: 12 end-to-end showcase examples + `location` documented for BQ (#742).

Review: 5-persona review (CTO/PM/DE/Tech Lead/Chaos Gremlin) ran on main —
no P0s, no HOLDs. 1 P1 (silent `us` fallback compliance concern — addressed
via docs + changelog warnings; behaviour-change follow-ups tracked in #754).
2 HIGH docs-accuracy items fixed pre-tag: `location` row in drivers.md and
finops-tools.md.

Tests:
- 47 new adversarial tests in test/skill/release-v0.6.1-adversarial.test.ts
  (sanitizeBqRegion injection vectors, interpolateBqRegion idempotency,
  bqRegionFor registry edge cases, BIGQUERY_HISTORY_SQL column-name
  regression guards for all four #739 bugs, cross-module {region} guard,
  buildHistoryQuery full-pipeline incl. Snowflake/Databricks no-regression).
- 409/409 tests pass across finops + skill suites. Full altimate suite
  previously green (2917/2917) on #739 merge.
- Typecheck: 5/5 pass. Marker guard: clean. Pre-release sanity: all 4 green.

Deferred: BQ finops UX + robustness follow-ups filed as #754 (surface
queried region in responses, distinguish no-location vs invalid-location,
warn at warehouse_add time, friendlier perms error, options-object
refactor, e2e silent-skip warning).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

3 participants