refactor(project): modularize publish workflow services#359
Merged
Conversation
The content publish workflow owned the existing-project publish result aggregation inline. Move that runner into the publish content helper and call it from the workflow. The hook keeps UI orchestration while publish polling and failure grouping stay reusable.
Project lifecycle had list pagination, publication selection, DTO presentation, and generic text helpers in one package surface. Move reusable payload, selection, presenter, and rune truncation logic into focused packages while keeping lifecycle orchestration in project. Callers now depend on narrower modules without changing publish or prepublish behavior.
Project service responsibilities had grown across experience, cache, and content setup concerns. Move those concerns into focused child packages while keeping the parent service as a compatibility wrapper. This keeps behavior stable and leaves existing project tests and related service tests passing.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Title: refactor(project): modularize publish workflow services
Change Description
Implementation Approach
Testing
golangci-lint runfrombackend: passed.bash script/ci/backend.sh: passed.bash script/ci/frontend.sh: passed.