-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert mostly everything to become a node or an edge #2879
Closed
Conversation
This file contains 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
nickgerace
force-pushed
the
eng-1936-perform-switchover
branch
2 times, most recently
from
October 20, 2023 18:36
d823466
to
f477c9d
Compare
zacharyhamm
force-pushed
the
eng-1936-perform-switchover
branch
from
October 25, 2023 14:30
e9683ea
to
3c1d406
Compare
nickgerace
force-pushed
the
eng-1936-perform-switchover
branch
from
October 27, 2023 17:06
319f774
to
c211fb4
Compare
github-actions
bot
added
A-pinga
A-sdf
Area: Primary backend API service [Rust]
A-dal-test
labels
Oct 27, 2023
zacharyhamm
force-pushed
the
eng-1936-perform-switchover
branch
from
October 31, 2023 17:44
0004c96
to
b459518
Compare
github-actions
bot
added
A-si-settings
Area: Backend service settings management [Rust]
A-veritech
Area: Task execution backend service [Rust]
A-cyclone
Area: Function execution engine [Rust]
A-deadpool-cyclone
Area: Pooling support for Cyclone instances [Rust]
A-lang-js
A-bytes-lines-codec
A-config-file
A-si-test-macros
A-telemetry-rs
A-web
A-si-data-nats
A-si-data-pg
A-si-std
A-telemetry-application-rs
A-council
A-object-tree
A-si-pkg
A-nats-subscriber
A-si-posthog-rs
A-buck2-resources
labels
Oct 31, 2023
Signed-off-by: Nick Gerace <[email protected]> Co-authored-by: Zachary Hamm <[email protected]> Co-authored-by: Jacob Helwig <[email protected]>
Signed-off-by: Nick Gerace <[email protected]> Co-authored-by: Jacob Helwig <[email protected]>
nickgerace
force-pushed
the
eng-1936-perform-switchover
branch
from
December 13, 2023 22:30
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 <[email protected]>
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 <[email protected]>
nickgerace
changed the title
ENG-1936 Perform Switchover
Convert mostly everything to become a node or an edge
Dec 16, 2023
Previously, this PR was aimed to be merged into the ENG-1703 PR, #2424. Now, its base branch is |
zacharyhamm
force-pushed
the
eng-1936-perform-switchover
branch
from
December 18, 2023 21:04
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 <[email protected]>
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 <[email protected]>
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 <[email protected]> Co-authored-by: Jacob Helwig <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-buck2-resources
A-bytes-lines-codec
A-ci
Area: CI configuration files and scripts
A-config-file
A-council
A-cyclone
Area: Function execution engine [Rust]
A-dal
A-dal-test
A-deadpool-cyclone
Area: Pooling support for Cyclone instances [Rust]
A-module-index
A-nats-subscriber
A-object-tree
A-pinga
A-postgres
A-sdf
Area: Primary backend API service [Rust]
A-si-data-nats
A-si-data-pg
A-si-pkg
A-si-posthog-rs
A-si-settings
Area: Backend service settings management [Rust]
A-si-std
A-si-test-macros
A-telemetry-application-rs
A-telemetry-rs
A-veritech
Area: Task execution backend service [Rust]
A-web
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