Skip to content

sdds-infra: Fix documentation deploy preview comment links#2893

Draft
Yeti-or wants to merge 1 commit into
devfrom
ci/fix-documentation-deploy-preview-links
Draft

sdds-infra: Fix documentation deploy preview comment links#2893
Yeti-or wants to merge 1 commit into
devfrom
ci/fix-documentation-deploy-preview-links

Conversation

@Yeti-or

@Yeti-or Yeti-or commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Core

Documentation deploy workflows

  • added get-deployed-packages.js to resolve storybook links from successfully deployed artifact jobs in the current workflow run
  • updated create-links.js to build the PR comment from actually deployed packages and optional website deploy status
  • adjusted attache-comment job conditions in PR and release-branch documentation deploy workflows to post a comment when artifact deploy fails
  • removed reliance on the planned deploy matrix (PACKAGES_DS / MATRIX) when generating preview links

What/why changed

Documentation preview comments could list storybook links for packages that were planned in the deploy matrix but did not actually deploy, or skip posting a comment when artifact deployment partially failed. The comment is now generated from successful Deploy artifacts (<package>) jobs and includes only links that were really published; website link is shown only when website deploy succeeded.

Made with Cursor

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @salutejs/plasma-asdk@0.380.1-canary.2893.27701294838.0
npm install @salutejs/plasma-b2c@1.622.1-canary.2893.27701294838.0
npm install @salutejs/plasma-giga@0.349.1-canary.2893.27701294838.0
npm install @salutejs/plasma-homeds@0.349.1-canary.2893.27701294838.0
npm install @salutejs/plasma-hope@1.376.1-canary.2893.27701294838.0
npm install @salutejs/plasma-new-hope@0.366.1-canary.2893.27701294838.0
npm install @salutejs/plasma-ui@1.352.1-canary.2893.27701294838.0
npm install @salutejs/plasma-web@1.624.1-canary.2893.27701294838.0
npm install @salutejs/sdds-bizcom@0.354.1-canary.2893.27701294838.0
npm install @salutejs/sdds-cs@0.358.1-canary.2893.27701294838.0
npm install @salutejs/sdds-dfa@0.352.1-canary.2893.27701294838.0
npm install @salutejs/sdds-finai@0.345.1-canary.2893.27701294838.0
npm install @salutejs/sdds-insol@0.349.1-canary.2893.27701294838.0
npm install @salutejs/sdds-netology@0.353.1-canary.2893.27701294838.0
npm install @salutejs/sdds-os@0.24.1-canary.2893.27701294838.0
npm install @salutejs/sdds-platform-ai@0.353.1-canary.2893.27701294838.0
npm install @salutejs/sdds-sbcom@0.354.1-canary.2893.27701294838.0
npm install @salutejs/sdds-scan@0.352.1-canary.2893.27701294838.0
npm install @salutejs/sdds-serv@0.353.1-canary.2893.27701294838.0
npm install @salutejs/sdds-api-tests@0.11.1-canary.2893.27701294838.0
npm install @salutejs/plasma-sb-utils@0.230.1-canary.2893.27701294838.0
# or 
yarn add @salutejs/plasma-asdk@0.380.1-canary.2893.27701294838.0
yarn add @salutejs/plasma-b2c@1.622.1-canary.2893.27701294838.0
yarn add @salutejs/plasma-giga@0.349.1-canary.2893.27701294838.0
yarn add @salutejs/plasma-homeds@0.349.1-canary.2893.27701294838.0
yarn add @salutejs/plasma-hope@1.376.1-canary.2893.27701294838.0
yarn add @salutejs/plasma-new-hope@0.366.1-canary.2893.27701294838.0
yarn add @salutejs/plasma-ui@1.352.1-canary.2893.27701294838.0
yarn add @salutejs/plasma-web@1.624.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-bizcom@0.354.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-cs@0.358.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-dfa@0.352.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-finai@0.345.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-insol@0.349.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-netology@0.353.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-os@0.24.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-platform-ai@0.353.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-sbcom@0.354.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-scan@0.352.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-serv@0.353.1-canary.2893.27701294838.0
yarn add @salutejs/sdds-api-tests@0.11.1-canary.2893.27701294838.0
yarn add @salutejs/plasma-sb-utils@0.230.1-canary.2893.27701294838.0

Build deploy comment links from actually deployed artifacts instead of
the planned matrix, and post a comment when artifact deploy fails.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 344c796d-f700-4252-b480-433c6355e4c4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/fix-documentation-deploy-preview-links

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions

Copy link
Copy Markdown
Contributor

Theme Builder app deployed!

https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-2893/

@Yakutoc Yakutoc added the changelog-skip Exclude pull request changes from changelog label Jun 18, 2026
@Yakutoc Yakutoc changed the title ci: fix documentation deploy preview comment links sdds-infra: Fix documentation deploy preview comment links Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-skip Exclude pull request changes from changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants