Title: Provenance-first schema evolution: restructure dependencies and recompute safely · Issue #1482 · datajoint/datajoint-python · GitHub
Open Graph Title: Provenance-first schema evolution: restructure dependencies and recompute safely · Issue #1482 · datajoint/datajoint-python
X Title: Provenance-first schema evolution: restructure dependencies and recompute safely · Issue #1482 · datajoint/datajoint-python
Description: Summary Roadmap capability from the strict-provenance adoption analysis (#1474 discussion, @ttngu207): provenance-first schema evolution — tooling to change a pipeline's dependency structure and recompute safely, instead of drop-and-repo...
Open Graph Description: Summary Roadmap capability from the strict-provenance adoption analysis (#1474 discussion, @ttngu207): provenance-first schema evolution — tooling to change a pipeline's dependency structure and re...
X Description: Summary Roadmap capability from the strict-provenance adoption analysis (#1474 discussion, @ttngu207): provenance-first schema evolution — tooling to change a pipeline's dependency structure an...
Opengraph URL: https://github.com/datajoint/datajoint-python/issues/1482
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provenance-first schema evolution: restructure dependencies and recompute safely","articleBody":"## Summary\n\nRoadmap capability from the strict-provenance adoption analysis ([#1474 discussion](https://github.com/datajoint/datajoint-python/pull/1474#issuecomment-4849784492), @ttngu207): **provenance-first schema evolution** — tooling to change a pipeline's dependency structure and recompute safely, instead of drop-and-repopulate.\n\n## Why\n\nStrict provenance surfaces undeclared dependencies (e.g. \"sideways\" reads to a cousin table). The remediation is always *restructure the schema* — declare the dependency, move a table, split a fat ingestion `make()`. Today there is no tooling for that: users fall back on dropping and repopulating, which destroys history. This is the primary adoption blocker for `strict_provenance` in existing pipelines: the alarm shipped in 2.3; this is the fire exit.\n\n## Shape\n\nBuilt from the primitives 2.3 already ships:\n- `Diagram.trace` answers *what is upstream of the change* (what must be preserved/re-read).\n- `Diagram.cascade` answers *what the change invalidates* (what must be recomputed).\n- A migration runner sequences: declare new FK structure → backfill/attribute the affected rows → recompute invalidated subgraph via the normal populate machinery → retire the old structure.\n\nNot alembic: the hard part is not DDL diffing but managing the **invalidation cascade** with provenance intact.\n\n## Scope notes\n\n- Pairs with #1481 (trace through merge boundaries) — versioned/merge pipelines are the heaviest users of restructuring.\n- The platform's code-deployment CI/CD (agentic review of `make()` source) identifies *what* to restructure; this capability is *how* to execute it safely.\n","author":{"url":"https://github.com/dimitri-yatsenko","@type":"Person","name":"dimitri-yatsenko"},"datePublished":"2026-07-04T20:40:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1482/datajoint-python/issues/1482"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9a4e9870-40f4-38a2-50d2-312e27a513c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9E8:E9E68:37A5E4:49DDAF:6A4ED902 |
| html-safe-nonce | f4f5306185a4c043d6255ae73556dcc614a6ca3c21143e0b3e24deae3eba6113 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUU4OkU5RTY4OjM3QTVFNDo0OUREQUY6NkE0RUQ5MDIiLCJ2aXNpdG9yX2lkIjoiMTU4MTE0NDQ2MDM1OTU1NTMzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e697ad6808c1bfa16c4de5744153e1ae49b32d502d9593e704a526de88bff66c |
| hovercard-subject-tag | issue:4810481254 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datajoint/datajoint-python/1482/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1d4289c7318f4b0d4c67d8a8ae90a588d99a76d5895a5b22d6a05396e582715/datajoint/datajoint-python/issues/1482 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1d4289c7318f4b0d4c67d8a8ae90a588d99a76d5895a5b22d6a05396e582715/datajoint/datajoint-python/issues/1482 |
| og:image:alt | Summary Roadmap capability from the strict-provenance adoption analysis (#1474 discussion, @ttngu207): provenance-first schema evolution — tooling to change a pipeline's dependency structure and re... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dimitri-yatsenko |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git |
| octolytics-dimension-user_id | 2375501 |
| octolytics-dimension-user_login | datajoint |
| octolytics-dimension-repository_id | 5866704 |
| octolytics-dimension-repository_nwo | datajoint/datajoint-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 5866704 |
| octolytics-dimension-repository_network_root_nwo | datajoint/datajoint-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c37fe3e3f5f306900bd5b6bee97463f66c938b2c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width