Repository navigation
fix: problems found by an end-to-end test against the NodeRings API - #18
Merged
Merged
Conversation
Tested 0.1.1 from npm in a new create-app 1.57 app against production: entity routes, power actions, snapshots, the UI, and the scaffolder actions with a real server and a real DNS zone. - backend: list DNS records 100 per page; the API rejects more, so the DNS table on the entity tab always failed with 400. The fake API in the tests now enforces the same limit. - scaffolder dns:record:upsert: look up and write the zone-relative name. A full name (www.example.com.) missed the existing record set, so allowOverwrite was bypassed. Compare values the way the API stores them (quoted TXT, CNAME/MX with a final dot, compressed IPv6), so a rerun with the same values no longer fails with a conflict. - frontend: long tags (backstage-<namespace>-<kind>-<name>) pushed the power buttons out of view. Tags move to the row's detail panel, the card drops the tag and provider columns, and tags are cut with an ellipsis and a tooltip. - backend: show a snapshot's operation status (pending, processing, failed) until it has completed, instead of "active". - backend: the unauthenticated /health route no longer returns the NodeRings organization name. - README: apps from create-app 0.9 quarantine packages for three days; explain npmPreapprovedPackages. - docs screenshots retaken with the new layout. Signed-off-by: Shaygun <17057583+shaygun@users.noreply.github.com>
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.
Ran 0.1.1 from npm in a new
@backstage/create-app(Backstage 1.57) app against the production NodeRings API, then retested the fixes against production from this branch.What was tested against production
npmMinimalAgeGate: 3d) → README note/health, entity list by tag and by ids, one VM, snapshots, 400/404/401 paths, ownership checknoderings:vm:createdry run and real order (SC-GC-1C-1G-20, Ashburn, 30 s to running),catalog-info.yamlnoderings:vm:delete: wrong hostname, VM withoutbackstage-tag, real deletenoderings:dns:record:upsertallowOverwrite→ fixedThe test server, its snapshot and all test DNS records were deleted afterwards.
Changes
pageSize > 100like the real one, and a new test pages through 150 records (it fails with the old value).noderings:dns:record:upsert: reads the zone name and works with the zone-relative name (www,@,www.example.com,www.example.com.all work); values are compared normalised per type (TXT quotes, CNAME/MX final dot and case, IPv6 compression). Outputnameis now the zone-relative name.pending/processing/faileduntil the operation has completed./healthreturns only{ ok }.Checks run locally:
tsc,lint:all,prettier --check,repo fix --publish --check,test:all(117 passed).