Preserve shared labels and preflight variable lineage dependencies - #20
Conversation
|
@codex review |
|
To use Codex here, create an environment for this repo. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughChangesThe in-place transformation workflow now preserves shared value-label records, blocks deletion of variables with published lineage, enables SQLite foreign-key enforcement, and validates rollback behavior. In-place transformation integrity
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to In-place transformations now preserve shared labels, prevent deletion of published lineage sources, and enforce SQLite foreign keys. The covered behavior is ready to merge with no identified outstanding production risk. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
|
Codex Review: Didn't find any major issues. Hooray! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Phase 2 — in-place metadata integrity
Keeps existing canonical-plan and SPSS entry points, dataset/table identity, and ordered execution. No dependencies, new configuration, workflow installation, or persistent rollback/copy layer.
Changes
variable_has_dependents, before any plan mutation. Same-name recreation cannot bypass this guard; plan-local create/delete sequences remain supported.Validation
0927d6a: 7 reproduced failures and 1 already-working sequential control.395cbc0: all 8 scenarios pass; related frontend/workflow/CLI/apply suites: 158 passed.git diff --checkpasses; independent full-diff local subagent review: No findings.Scope and next phase
Phase 1 PHP import-integrity PR OpenStatSpec/php#12 is merged. Phase 2 is ready for handoff at
395cbc0: independent local full-diff review found no issues; latest-head@codex reviewcompleted without findings and confirmed 👍; CodeRabbit also reported no actionable comments. All GitHub checks pass. Its optional docstring-percentage suggestion does not justify unrelated boilerplate.Next: phase 3 — Python export reads values and metadata from one consistent database snapshot without database writes, in a separate PR.
Do not merge automatically. Worktree is clean and both logical commits are pushed. The overall phase plan is not yet complete.