Repository navigation
[FPv2: Foundation] Add deterministic component graph - #2724
Merged
Merged
Conversation
✅ Deploy Preview for thriving-cassata-78ae72 canceled.
|
philipfweiss
marked this pull request as ready for review
November 23, 2026 20:09
Contributor
[Medium impact] The reviewed changes appear safe to merge. SummaryAdds an inactive version 2 core for hashing individual outputs and row stages. Version 1 remains the default.
|
philipfweiss
commented
Nov 23, 2026
|
|
||
| on: | ||
| pull_request: | ||
| branches: [ main ] |
Contributor
Author
There was a problem hiding this comment.
This allows CI to run on stacked PRs (of which fingerprints will have a few)
betodealmeida
approved these changes
Nov 23, 2026
israelhill
reviewed
Nov 24, 2026
Comment on lines
+161
to
+173
| "key": [key.node, key.kind, key.field], | ||
| "payload": payload, | ||
| "dependencies": [ | ||
| { | ||
| "binding": label, | ||
| "provider": [provider.node, provider.kind, provider.field], | ||
| "fingerprint": fingerprint.model_dump(mode="json"), | ||
| } | ||
| for label, provider, fingerprint in sorted( | ||
| dependencies, | ||
| key=lambda edge: (edge[0], edge[1]), | ||
| ) | ||
| ], |
Contributor
There was a problem hiding this comment.
think this needs to become
"key": [key.kind, key.field],
"payload": payload,
"dependencies": sorted(
(
{
"binding": label,
"provider": [provider.kind, provider.field],
"fingerprint": fingerprint.model_dump(mode="json"),
}
for label, provider, fingerprint in dependencies
),
key=canonical_json,
),
added 6 commits
November 24, 2026 12:49
philipfweiss
force-pushed
the
fingerprint-components
branch
from
November 24, 2026 21:10
ebf1e07 to
ced5526
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Foundation PR for fingerprints v2:
Editing a transform's debug column can currently change the fingerprint of a metric that only sums revenue.
This PR introduces the ability to fingerprint individual outputs and the rows a node produces separately, so later PRs can connect metrics to the inputs that affect their results.
This provides the hashing and comparison machinery. Later PRs will determine those connections from SQL. =