Repository navigation
feat(preview-compose-plugin): publish the plugin through the DSB backend - #955
Merged
Merged
Conversation
raininforest
requested review from
SerraMorec,
angirb and
malilex
as code owners
October 20, 2026 10:03
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
malilex
reviewed
Oct 20, 2026
…ugh the DSB backend
raininforest
force-pushed
the
docs/publish-compose-preview-plugin
branch
from
October 20, 2026 12:36
684b7db to
1776a83
Compare
…ck the commit as a task input
…SH_DEV_ENABLED Without the variable a push to develop no longer starts the publication, so a missing secret or CLI release does not leave red runs. A manual dispatch is not gated.
malilex
reviewed
Oct 23, 2026
malilex
approved these changes
Oct 23, 2026
…on is enabled The step of publish-release now runs only with DSB_PUBLISH_PROM_ENABLED=true and cannot fail the release job: the tag and the GitHub release are already created at that point, and a disabled feature must not change the release workflow.
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.
Что
Change
publish-compose-preview-plugin: публикация Compose preview plugin из CI на бэкенд DSB. Спеки (OpenSpec) и реализация в одном PR.CI не пишет в S3: он собирает
preview-compose-plugin.zipи отправляет его командойdsbuilder preview-plugin publishна бэкенд design-system-builder. Бэкенд сам кладёт файлы в хранилище, импортирует мету из архива и ведёт версии.commit,version(12 символов sha),uikitComposeVersion(изsdds-core/uikit-compose/gradle.properties),apiMetaSha256;api-meta.jsonвходит в архив. Проверка состава и идентификации артефакта (verifyPreviewPluginArtifact) выполняется перед браузерным тестом.publish-preview-plugin.yml: push вdevelopотправляет на dev-бэкенд, релизный тег (безусловный вызов изpublish-release) на prom-бэкенд,workflow_dispatchдля выбранного окружения. Шаги: проверка контракта,jvmTest, артефакт, браузерный тест, установка CLI из релиза DSB, пробная отправка, отправка с--apply. Публикации в одно окружение идут последовательно.Чтобы публикация заработала, нужны секреты
DSB_API_URL_*,DSB_CLIENT_ID_*,DSB_CLIENT_SECRET_*(dev и prom), релизcli-v0.1.0репозитория DSB (workflow публикации CLI в парном PR) и, при закрытом репозитории DSB,DSB_CLI_READ_TOKEN. Публикация на prom включается переменнойDSB_PUBLISH_PROM_ENABLED=true.Парный PR (бэкенд, CLI, клиент, авторизация): salute-developers/design-system-builder#124.
Проверено
./gradlew -p integration-core :preview-compose-plugin:jvmTest :preview-compose-plugin:previewPluginBrowserTest(в том числе проверка артефакта; галерея 79 компонентов без замечаний),spotlessCheck.🤖 Generated with Claude Code