Skip to content

Restructure Stovepipe under gateway; add core/extension#174

Closed
mnoah1 wants to merge 2 commits into
mainfrom
refactor/stovepipe-nested-layout
Closed

Restructure Stovepipe under gateway; add core/extension#174
mnoah1 wants to merge 2 commits into
mainfrom
refactor/stovepipe-nested-layout

Conversation

@mnoah1
Copy link
Copy Markdown
Contributor

@mnoah1 mnoah1 commented Jun 2, 2026

Summary

  • Nest the existing Stovepipe service under stovepipe/gateway/ (proto, generated gRPC Go, controllers) and update import paths, Bazel deps, Makefile proto/clean targets, and root Gazelle resolve.
  • Add placeholder trees: core/extension/, stovepipe/orchestrator/, stovepipe/entity/, stovepipe/extension/ (doc-only packages + BUILD files) to match the intended multi-product layout; SubmitQueue gateway/ and orchestrator/ are unchanged.
  • Remove committed stovepipe.pb.yarpc.go; nothing referenced it. Regenerate with make proto when protoc + YARPC plugins are available if YARPC bindings are needed again.

Test plan

  • make gazelle / make fmt
  • bazel test //stovepipe/...
  • CI green on this PR

Move proto, generated gRPC Go, and controllers into stovepipe/gateway; add
stovepipe/orchestrator, entity, and extension stubs; introduce core/extension
for shared extensions. Update Makefile proto paths, Gazelle resolve, examples,
and integration tests. Drop committed stovepipe.pb.yarpc.go (regenerate via
make proto when YARPC is needed). SubmitQueue gateway/orchestrator unchanged.
@mnoah1 mnoah1 requested review from a team, behinddwalls and sbalabanov as code owners June 2, 2026 16:54
@mnoah1 mnoah1 marked this pull request as draft June 2, 2026 16:55
Comment thread core/extension/doc.go

// Package extension holds extension interfaces and implementations shared
// across SubmitQueue, Stovepipe, and other repo-local services.
package extension
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think we have been adding README.md files in such places...do we want to add those or switch to doc.go files?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I still have it in draft, will enqueue once ready

Copy link
Copy Markdown
Collaborator

@behinddwalls behinddwalls left a comment

Choose a reason for hiding this comment

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

Do we also want to break the test folders?

test/e2e/submitqueue/test_suite.go
test/e2e/stovepipe/test_suite.go
test/integration/submitqueue/gateway/test_suite.go
test/integration/submitqueue/orchestrator/test_suite.go
test/integration/submitqueue/extension/test_suite.go

@mnoah1
Copy link
Copy Markdown
Contributor Author

mnoah1 commented Jun 2, 2026

Abandoning as duplicate of #181

@mnoah1 mnoah1 closed this Jun 2, 2026
@mnoah1 mnoah1 deleted the refactor/stovepipe-nested-layout branch June 2, 2026 22:10
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