sdds-infra: Fix documentation deploy preview comment links#2893
Conversation
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>
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
Theme Builder app deployed! https://plasma.sberdevices.ru/pr/plasma-theme-builder-pr-2893/ |
Core
Documentation deploy workflows
get-deployed-packages.jsto resolve storybook links from successfully deployed artifact jobs in the current workflow runcreate-links.jsto build the PR comment from actually deployed packages and optional website deploy statusattache-commentjob conditions in PR and release-branch documentation deploy workflows to post a comment when artifact deploy failsPACKAGES_DS/MATRIX) when generating preview linksWhat/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