-
Notifications
You must be signed in to change notification settings - Fork 85
Export WorkflowAPIError and refactor step handler into separate file #253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…k handlers Co-authored-by: pranaygp <1797812+pranaygp@users.noreply.github.com>
Co-authored-by: pranaygp <1797812+pranaygp@users.noreply.github.com>
Addresses two TODO items identified in the codebase.
Export WorkflowAPIError from public API
WorkflowAPIErrorwas previously not exported fromworkflow/api, forcing hook handlers to blindly return 404 for allgetHookByTokenerrors:Changes:
WorkflowAPIErrorfrompackages/core/src/runtime.tsandpackages/workflow/src/api.tsExtract step handler to dedicated file
Moved ~300 lines of step execution logic from
runtime.tsintoruntime/step-entrypoint.ts, reducing file size and improving organization. ExportsstepEntrypointandrunStepfrom the new location.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
fonts.googleapis.com/usr/local/bin/node /home/REDACTED/work/workflow/workflow/node_modules/.pnpm/next@15.5.4_@opentelemetry+api@1.9.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/next/dist/compiled/jest-worker/processChild.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.