Skip to content

Commit

Permalink
fix: remove runner info file
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartwdouglas committed Jan 23, 2025
1 parent fca5b79 commit afd4454
Show file tree
Hide file tree
Showing 30 changed files with 880 additions and 462 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ testdata/**/go.work.sum
**/smoketest/**/ftl-module-schema/**/*
go-runtime/schema/testdata/test/test.go
.cache
.ftl-runner-info

# Leaving old _ftl for now to avoid old stuff getting checked in
**/testdata/**/_ftl
Expand Down
337 changes: 256 additions & 81 deletions backend/protos/xyz/block/ftl/hotreload/v1/hotreload.pb.go

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions backend/protos/xyz/block/ftl/hotreload/v1/hotreload.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,19 @@ message WatchResponse {
}
}

message RunnerInfoRequest {
string address = 1;
string deployment = 2;
repeated Database databases = 3;
}

message Database {
string name = 1;
string address = 2;
}

message RunnerInfoResponse {
}

message ReloadNotRequired {}

Expand Down Expand Up @@ -61,4 +74,7 @@ service HotReloadService {

// Watch for hot reloads not initiated by an explicit Reload call.
rpc Watch(WatchRequest) returns (stream WatchResponse);

// Invoked by the runner to provide runner information to the plugin.
rpc RunnerInfo(RunnerInfoRequest) returns (RunnerInfoResponse);
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit afd4454

Please sign in to comment.