Force redirect to open-workflow-specification.org#268
Open
ricardozanini wants to merge 1 commit into
Open
Conversation
ricardozanini
force-pushed
the
fix-redirect-force
branch
2 times, most recently
from
July 21, 2026 19:19
1824ab0 to
3a81ee8
Compare
Keep schemas served locally for backward compatibility. Everything else redirects to open-workflow-specification.org. Signed-off-by: Ricardo Zanini <ricardozanini@gmail.com>
ricardozanini
force-pushed
the
fix-redirect-force
branch
from
July 21, 2026 19:24
3a81ee8 to
6cc43eb
Compare
There was a problem hiding this comment.
Pull request overview
This PR changes the Netlify deployment to force a site-wide 301 redirect from serverlessworkflow.io to open-workflow-specification.org (while preserving legacy /schemas/* routes locally). It also restructures the repository to publish a static static/ directory instead of building the prior Astro site.
Changes:
- Add forced catch-all redirect in
netlify.toml, plus 200 rewrites to keep schema URLs working. - Publish a static site (
static/) including a simplestatic/index.html“moved” landing page. - Add/restore legacy schema files under
static/schemas/*and remove the Astro site source/build/tooling and associated content.
Reviewed changes
Copilot reviewed 94 out of 212 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tsconfig.json | Removed TypeScript config (Astro app removal). |
| static/schemas/0.9/workflowextensions.json | Added legacy 0.9 extensions schema. |
| static/schemas/0.9/timeouts.json | Added legacy 0.9 timeouts schema. |
| static/schemas/0.9/secrets.json | Added legacy 0.9 secrets schema. |
| static/schemas/0.9/retries.json | Added legacy 0.9 retries schema. |
| static/schemas/0.9/odata.json | Added legacy 0.9 OData schema. |
| static/schemas/0.9/functions.json | Added legacy 0.9 functions schema. |
| static/schemas/0.9/extensions/ratelimiting.json | Added legacy 0.9 rate-limiting extension schema. |
| static/schemas/0.9/events.json | Added legacy 0.9 events schema. |
| static/schemas/0.9/errors.json | Added legacy 0.9 errors schema. |
| static/schemas/0.9/common.json | Added legacy 0.9 common definitions schema. |
| static/schemas/0.9/auth.json | Added legacy 0.9 auth schema. |
| static/schemas/0.8/timeouts.json | Added legacy 0.8 timeouts schema. |
| static/schemas/0.8/secrets.json | Added legacy 0.8 secrets schema. |
| static/schemas/0.8/retries.json | Added legacy 0.8 retries schema. |
| static/schemas/0.8/odata.json | Added legacy 0.8 OData schema. |
| static/schemas/0.8/functions.json | Added legacy 0.8 functions schema. |
| static/schemas/0.8/extensions/ratelimiting.json | Added legacy 0.8 rate-limiting extension schema. |
| static/schemas/0.8/events.json | Added legacy 0.8 events schema. |
| static/schemas/0.8/errors.json | Added legacy 0.8 errors schema. |
| static/schemas/0.8/common.json | Added legacy 0.8 common definitions schema. |
| static/schemas/0.8/auth.json | Added legacy 0.8 auth schema. |
| static/schemas/0.7/timeouts.json | Added legacy 0.7 timeouts schema. |
| static/schemas/0.7/secrets.json | Added legacy 0.7 secrets schema. |
| static/schemas/0.7/retries.json | Added legacy 0.7 retries schema. |
| static/schemas/0.7/odata.json | Added legacy 0.7 OData schema. |
| static/schemas/0.7/functions.json | Added legacy 0.7 functions schema. |
| static/schemas/0.7/extensions/ratelimiting.json | Added legacy 0.7 rate-limiting extension schema. |
| static/schemas/0.7/extensions/kpi.json | Added legacy 0.7 KPI extension schema. |
| static/schemas/0.7/events.json | Added legacy 0.7 events schema. |
| static/schemas/0.7/errors.json | Added legacy 0.7 errors schema. |
| static/schemas/0.7/common.json | Added legacy 0.7 common definitions schema. |
| static/schemas/0.7/auth.json | Added legacy 0.7 auth schema. |
| static/schemas/0.6/retries.json | Added legacy 0.6 retries schema. |
| static/schemas/0.6/functions.json | Added legacy 0.6 functions schema. |
| static/schemas/0.6/extensions/kpi.json | Added legacy 0.6 KPI extension schema. |
| static/schemas/0.6/events.json | Added legacy 0.6 events schema. |
| static/schemas/0.6/common.json | Added legacy 0.6 common definitions schema. |
| static/schemas/0.5/retries.json | Added legacy 0.5 retries schema. |
| static/schemas/0.5/functions.json | Added legacy 0.5 functions schema. |
| static/schemas/0.5/extensions/kpi.json | Added legacy 0.5 KPI extension schema. |
| static/schemas/0.5/events.json | Added legacy 0.5 events schema. |
| static/schemas/0.5/common.json | Added legacy 0.5 common definitions schema. |
| static/index.html | Added static “moved” page. |
| src/utils/formatter.ts | Removed (Astro app removal). |
| src/utils/collections.ts | Removed (Astro app removal). |
| src/styles/site.css | Removed (Astro app removal). |
| src/pages/spec/1.0.0/errors/[...id].astro | Removed SSR endpoint/page. |
| src/pages/rss.xml.js | Removed RSS endpoint. |
| src/pages/robots.txt.ts | Removed robots.txt endpoint. |
| src/pages/community.astro | Removed community page. |
| src/pages/blog/index.astro | Removed blog index page. |
| src/pages/blog/[group].astro | Removed blog grouping page. |
| src/pages/blog/[...slug].astro | Removed blog post page. |
| src/layouts/SidebarLayout.astro | Removed layout component. |
| src/layouts/Layout.astro | Removed base layout component. |
| src/content/spec/1.0.0/errors/validation.json | Removed spec error content. |
| src/content/spec/1.0.0/errors/timeout.json | Removed spec error content. |
| src/content/spec/1.0.0/errors/runtime.json | Removed spec error content. |
| src/content/spec/1.0.0/errors/expression.json | Removed spec error content. |
| src/content/spec/1.0.0/errors/configuration.json | Removed spec error content. |
| src/content/spec/1.0.0/errors/communication.json | Removed spec error content. |
| src/content/spec/1.0.0/errors/authorization.json | Removed spec error content. |
| src/content/spec/1.0.0/errors/authentication.json | Removed spec error content. |
| src/content/examples/wait.md | Removed examples content. |
| src/content/examples/try.md | Removed examples content. |
| src/content/examples/switch.md | Removed examples content. |
| src/content/examples/subflow.md | Removed examples content. |
| src/content/examples/script.md | Removed examples content. |
| src/content/examples/raise.md | Removed examples content. |
| src/content/examples/open-api.md | Removed examples content. |
| src/content/examples/listen.md | Removed examples content. |
| src/content/examples/http.md | Removed examples content. |
| src/content/examples/grpc.md | Removed examples content. |
| src/content/examples/fork.md | Removed examples content. |
| src/content/examples/for.md | Removed examples content. |
| src/content/examples/emit.md | Removed examples content. |
| src/content/examples/container.md | Removed examples content. |
| src/content/examples/async-api.md | Removed examples content. |
| src/content/blog/releases/release-synapse-1.0.0-alpha5.2.md | Removed blog content. |
| src/content/blog/releases/release-sdk-typescript-legacy.md | Removed blog content. |
| src/content/blog/releases/release-sdk-typescript-1.0.1.md | Removed blog content. |
| src/content/blog/releases/release-sdk-typescript-1.0.0-alpha5.md | Removed blog content. |
| src/content/blog/releases/release-sdk-rust.md | Removed blog content. |
| src/content/blog/releases/release-sdk-java-7.2.0.md | Removed blog content. |
| src/content/blog/releases/release-sdk-java-7.1.0.md | Removed blog content. |
| src/content/blog/releases/release-sdk-java-7.0.0.md | Removed blog content. |
| src/content/blog/releases/release-sdk-java-7.0.0-alpha5.md | Removed blog content. |
| src/content/blog/releases/release-sdk-java-7.0.0-alpha5.1.md | Removed blog content. |
| src/content/blog/releases/release-sdk-java-7.0.0-alpha1.md | Removed blog content. |
| src/content/blog/releases/release-sdk-go-4.0.0.md | Removed blog content. |
| src/content/blog/releases/release-sdk-go-3.0.0.md | Removed blog content. |
| src/content/blog/releases/release-1.0.0.md | Removed blog content. |
| src/content/blog/releases/release-1.0.0-alpha5.md | Removed blog content. |
| src/content/blog/releases/release-1.0.0-alpha4.md | Removed blog content. |
| src/content/blog/releases/release-1.0.0-alpha3.md | Removed blog content. |
| src/content/blog/releases/release-1.0.0-alpha1.md | Removed blog content. |
| src/content/blog/general/visit-to-huawei.md | Removed blog content. |
| src/content/blog/general/announcing-rename-to-open-workflow-specification.md | Removed blog content. |
| src/content/blog/events/serverless-workflow-at-fosdem-2025.md | Removed blog content. |
| src/content/blog/events/serverless-workflow-at-fosdem-2025-recording.md | Removed blog content. |
| src/content.config.ts | Removed content collections config. |
| src/consts.ts | Removed constants for site content. |
| src/components/ThemeIcon.astro | Removed component. |
| src/components/Sidebar.astro | Removed component. |
| src/components/Section.astro | Removed component. |
| src/components/HtmlHead.astro | Removed component. |
| src/components/Header.astro | Removed component. |
| src/components/FormattedDate.astro | Removed component. |
| src/components/Footer.astro | Removed component. |
| src/components/Card.astro | Removed component. |
| src/components/BlogPostsList.astro | Removed component. |
| README.md | Removed repository README. |
| public/img/logos/redhat.svg | Removed static asset. |
| public/img/logos/lf-stacked-white.svg | Removed static asset. |
| public/img/logos/lf-stacked-color.svg | Removed static asset. |
| public/img/logos/foxflow.svg | Removed static asset. |
| public/icons/manifest.json | Removed web manifest. |
| public/icons/browserconfig.xml | Removed browser config. |
| public/_redirects | Removed redirects file (replaced by netlify.toml). |
| public/_headers | Removed Netlify headers file. |
| package.json | Removed Node/Astro project manifest. |
| netlify.toml | Updated to publish static/, add schema rewrites, and force redirect. |
| Dockerfile | Removed dev container build. |
| docker-compose.yaml | Removed local dev compose setup. |
| CONTRIBUTING.md | Removed contribution guide. |
| astro.config.mjs | Removed Astro configuration. |
| .vscode/launch.json | Removed editor config. |
| .vscode/extensions.json | Removed editor config. |
| .nvmrc | Removed Node version pin. |
| .netlify/v1/config.json | Removed Netlify local config. |
| .gitpod.yml | Removed Gitpod config. |
| .gitignore | Removed ignore rules. |
| .github/PULL_REQUEST_TEMPLATE.md | Removed PR template. |
| .github/OWNERS | Removed OWNERS config. |
| .github/ISSUE_TEMPLATE/website.md | Removed issue template. |
| .github/ISSUE_TEMPLATE/feature.yml | Removed issue template. |
| .github/ISSUE_TEMPLATE/config.yml | Removed issue template config. |
| .github/ISSUE_TEMPLATE/bug.yml | Removed issue template. |
| .github/CODEOWNERS | Removed CODEOWNERS file. |
| .dockerignore | Removed docker ignore rules. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+22
to
+26
| [[redirects]] | ||
| from = "/*" | ||
| to = "https://open-workflow-specification.org/:splat" | ||
| status = 301 | ||
| force = true |
Comment on lines
1
to
+3
| [build] | ||
| command = "npm run build" | ||
| publish = "dist" No newline at end of file | ||
| command = "echo 'Static site, no build needed'" | ||
| publish = "static" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
_redirectsfile catch-all from #267 doesn't work for known routes because the Astro SSR adapter handles them before Netlify processes_redirects.This adds the redirect in
netlify.tomlwithforce = true, which takes precedence over SSR.Test plan
serverlessworkflow.ioreturns 301 toopen-workflow-specification.orgserverlessworkflow.io/blog/foo→open-workflow-specification.org/blog/foo