Verify the imported catalog end to end #23
Labels
No labels
automerge
bug
dependencies
duplicate
help wanted
invalid
lang
rust
migrations
opencode
question
security
type
documentation
type
enhancement
type
maintenance
type
refactor
vulnerability
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
#24 Make Forgejo discovery resilient and continuously refreshed
Personal/backstage
#28 Support repository-owned catalog metadata
Personal/backstage
#30 Establish a secure, persistent hosted deployment
Personal/backstage
Reference
Personal/backstage#23
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Confirm that generated catalog files produce the expected usable catalog through the authenticated Backstage API and browser.
Acceptance criteria
recurring-events-api.References
examples/services.yaml,app-config.yaml,scripts/sync-forgejo-catalog.mjs, and the catalog verification item inTODO.md.Phase
1 — Trustworthy foundation
Implemented in #35 (
test/verify-catalog-23), which closes this issue on merge.What changed
packages/app/e2e-tests/catalog-api.test.ts: guest sign-in, then authenticated reads from/api/catalog/entities/by-name/...asserting project slug,user:default/martinownership,personal-servicesmembership, and repository/service links fortoolbox,martials-no, and the system.packages/app/e2e-tests/catalog-browser.test.ts: browser sign-in, component link checks, and navigation from the API list to the rendered OpenAPI definition.packages/app/e2e-tests/fixtures/catalogand aCATALOG_DIRoverride inapp-config.yaml; the PlaywrightwebServersets it to the fixtures, so the suite needs no Forgejo token or live data.E2E_CATALOG_DIRselects another catalog.recurring-events-apiembeds its OpenAPI definition and resolvesapiProvidedBy/providesApiagainstcomponent:default/recurring-events.README.md#catalog-verification.Catalog data fixed while verifying
martin/*toPersonal/*;examples/forgejo-repos.yamlwas regenerated.user:default/martin; the formerowner: martinresolved to a nonexistent group.Personal/recurring-eventsonmain.Validation (run in
nix develop)yarn prettier:check— passyarn lint:all— passyarn tsc— passyarn test:ci --runInBand— 1 suite / 1 test passyarn build:backend— passyarn test:e2e --reporter=line— 5 passed (app + 2 API + 2 browser)The Nix dev shell now provides Chromium and exports
PLAYWRIGHT_CHROMIUM_EXECUTABLE_PATH, so the browser checks run on NixOS.