Skip to content

docs(skills): document databases lineage, forked_from, and retired job types - #287

Merged
eddietejeda merged 1 commit into
mainfrom
docs/skills-lineage-jobs-refresh
Sep 3, 2026
Merged

eddietejeda merged 1 commit into
mainfrom
docs/skills-lineage-jobs-refresh

Conversation

@eddietejeda

Copy link
Copy Markdown
Contributor

Summary

Audit of the bundled skills against everything that landed since they were last touched (v0.28, #275/#276). Three staleness fixes and one small improvement:

  • databases lineage was missing entirely (added in feat(databases): lineage command and forked_from provenance #281, v0.29). Added to the databases synopsis in skills/hotdata/SKILL.md with a bullet covering the fork-tree rendering, direct-forks-only semantics, deleted-generation marking, and --forks-limit paging. Also added the missing row to the README command table.
  • jobs list --job-type listed retired types. data_refresh_table / data_refresh_connection were dropped server-side in feat(databases): lineage command and forked_from provenance #281; the skill now lists only create_index and managed_load.
  • forked_from provenance was undocumented. Noted on the fork and databases <id> bullets, and the fork-before-risky-changes workflow in references/WORKFLOWS.md now points at lineage for recovering a lost source/fork id pair.
  • query --dialect (feat(query): add --dialect to transpile DuckDB/Postgres/Snowflake SQL #266, v0.27) was documented only in the analytics subskill; the main skill's query synopsis now shows the flag with a pointer to hotdata-analytics for details.

Verified against the clap definitions (src/commands/databases.rs, src/commands/jobs.rs) and the built binary's --help output — flags, defaults, and the --job-type value set all match. The v0.30 / post-release commits (#283, #285, #286) are rendering/dependency fixes with no doc impact; "managed table" wording is intentionally kept per #275.

Docs only — no code changes.

…b types

Catch the skills up to the v0.29/v0.30 surface:

- add 'databases lineage' to the skill synopsis, command bullets, and
  README command table (landed in #281, undocumented since)
- note forked_from provenance on 'databases show' / 'fork' output, and
  point the fork-before-risky-changes workflow at lineage for
  recovering a lost source/fork id pair
- drop the retired data_refresh_table / data_refresh_connection job
  types from the jobs section (removed server-side with #281)
- surface 'query --dialect' (#266) in the main skill's query synopsis
  with a pointer to the analytics subskill
@eddietejeda
eddietejeda requested a review from a team as a code owner September 3, 2026 18:39
@eddietejeda
eddietejeda requested review from anoop-narang and removed request for a team September 3, 2026 18:39

@claude claude 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.

Docs verified against the clap definitions and rendering code. Lineage flags, --job-type values, --dialect values, ForkedFrom fields and the fork-tree output all match. One super nit inline.

Comment thread skills/hotdata/SKILL.md
- `use` — saves the database **id** as the active database. Subsequent `databases tables` and `databases context` commands use it automatically. Note that a successful `fork` also updates this: the fork becomes the active database.
- `unset` — clears the active database from config.
- `<id>` — inspect one database (returns id, catalog, name, expires_at).
- `<id>` — inspect one database (returns id, catalog, name, expires_at; a fork also shows its `forked_from` record).

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.

super nit: expires_at is not in the table output. databases::get prints id, name, catalog, created_at, catalog id, forked_from, sql_prefix and attachments (src/commands/databases.rs:1191-1244); expires_at appears only under -o json/yaml. A reader following this bullet looks for a field the default output never shows. Consider listing created_at instead of expires_at. (not blocking)
true

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@eddietejeda
eddietejeda merged commit 9867597 into main Sep 3, 2026
14 checks passed
@eddietejeda
eddietejeda deleted the docs/skills-lineage-jobs-refresh branch September 3, 2026 19:23
@eddietejeda
eddietejeda restored the docs/skills-lineage-jobs-refresh branch September 3, 2026 19:24
@eddietejeda
eddietejeda deleted the docs/skills-lineage-jobs-refresh branch September 3, 2026 19:25
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