Repository navigation
[Enhancement] Require datus-semantic-dosi>=0.1.9 in the ci group (lineage_graph, authoring contract, parameterized query_metrics) - #1393
Conversation
…ing contract, parameterized query_metrics) datus-semantic-dosi 0.1.9 is on PyPI (Datus-ai/datus-semantic-adapter#92) and pins dosi-engine==0.1.9 (0.1.8 was never published). It is the release whose APIs Datus-ai#1392 probes for — the authoring contract, compiled validation evidence and `params` on query_metrics — plus DosiAdapter.lineage_graph, which Datus-backend's POST /hub/lineage passes through. On 0.1.7 those paths fall back to the "upgrade the adapter first" branches, so the ci group was testing the fallbacks rather than the feature. - pyproject.toml: `[dependency-groups] ci` pin 0.1.7 → 0.1.9; platform marker unchanged. Comment notes that, being a dependency group, this pin is never inherited by Datus-backend's resolution — it is kept in step with the backend's own pin (Datus-ai/Datus-backend#505) for consistency only. - uv.lock regenerated: datus-semantic-dosi 0.1.7 → 0.1.9, dosi-engine 0.1.7 → 0.1.9; nothing else moved. CI behaviour is unchanged: run-ut-and-coverage.yml reinstalls the adapter from the datus-semantic-adapter main checkout after `uv sync --locked --group ci`, so this affects local `uv sync` resolution and the lockfile only. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe CI dependency group changes ChangesAdapter dependency update
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The dependency update has no identified merge-blocking risk. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) Full details: Title checkExplanation The title accurately identifies the main change: updating the CI requirement to datus-semantic-dosi>=0.1.9. It also names the key APIs and features provided by that version. Although long, it remains clear and specific. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
📊 PR Test Coverage Report
Coverage DetailsDiff CoverageDiff: origin/main...HEAD, staged and unstaged changesNo lines with coverage information in this diff. Test Failure Details260/261 tests passed, 1 skipped Generated by pytest-cov + diff-cover |
Every adapter release since 0.1.7 pins its dosi-engine release-for-release, so any version the resolver picks is an installable pair; the exact pin bought nothing here beyond what the floor gives. Lockfile diff is the specifier only — it still resolves to 0.1.9. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Why
datus-semantic-dosi0.1.9 is on PyPI (Datus-ai/datus-semantic-adapter#92; pinsdosi-engine==0.1.9— 0.1.8 was never published). It is the release whose adapter APIs #1392 probes for: the authoring contract, compiled validation evidence, andparamsonquery_metrics. It also addsDosiAdapter.lineage_graph, which Datus-backend'sPOST /hub/lineagepasses through.With the
cigroup still on 0.1.7, a localuv sync --group ciinstalls an adapter on which every one of those paths takes the "upgrade the adapter first" fallback — the group was exercising the fallbacks, not the feature.Solution
pyproject.toml:[dependency-groups] cipindatus-semantic-dosi==0.1.7→==0.1.9. Platform marker unchanged (dosi-engine 0.1.9 ships manylinux x86_64/aarch64 and macOS arm64 wheels).uv.lockregenerated:datus-semantic-dosi0.1.7 → 0.1.9,dosi-engine0.1.7 → 0.1.9; nothing else moved (23 lines).CI behaviour is unchanged:
run-ut-and-coverage.ymlreinstalls the adapter from thedatus-semantic-adaptermaincheckout right afteruv sync --locked --group ci, so this affects localuv syncresolution and the lockfile only (same situation #1366 described).Test Cases
No new tests — dependency metadata only.
uv lockproduced the minimal diff above;uv lock --checkis clean.datus-semantic-dosi==0.1.9+dosi-engine==0.1.9installed against this tree (3881ef3), the 34 unit-test files mentioning dosi pass: 1925 passed, 99 skipped.🤖 Generated with Claude Code
Backport
Summary by CodeRabbit
Summary by CodeRabbit