Skip to content

test: validating automated test suite - #941

Closed
chittolinag wants to merge 7 commits into
mainfrom
feature/har-10522-test-ignore
Closed

test: validating automated test suite#941
chittolinag wants to merge 7 commits into
mainfrom
feature/har-10522-test-ignore

Conversation

@chittolinag

Copy link
Copy Markdown
Contributor

No description provided.

@caio-pizzol caio-pizzol changed the title Validating automated test suite test: validating automated test suite Sep 13, 2025
@chittolinag
chittolinag deleted the feature/har-10522-test-ignore branch September 17, 2025 21:01
superdoc-bot Bot pushed a commit that referenced this pull request Jul 29, 2026
Moving a demo or example directory breaks every GitHub link already
published, because GitHub only leaves redirects behind for repository
renames, not for paths inside a repository. Today the only fix is a stub
README left at the old path, and seven of those already exist.

This adds a `slug` field to catalog entries: the permanent public name a
demo is reachable by at go.superdoc.dev, independent of where its
source currently lives. It stays separate from `id` because `id` is the
internal catalog key and should stay free to follow section renames,
while a public slug cannot move without breaking links we do not control.

Slugs are opt-in, so nothing is published until it has earned a permanent
name, and 26 entries are named here to start. The validator rejects
duplicates, non-kebab-case names, names that would shadow a service
route, and slugs on entries we have deliberately withdrawn.

The service that serves those URLs is superdoc/linkkeeper, a separate
project. It reads these manifests directly, so publishing an example is
just the slug edit and there is no second list to keep in sync. The
workflow added here only tells it when the catalog changed, and it lives
in the public repo rather than in Orbit's export pipeline: the export
pushes straight to public main, so by then the manifests are already
public and the SHA is the exported one.

The catalog had no CI gate on this branch, so metadata validation now
runs in its own fast workflow rather than inside the demo build.

Note: this ports only the public subtree changes from a mixed source commit (12 public paths, 2 non-public paths ignored).

Ported-From-Source-Repo: superdoc/orbit
Ported-From-Source-Commit: ef3e82021629254753918e6b0ad8d9c3d54c0d4f
Ported-Public-Prefix: superdoc/public
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