Skip to content

[Safe Outputs Conformance] USE-003: Multiple handlers missing 🎭 emoji in staged mode preview #22468

@github-actions

Description

@github-actions

Conformance Check Failure

Check ID: USE-003
Severity: LOW
Category: Usability

Problem Description

Three handlers implement staged mode but are missing the required 🎭 emoji in their staged mode preview output. The Safe Outputs specification requires this emoji as a visual indicator to distinguish staged (dry-run) output from live output, helping users and reviewers quickly identify that no real side effects have occurred.

Affected Components

  • actions/setup/js/create_pr_review_comment.cjs
  • actions/setup/js/safe_output_helpers.cjs
  • actions/setup/js/submit_pr_review.cjs
🔍 Current vs Expected Behavior

Current Behavior

These handlers produce staged mode output (dry-run previews) but omit the 🎭 emoji prefix/marker. Staged output looks similar to live output, making it harder to distinguish at a glance.

Expected Behavior

Per USE-003 of the Safe Outputs specification, all staged mode previews MUST include the 🎭 emoji as a visual indicator. The typical pattern is to prefix the staged output title or summary with 🎭 (e.g., 🎭 [STAGED] Create PR Review Comment).

Remediation Steps

This task can be assigned to a Copilot coding agent with the following steps:

  1. Open each affected file and locate the staged mode branch (typically an if (staged) or if (core.getInput('staged') === 'true') block).
  2. Add the 🎭 emoji to the staged mode summary, title, or preview message string.
  3. Check safe_output_helpers.cjs first — if it provides a shared staged-mode helper, fixing it there may resolve the issue in all dependent handlers.
  4. Verify the emoji appears in the correct position per the specification (typically at the start of the preview header).
  5. Run the conformance checker to verify all three handlers pass USE-003.

Verification

After remediation, verify the fix by running:

bash scripts/check-safe-outputs-conformance.sh

All three handlers should pass USE-003 without errors.

References

  • Safe Outputs Specification: docs/src/content/docs/reference/safe-outputs-specification.md
  • Conformance Checker: scripts/check-safe-outputs-conformance.sh
  • Run ID: §23449847592
  • Date: 2026-03-23

Generated by Daily Safe Outputs Conformance Checker ·

  • expires on Mar 24, 2026, 5:07 PM UTC

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions