Skip to content

Graph node dev mode #5982

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

Merged
merged 6 commits into from
Jun 10, 2025
Merged

Conversation

incrypto32
Copy link
Member

@incrypto32 incrypto32 commented May 1, 2025

  • Uses File based link resolver to run subgraphs from file system
  • Listen for file system events to remove and redeploy subgraphs during development
  • Uses pg_temp to spin up temporary databases in build dirs of subgraphs

Follow up for #5977

@incrypto32 incrypto32 force-pushed the krishna/graph-dev branch from 2783041 to a414de1 Compare May 1, 2025 12:59
@incrypto32 incrypto32 changed the base branch from master to krishna/file-link-resolver May 1, 2025 13:02
@incrypto32 incrypto32 force-pushed the krishna/graph-dev branch from a414de1 to ff19f99 Compare May 1, 2025 13:55
@incrypto32 incrypto32 self-assigned this May 1, 2025
@lutter lutter self-requested a review May 1, 2025 15:54
@incrypto32 incrypto32 force-pushed the krishna/file-link-resolver branch from 3ef16d5 to 23e91f1 Compare May 6, 2025 12:59
@incrypto32 incrypto32 force-pushed the krishna/graph-dev branch from ff19f99 to e5a9e23 Compare May 6, 2025 13:02
Copy link
Collaborator

@lutter lutter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks great! There are a few improvements that would streamline the code, but this is a really good addition

@incrypto32 incrypto32 force-pushed the krishna/file-link-resolver branch 5 times, most recently from f7e1520 to cd2d014 Compare May 9, 2025 08:48
@incrypto32 incrypto32 force-pushed the krishna/file-link-resolver branch from cd2d014 to e153358 Compare June 10, 2025 11:29
@incrypto32 incrypto32 merged commit eee2f01 into krishna/file-link-resolver Jun 10, 2025
6 checks passed
incrypto32 added a commit that referenced this pull request Jun 10, 2025
* node: Create a new binary for graph node dev mode

* graph, store: Add unassign_subgraph method to SubgraphStore

* node: Add helpers for graph node dev for  subgraph management

* node: Add helper functions for watching files in dev mode

* node: Wire file watching in dev mode to redeploy subgraphs

* node: fix formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants