Skip to content

Add mock server for GitHub actions runtime services#22

Merged
sebastianrath merged 9 commits intomainfrom
gh-mock-server
Feb 16, 2026
Merged

Add mock server for GitHub actions runtime services#22
sebastianrath merged 9 commits intomainfrom
gh-mock-server

Conversation

@sebastianrath
Copy link
Member

This PR adds a local mock server that mimics GitHub Actions runtime services (artifacts, caches, and OIDC tokens), so these can be used during debugging sessions.

When running workflows locally, GitHub Actions steps like @actions/upload-artifact, @actions/download-artifact etc fail because they require service endpoints of GH infrastructure.

The server is started automatically when debugging a graph via the web editor. Disclaimer, I used AI in multiple endpoints to help me understand the structure.

@sebastianrath sebastianrath merged commit d8cead4 into main Feb 16, 2026
9 checks passed
@sebastianrath sebastianrath deleted the gh-mock-server branch February 16, 2026 05:32
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