René's URL Explorer Experiment


Title: Diagram.trace: descend through master-part boundaries (Merge-table upstream tracing) · Issue #1481 · datajoint/datajoint-python · GitHub

Open Graph Title: Diagram.trace: descend through master-part boundaries (Merge-table upstream tracing) · Issue #1481 · datajoint/datajoint-python

X Title: Diagram.trace: descend through master-part boundaries (Merge-table upstream tracing) · Issue #1481 · datajoint/datajoint-python

Description: Summary Diagram.trace() (and therefore self.upstream) walks ancestor FK edges only. It does not descend from an ancestor Master into that Master's Parts. In the merge-table shape used by Spyglass — Parent → Master.Part → Master → Child —...

Open Graph Description: Summary Diagram.trace() (and therefore self.upstream) walks ancestor FK edges only. It does not descend from an ancestor Master into that Master's Parts. In the merge-table shape used by Spyglass —...

X Description: Summary Diagram.trace() (and therefore self.upstream) walks ancestor FK edges only. It does not descend from an ancestor Master into that Master's Parts. In the merge-table shape used by Spygla...

Opengraph URL: https://github.com/datajoint/datajoint-python/issues/1481

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Diagram.trace: descend through master-part boundaries (Merge-table upstream tracing)","articleBody":"## Summary\n\n`Diagram.trace()` (and therefore `self.upstream`) walks **ancestor FK edges only**. It does not descend from an ancestor Master into that Master's Parts. In the merge-table shape used by Spyglass —\n\n```\nParent → Master.Part → Master → Child\n```\n\n— `trace(Child \u0026 key)` reaches `Master`, but `trace[Master.Part]` and `trace[Parent]` raise `DataJointError`. The true upstream source (`Parent`) is unreachable through the merge point.\n\nThis matches the shipped spec (provenance.md §2, \"Allowed table set\": an ancestor's Part is included only when the Part itself lies on an FK path to the seed) and is now pinned by `test_trace_stops_at_master_no_part_down_collection`. However, the design comment on discussion #1232 described a symmetric down-collection (\"when a Master is reached, add its Parts to the trace, and continue upward from the Parts' FK parents\") that was **never implemented** — a correction has been posted there. This issue tracks actually building that capability.\n\n## Proposed behavior (opt-in or default — design question)\n\nWhen the upward walk reaches a Master, additionally:\n1. Restrict the Master's Parts downward from the Master's restriction (the existing forward rules).\n2. Continue **upward** from the Parts' other FK parents (the upward rules), OR-merging into the trace.\n3. Multi-pass until stable (mirror of the downstream `part_integrity=\"cascade\"` mechanics — this is its upward analog, cf. `_propagate_part_to_master`).\n\n## Design questions\n\n- Default-on (a Part is semantically an extension of its Master, so \"what contributed\" arguably includes contributions through Parts) vs. opt-in flag (`trace(expr, through_parts=True)`) to preserve current semantics.\n- OR-merge and termination through alias nodes; interaction with the (part, master)-pair dedup introduced for the downstream analog.\n- Effect on `self.upstream`'s allowed-table set under `strict_provenance` — the merge pattern is exactly where downstream `make()`s need to read through the merge point.\n\n## Motivation\n\n- Spyglass Merge tables (discussion #1232, @CBroz1): versioned pipelines route provenance through Master/Part merge points; upstream tracing that stops at the merge master cannot answer \"which Parent produced this result.\"\n- Without it, strict-provenance mode makes such reads *impossible* rather than merely unergonomic (the true parent is not in the allowed set).\n","author":{"url":"https://github.com/dimitri-yatsenko","@type":"Person","name":"dimitri-yatsenko"},"datePublished":"2026-07-04T20:40:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1481/datajoint-python/issues/1481"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:24611965-b8f9-455a-1e3f-a12a20ff6720
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9B78:9775E:1D781FF:285DA6C:6A4F28A0
html-safe-nonce5f9ceb654595178c4c8766cc88ec56fd025c635f934950ec1fdc4948bfe66d11
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Qjc4Ojk3NzVFOjFENzgxRkY6Mjg1REE2Qzo2QTRGMjhBMCIsInZpc2l0b3JfaWQiOiI5NTAyODkyNTcyMTczMzc1MDQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac64ccb4ecc6b338e3dd302664d29068bcf18d86b289e13e39a057bed264f73558
hovercard-subject-tagissue:4810479760
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/datajoint/datajoint-python/1481/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1e879a8d91e559492ca3182750ed4f5eaa4ec5d90038d1499455ec5976ce6d95/datajoint/datajoint-python/issues/1481
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1e879a8d91e559492ca3182750ed4f5eaa4ec5d90038d1499455ec5976ce6d95/datajoint/datajoint-python/issues/1481
og:image:altSummary Diagram.trace() (and therefore self.upstream) walks ancestor FK edges only. It does not descend from an ancestor Master into that Master's Parts. In the merge-table shape used by Spyglass —...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedimitri-yatsenko
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-preview
go-importgithub.com/datajoint/datajoint-python git https://github.com/datajoint/datajoint-python.git
octolytics-dimension-user_id2375501
octolytics-dimension-user_logindatajoint
octolytics-dimension-repository_id5866704
octolytics-dimension-repository_nwodatajoint/datajoint-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id5866704
octolytics-dimension-repository_network_root_nwodatajoint/datajoint-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2b8f23afb982271f1b22258a94aede67a6b77760
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/datajoint/datajoint-python/issues/1481#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatajoint%2Fdatajoint-python%2Fissues%2F1481
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdatajoint%2Fdatajoint-python%2Fissues%2F1481
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=datajoint%2Fdatajoint-python
Reloadhttps://github.com/datajoint/datajoint-python/issues/1481
Reloadhttps://github.com/datajoint/datajoint-python/issues/1481
Reloadhttps://github.com/datajoint/datajoint-python/issues/1481
Please reload this pagehttps://github.com/datajoint/datajoint-python/issues/1481
datajoint https://github.com/datajoint
datajoint-pythonhttps://github.com/datajoint/datajoint-python
Notifications https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Fork 96 https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Star 194 https://github.com/login?return_to=%2Fdatajoint%2Fdatajoint-python
Code https://github.com/datajoint/datajoint-python
Issues 8 https://github.com/datajoint/datajoint-python/issues
Pull requests 4 https://github.com/datajoint/datajoint-python/pulls
Discussions https://github.com/datajoint/datajoint-python/discussions
Actions https://github.com/datajoint/datajoint-python/actions
Security and quality 0 https://github.com/datajoint/datajoint-python/security
Insights https://github.com/datajoint/datajoint-python/pulse
Code https://github.com/datajoint/datajoint-python
Issues https://github.com/datajoint/datajoint-python/issues
Pull requests https://github.com/datajoint/datajoint-python/pulls
Discussions https://github.com/datajoint/datajoint-python/discussions
Actions https://github.com/datajoint/datajoint-python/actions
Security and quality https://github.com/datajoint/datajoint-python/security
Insights https://github.com/datajoint/datajoint-python/pulse
Diagram.trace: descend through master-part boundaries (Merge-table upstream tracing)https://github.com/datajoint/datajoint-python/issues/1481#top
enhancementIndicates new improvementshttps://github.com/datajoint/datajoint-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/dimitri-yatsenko
dimitri-yatsenkohttps://github.com/dimitri-yatsenko
on Jul 4, 2026https://github.com/datajoint/datajoint-python/issues/1481#issue-4810479760
#1232https://github.com/datajoint/datajoint-python/discussions/1232
Cascading Restrictions #1232https://github.com/datajoint/datajoint-python/discussions/1232
@CBroz1https://github.com/CBroz1
enhancementIndicates new improvementshttps://github.com/datajoint/datajoint-python/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.