This repository was archived by the owner on Feb 6, 2026. It is now read-only.
Convert mostly everything to become a node or an edge#2879
Closed
nickgerace wants to merge 60 commits intomainfrom
Closed
Convert mostly everything to become a node or an edge#2879nickgerace wants to merge 60 commits intomainfrom
nickgerace wants to merge 60 commits intomainfrom
Conversation
d823466 to
f477c9d
Compare
e9683ea to
3c1d406
Compare
319f774 to
c211fb4
Compare
0004c96 to
b459518
Compare
Signed-off-by: Nick Gerace <nick@systeminit.com> Co-authored-by: Zachary Hamm <zack@systeminit.com> Co-authored-by: Jacob Helwig <jacob@systeminit.com>
Signed-off-by: Nick Gerace <nick@systeminit.com> Co-authored-by: Jacob Helwig <jacob@systeminit.com>
afab082 to
59c0d00
Compare
- import attr funcs for output sockets - import action prototypes - import validations, fix resource value func, finalize at the right time - continue api refactor to use impl Into<Ulid>
- Restore attribute value insertion and deletion in the new graph - This work was commented out from when it was migrated from the (now deleted) "workspace_snapshot/api" module - Remove unnecessary async usages for component and attribute values Signed-off-by: Nick Gerace <nick@systeminit.com>
Primary:
- Restore PropertyEditorSchema with the new engine
- Restore PropertyEditorValues with the new engine
- Use an empty response for PropertyEditorValidations
Secondary:
- Add "EdgeWeightKind::Root" for the root AttributeValue
- Components "use" both AttributeValues corresponding to providers as
well as the root AttributeValue, so this edge indicates which one is
root
- It is possible we may want _both_ a "Use" and a "Root" edge for the
root AttributeValue in the future, but until multiple edges for a
given source and target is functional, this will suffice
- Add integration test for assembling the property editor
- This test is trivial and is mostly useful for debugging output
- Restore the Prop "documentation" field
- Ensure "WidgetOptions" works with postcard
- Postcard wants a known size, but there is potentially another
solution lurking here
Signed-off-by: Nick Gerace <nick@systeminit.com>
Contributor
Author
|
Previously, this PR was aimed to be merged into the ENG-1703 PR, #2424. Now, its base branch is |
627cba7 to
b12bb21
Compare
This restores (some of) the `apply_change_set` API endpoint. It does not restore any functionality around Actions. An appropriate rebase request is created to update the base change set of the change set specified in the API request, and the change set is marked as applied, if the base change set is updated without any errors, or conflicts. This does not attempt to report any conflicts (planned for future work).
Replace `/c` with `/viz` to see a force directed visualization of the graph. Also filter by Schema Variant feat(web,sdf,dal): visualize the graph feat(web,sdf): viz of individual schema variants
feat(sdf,web,dal): visualize graph
…value feat(dal,sdf): insert property editor values in graph
- Add the ability to create inter-Component edges with the new engine - These are called "connections" - Extend AttributePrototypeArgument to hold side effect metadata for a given connection - Add the ability to find the AttributeValue corresponding to a Component and an explicit InternalProvider Secondary: - Add an integration test to test the new functionality - Migrate the COREOS package for integration tests - Add accessor queries for the test Signed-off-by: Nick Gerace <nick@systeminit.com>
All changes described in the new engine. Primary changes: - Add ability to create edges in the UI - Add ability to display edges in the UI - Replace all usages of "Node" and "Socket" with "Component" and "Provider" in the frontend code (side note: I am almost certain that I broke something in the process of doing this) - Remove the concept of "Nodes for Components" in the frontend code (side note: like before, I would not be surprised if something exploded) - Remove returning every single field when creating an edge in the UI (only return the DiagramEdgeViewId) - Restore the ability to list DiagramEdgeViews for a workspace - Fix the ability to list ExternalProviders and explicit InternalProviders for a given SchemaVariantId - Remove the "dbg" statements that were tracking this bug - Restore DiagramSocketViews (returns with a slightly different name) - Restore the "create_connection" route in SDF - Add a README for working with the new engine Secondary changes: - Add "EdgeWeightKind::InterComponent" to help find inter-Component AttributePrototypeArguments starting from ExternalProviders - Return the AttributePrototypeArgumentId when using "Component::connect", which is the lower-level interface for creating an edge in the diagram - Prepend NodeSide and SocketDirection with "Diagram" to indicate that they are not graph-related concepts - Extend "Component::connect" integration test to check the DiagramEdgeViews - Add an integration test to test "DiagramSocketView::list" Misc changes: - Rename "mostly_everything_is_a_node_or_an_edge" integration test module to "new_engine" for ease of use Signed-off-by: Nick Gerace <nick@systeminit.com>
Contributor
Author
|
Closed because the branch was renamed to |
si-bors-ng Bot
added a commit
that referenced
this pull request
Mar 4, 2024
3113: Switch to the new engine r=nickgerace a=nickgerace ## Description Since July 2023, we have been dreaming of this moment. The changes in `new-engine` all hit `main`. This has been a journey of many squashed commits, bad git merges, pain, sweat and tears. That all changes today. Welcome to the new engine. ## History This PR is a continuation of #2879, which was closed because the branch was renamed to `new-engine`. Co-authored-by: Nick Gerace <nick@systeminit.com> Co-authored-by: Jacob Helwig <jacob@technosorcery.net>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Description