sourcegraph/cmd/frontend/internal/executorqueue
Quinn Slack a07c67ad67
support single-program execution for local dev (#56750)
support single-program execution

Now, `sg start single-program` starts a single-binary local dev server. This is similar to Cody app, but instead of using a Tauri desktop app UI and limiting to only Cody-related functionality, it runs a full Sourcegraph instance and lets you access it through your web browser. It is useful for local dev because it's less resource-intensive and has faster recompile/relink times than `sg start` (which runs many processes).
2023-09-30 03:55:26 +00:00
..
handler Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
queues Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
BUILD.bazel Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
CODENOTIFY Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
gitserverproxy_test.go Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
gitserverproxy.go Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
init.go support single-program execution for local dev (#56750) 2023-09-30 03:55:26 +00:00
mocks_test.go Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
queuehandler_test.go Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
queuehandler.go Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00
README.md Merge enterprise and oss frontend (#56476) 2023-09-11 14:16:38 +02:00

Executor queue

The executor-queue maintains the executor work queues. Executor instances poll for and perform jobs from a particular queue. Executors and the executor-queue will periodically reconcile in-progress jobs via heartbeat requests.

Work queues

  • The codeintel queue contains unprocessed lsif_index records
  • The batches queue contains unprocessed batch_spec_execution records