Skip to content

feat: auto-resolve latest version, modern log grouping, improved UX - #1

Merged
ruehowl merged 5 commits into
mainfrom
improve/ux-and-version-resolution
May 4, 2026
Merged

ruehowl merged 5 commits into
mainfrom
improve/ux-and-version-resolution

Conversation

@ruehowl

@ruehowl ruehowl commented May 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Version resolution: When version: latest (the default), the action now resolves the actual release tag via GitHub API before computing the cache key. Previously the cache key was orun-Linux-X64-latest which never invalidated.
  • Log grouping: All actions now use ::group::/::endgroup:: for clean collapsible output in the Actions UI. Key events are surfaced as ::notice:: annotations, failures as ::error:: with file-level targeting.
  • Job summaries: Plan, run, and validate actions write structured markdown summaries (tables, collapsible job ID lists) to the GitHub Step Summary.
  • Validate UX: Checks file existence before running orun, outputs valid=false (not just a hard failure), surfaces errors with file annotations.
  • Run UX: Captures actual exit code and reports proper failure status. Previously always reported status=success regardless.
  • Setup UX: Verifies the binary is callable after install and fails fast with a clear error message if not.
  • CI: Replaces the placeholder smoke test with real integration tests — installs latest on ubuntu/macOS, installs a pinned version, validates a test intent, and verifies missing-file rejection.

Test plan

  • CI passes lint job (YAML syntax + schema validation)
  • test-setup passes on ubuntu-latest and macos-latest (installs latest orun)
  • test-setup-pinned installs specific version v1.12.6
  • test-validate validates a well-formed intent file
  • test-validate-missing-file correctly rejects a non-existent file

varahul added 5 commits May 4, 2026 11:53
- Resolve `version: latest` to actual release tag via GitHub API before
  caching, fixing stale cache keys that never invalidated
- Add `::group::`/`::endgroup::` log grouping across all actions for
  clean collapsible output in the Actions UI
- Add `::notice::` and `::error::` annotations for key events
- Write structured job summaries (markdown tables) in plan, run, and
  validate actions
- Validate action: check file existence before running, surface errors
  with file-level annotations, output valid=false on failure
- Run action: capture exit code and report proper failure status instead
  of always reporting success
- Setup action: verify binary is actually callable after install, fail
  fast with clear error if not
- CI: add real integration tests (install latest, install pinned,
  validate pass, validate missing file) on ubuntu and macOS
GITHUB_PATH updates don't take effect within the same composite action
step set. Use the resolved install dir path directly.
orun binary may use different subcommands for version reporting.
Try both `version` and `--version`, extract semver pattern, fall back
to the resolved tag from the GitHub API.
Unauthenticated GitHub API calls hit rate limits on shared runners.
Use the workflow's GITHUB_TOKEN for the releases/latest lookup.
orun requires components to have a type field.
@ruehowl
ruehowl merged commit 205333c into main May 4, 2026
6 checks passed
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.

2 participants