Skip to content

fix(core): distinguish inline error recommendations - #663

Closed
marcschier wants to merge 2 commits into
xregistry:mainfrom
marcschier:fix/spec-579-inline-error-guidance
Closed

marcschier wants to merge 2 commits into
xregistry:mainfrom
marcschier:fix/spec-579-inline-error-guidance

Conversation

@marcschier

Copy link
Copy Markdown
Contributor

Fixes #579

Recommend inline_noninlineable for known non-inlineable attributes and bad_inline for malformed or unknown paths. Preserve rejection requirements and Error Processing's permission to choose a more appropriate or custom error.

Validation: focused source/catalog regressions went from 1 failed / 4 passed to 5 passed; full tools suite: 72 passed. Explicit Core file/local-link checks, repository spelling (including added text), whitespace, error catalog, backticks, and href checks passed. Local tests used Python 3.13 with isolated aiohttp 3.14.3; repository dependency pins are unchanged.

The regressions check actual specification text, accepted/rejected path examples, catalog identity/arguments, and error-choice discretion. They are not server implementation conformance tests.

Release note: Clarify recommended inline error diagnostics without changing valid request behavior.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
@marcschier

Copy link
Copy Markdown
Contributor Author

Superseded by xregistry/spec#723 (bundle B). The selected substantive changes at reviewed head 07538a8 are mapped in those replacement descriptions, with this original discussion and issue provenance retained.

Specification-text assertions and synthetic policy-test Python were deliberately omitted; qualifying real-artifact checks were retained or pruned as documented. Unmodified baseline Python and historical source branches are preserved.

Verified immediately before closing: xregistry/spec#723 at 1866531: verify and DCO both passed.

Closing only this fully superseded original. Separate d/e proposals remain open, and no source branch is deleted.

@marcschier marcschier closed this Sep 15, 2026
marcschier added a commit to marcschier/xregistry-drafts that referenced this pull request Sep 23, 2026
Use the exact merged bad_inline sentence from xregistry#731. This removes the remainder of the old xregistry#663 diagnostic hunk, as requested in the two review threads, instead of retaining unnecessary rewording around the now-unified error.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
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.

Use consistent recommended errors for non-inlineable attributes

1 participant