[delight] UX Analysis Report — 2026-07-06 #43818
Closed
Replies: 1 comment
-
|
This discussion has been marked as outdated by Delight. A newer discussion is available at Discussion #44579. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
User Experience Analysis Report — 2026-07-06
Executive Summary
Today's analysis covered 2 documentation files, 2 workflow message configurations, and 1 validation file.
Overall Quality:⚠️ Needs Minor Work
Key Finding: The
ValidateIncludedPermissionserror message inpkg/workflow/permissions_validation.gouses a redundantERROR:prefix and an ambiguous header phrase, which increases diagnosis time for users encountering permission errors duringgh aw compile.Quality Highlights ✅
Cross-Repository Reference (
docs/src/content/docs/reference/cross-repository.md): Three clearly-labeled feature categories with working YAML examples for every scenario, a:::noteadmonition flagging safe-output limitations, and a comprehensive Related Documentation footer. Rating: ✅ ProfessionalPermissions Error Design (
pkg/workflow/permissions_validation.go—formatMissingPermissionsMessage): Two distinct resolution paths (add permissions vs. reduce toolsets) with copy-paste YAML snippets and a direct docs URL. Rating: ✅ (for this function)Improvement Opportunities 💡
High Priority —
pkg/workflow/permissions_validation.goIssue:
ValidateIncludedPermissions(line 338) opens with"ERROR: Imported workflows require permissions that are not granted in the main workflow."followed by"The permission set must be explicitly declared in the main workflow."TheERROR:prefix is redundant inside anerrorreturn value, and"the permission set"implies all permissions must be re-declared, not just the missing ones.Before:
After:
Medium Priority —
.github/workflows/necromancer.mdIssue: Line 69 —
"is exhuming regressions for this {event_type}..."usesexhuming(recovering buried things) to describe adding new regression tests. Developers unfamiliar with the zombie theme may read this as a bug-discovery signal rather than a prevention step, triggering unnecessary escalation.Before:
After:
Files Reviewed
docs/src/content/docs/reference/cross-repository.mddocs/src/content/docs/blog/2026-01-13-meet-the-workflows-continuous-simplicity.md.github/workflows/outcome-collector.md.github/workflows/necromancer.mdpkg/workflow/permissions_validation.goQuality Distribution: ✅ Professional: 3 ·⚠️ Needs Minor Work: 2 · ❌ Needs Significant Work: 0
🎯 Actionable Tasks
Task 1 —
pkg/workflow/permissions_validation.goSingle file:
pkg/workflow/permissions_validation.goRemove the
ERROR:prefix (line 338) and replace"The permission set must be explicitly declared"with"Add the missing permissions to your main workflow's frontmatter:". See Before/After above.ERROR:prefix removedTask 2 —
.github/workflows/necromancer.mdSingle file:
.github/workflows/necromancer.mdChange
"exhuming regressions"→"hunting regressions"inrun-started(line 69). See Before/After above.Beta Was this translation helpful? Give feedback.
All reactions