Skip to content

fix: restore smart-vercel yaml comment output#29

Merged
fewensa merged 1 commit intomainfrom
ohh-26-smart-vercel-comment-format
Mar 24, 2026
Merged

fix: restore smart-vercel yaml comment output#29
fewensa merged 1 commit intomainfrom
ohh-26-smart-vercel-comment-format

Conversation

@fewensa
Copy link
Copy Markdown
Collaborator

@fewensa fewensa commented Mar 24, 2026

Summary

  • restore smart-vercel preview comments to readable YAML-style list entries
  • stop percent-encoding multiline preview outputs before passing them to the sticky PR comment action
  • add a shell regression script for preview-entry formatting and link normalization

Testing

  • bash scripts/test-smart-vercel-comment-format.sh
  • git diff --check

Linear

  • OHH-26

Summary:
- switch preview comment rendering to a helper script that emits raw
  multiline YAML-style entries instead of percent-encoded text
- normalize preview links before exporting action outputs and keep optional
  preview section metadata in the rendered entry
- add a shell regression script covering yaml formatting and link
  normalization

Rationale:
- sticky PR comments should append readable list entries instead of literal
  %0A sequences after the output handling change from PR #28
- moving the formatter into a reusable script keeps the action logic small
  and gives the repo a deterministic regression target

Tests:
- bash scripts/test-smart-vercel-comment-format.sh
- git diff --check
@fewensa fewensa marked this pull request as ready for review March 24, 2026 08:16
@fewensa fewensa merged commit 761a23f into main Mar 24, 2026
6 checks passed
@fewensa fewensa deleted the ohh-26-smart-vercel-comment-format branch March 24, 2026 08:16
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.

1 participant