Skip to content

docs: name the 110 tests that cannot pass here, and who owns them - #12

Merged
Snider merged 1 commit into
mainfrom
docs/misfiled-tests
Aug 8, 2026
Merged

docs: name the 110 tests that cannot pass here, and who owns them#12
Snider merged 1 commit into
mainfrom
docs/misfiled-tests

Conversation

@Snider

@Snider Snider commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

110 of the Module suite's failures are not defects in this package. They are tests referencing classes owned by other packages — and every one of those packages already requires dappcore/php:

dappcore/php-tenant  requires  dappcore/php: *
dappcore/agent       requires  dappcore/php: *

So no dependency could make them pass here. They cannot be fixed inside this repository by any amount of work — they need to move to the repository that owns what they test. Naming them is the only useful thing this repo can do with them.

By owner

owner failures files classes
dappcore/php-tenant 82 13 Core\Tenant\Models\User (78), Core\Tenant\Rules\ResourceStatusRule (4)
dappcore/agent 25 1 Core\Agentic\Services\AgentDetection, Core\Agentic\Support\AgentIdentity
host.uk.com 3 1 Website\Host\Mail\ContactFormSubmission

The agent one is wrong twice. It names Core\Agentic\Services\AgentDetection, while the class actually lives at Core\Mod\Agentic\Services in dappcore/agent — a namespace the ecosystem has moved away from, in a package that cannot be depended on from here. Correcting the namespace alone would not make it pass.

The host.uk.com one has no possible fix here at all. Website\Host\Mail\ContactFormSubmission lives in the application (app/Website/Host/Mail/), not in any package. A framework package testing its consumer's mailable.

A judgement left to their owners

Most of the php-tenant cases want a User only to authenticate a request. Where that is all they need, a fixture user this package owns is cheaper than moving the file; where the test genuinely exercises tenancy, it belongs in php-tenant. The note says so and stops there — that distinction is theirs to make, not mine to guess.

What this changes

Nothing executable. No code, no test moved, no test deleted — deleting them here would erase the findings their owners need, and the count would improve while the information was destroyed.

The module-debt job's comment now points at docs/misfiled-tests.md rather than repeating a summary that would drift from it.

python3 yaml.safe_load .github/workflows/tests.yml   valid
vendor/bin/pint --test                                pass

🤖 Generated with Claude Code
Co-Authored-By: Virgil virgil@lethean.io

110 of the Module suite's failures are not defects in this package. They are
tests referencing classes owned by other packages — and every one of those
packages already requires dappcore/php:

  dappcore/php-tenant  requires  dappcore/php: *
  dappcore/agent       requires  dappcore/php: *

So no dependency could make them pass here. They cannot be fixed inside this
repository by any amount of work; they need to move to the repository that owns
what they test. Naming them is the only useful thing this repo can do with them,
which is what docs/misfiled-tests.md does — by owner, by file, with counts.

  php-tenant    82 failures, 13 files   Core\Tenant\Models\User (78),
                                        Core\Tenant\Rules\ResourceStatusRule (4)
  agent         25 failures,  1 file    and wrong twice: it names
                                        Core\Agentic\Services\AgentDetection,
                                        while the class lives at
                                        Core\Mod\Agentic\Services — a namespace
                                        the ecosystem has moved away from, in a
                                        package that cannot be depended on from
                                        here. Fixing the namespace alone would
                                        not make it pass.
  host.uk.com    3 failures,  1 file    Website\Host\Mail\ContactFormSubmission
                                        lives in the application, not in any
                                        package. A framework package testing its
                                        consumer's mailable.

Most of the php-tenant ones want a User only to authenticate a request, and the
note says so: where that is all they need, a fixture user this package owns is
cheaper than moving the file. Where the test genuinely exercises tenancy, it
belongs in php-tenant. That distinction is theirs to make, not mine to guess.

The module-debt job's comment now points at the document rather than repeating a
summary that would drift from it.

No code changed. No test moved or deleted — deleting them here would erase the
findings their owners need.

  python3 yaml.safe_load .github/workflows/tests.yml   valid
  vendor/bin/pint --test                                pass

Co-Authored-By: Virgil <virgil@lethean.io>
@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@Snider, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 46 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 063768fd-1bbe-44d0-84a8-342b5fe969db

📥 Commits

Reviewing files that changed from the base of the PR and between 5551b59 and f235e7c.

📒 Files selected for processing (2)
  • .github/workflows/tests.yml
  • docs/misfiled-tests.md

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Snider
Snider merged commit 0efc237 into main Aug 8, 2026
13 of 14 checks passed
@Snider
Snider deleted the docs/misfiled-tests branch August 8, 2026 12:24
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