Skip to content

Conversation

@priethor
Copy link
Contributor

What

Adds a not_registerd property to the internal entity subschema.

Why

When listing a SCF entity through the abilities that is not actually registered (e.g., due to a duplicated slug), the entity is returned with the not_registered property, and the schema validation fails.

Steps to reproduce

  1. Duplicate a post type so that it has the same slug and a different SCF key, so that the copy will not be registered
  2. Use the Ability to list post types; it will fail on trunk but work on this branch

@priethor priethor self-assigned this Nov 12, 2025
@priethor priethor added the [Type] Bug Something isn't working label Nov 12, 2025
@codecov
Copy link

codecov bot commented Nov 12, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 1.17%. Comparing base (41a727c) to head (97f29e1).
⚠️ Report is 2 commits behind head on trunk.

Additional details and impacted files
@@           Coverage Diff           @@
##             trunk    #234   +/-   ##
=======================================
  Coverage     1.17%   1.17%           
  Complexity    4416    4416           
=======================================
  Files          261     261           
  Lines        27017   27017           
=======================================
  Hits           318     318           
  Misses       26699   26699           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props priethor.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@priethor priethor merged commit bf37e58 into trunk Nov 12, 2025
8 of 9 checks passed
@priethor priethor deleted the fix/missing-regsitered-status-in-internal-schema branch November 26, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants