Skip to content

[repo-assist] Fix accessibility review app startup #1424

Description

@github-actions

Caution

Protected files were modified in this change.
This pull request is in request_review mode and requires explicit human scrutiny before merge.

Protected files: .github/workflows/accessibility-review.lock.yml, .github/workflows/accessibility-review.md

🤖 This is an automated PR from Repo Assist.

Closes the requested resolution from discussion #1407.

Root cause

The accessibility-review workflow's app-startup step was still a placeholder, so the agent could not reliably reach the application at localhost:3000.

Changes

  • Restore the solution with the public NuGet feed configuration.
  • Install and build the frontend with the checked-in npm lockfile.
  • Build the Release .NET solution without rebuilding the frontend.
  • Start the application in the background on 127.0.0.1:3000.
  • Remove the obsolete workflow self-repair instructions and recompile the generated lock workflow.

Test Status

  • gh aw compile .github/workflows/accessibility-review.md — passed with 0 warnings.
  • gh aw validate .github/workflows/accessibility-review.md — passed.
  • actionlint was attempted on the generated workflow but exited 125 due to a tooling error reported by the compiler CLI, not a workflow validation failure.
  • git diff --check — passed.

Note

This was originally intended as a pull request, but the git push operation failed.

Original error: The process '/usr/bin/git' failed with exit code 1

Workflow Run: View run details and download bundle artifact

The bundle file is available in the agent artifact in the workflow run linked above.

Create the pull request manually
# Download the artifact from the workflow run
gh run download '36226100101' -n agent -D '/tmp/agent-36226100101'

# Resolve the bundle source ref, fetch it into a temporary ref, then create the local branch
bundle_path='/tmp/agent-36226100101/aw-intellitect-essentialcsharp.web-repo-assist-fix-discussion-1407-accessibility-startup.bundle'
temp_ref='refs/bundles/create-pr-repo-assist-fix-discussion-1407-accessibility-startup-3515c66d885e28a3-3fc379de'
target_ref='refs/heads/repo-assist/fix-discussion-1407-accessibility-startup-3515c66d885e28a3'
bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 ~ /^refs\/heads\// { print $2 }')
if [ -z "$bundle_source_ref" ]; then
  bundle_source_ref=$(git bundle list-heads "$bundle_path" | awk '$2 == "HEAD" { print $2 }')
fi
if [ "$(printf '%s\n' "$bundle_source_ref" | sed '/^$/d' | wc -l | tr -d ' ')" != "1" ]; then
  echo "Expected exactly one bundle source ref, found: $bundle_source_ref" >&2
  exit 1
fi
git fetch "$bundle_path" "${bundle_source_ref}:${temp_ref}"
git update-ref "$target_ref" "$temp_ref"
git checkout 'repo-assist/fix-discussion-1407-accessibility-startup-3515c66d885e28a3'
# Ensure the working tree matches the updated branch
git reset --hard
# Remove the temporary bundle ref
git update-ref -d "$temp_ref"

# Push the branch to the target remote
git push 'origin' 'repo-assist/fix-discussion-1407-accessibility-startup-3515c66d885e28a3'

# Create the pull request
gh pr create --title '[repo-assist] Fix accessibility review app startup' --base 'main' --head 'repo-assist/fix-discussion-1407-accessibility-startup-3515c66d885e28a3' --repo 'IntelliTect/EssentialCSharp.Web'

Generated by 🌈 Repo Assist, see workflow run. Learn more.
Comment /repo-assist to run again

Add this agentic workflow to your repo

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@4bc8419fad05e6b032741cbfd189986700bcf71c

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions