Skip to content

Test delayed entity dispatch through the current Spigot backend - #127

Open
BenCodez wants to merge 1 commit into
mainfrom
test/delayed-entity-contract
Open

BenCodez wants to merge 1 commit into
mainfrom
test/delayed-entity-contract

Conversation

@BenCodez

@BenCodez BenCodez commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Add one deterministic contract test for the existing delayed-entity facade using the actual FoliaLib 0.5.1 Spigot backend. A valid non-player entity with a two-second delay must enqueue exactly once at 40 ticks, avoid inline execution, and invoke the captured callback once without requeue.

This is focused coverage for the current backend after the dependency upgrade. Main now separately contains DelayedEntitySchedulingTest, which exercises the default FoliaLib options. This additional case explicitly enables entity-validity checking and verifies no extra native interaction after the callback; it does not remove or replace the suite on main. Production code, dependency versions and public APIs are unchanged.

Validation on de7ae648d4963b0b6a0f9831b7c824e99169c93d:

  • Focused test: 1 passed. A temporary opposing overload-cycle mutation failed at a fixed 33-entry bound; the test source was restored byte-for-byte before the final package build.
  • JDK 21 offline Maven package: 468 ordinary tests, zero failures/errors, one optional MQTT skip; three full-artifact checks and one shared-artifact check passed.
  • Full/shared/shared-sources inspected; test classes are absent, and shared artifacts exclude scheduler/platform packages. Shared loader linked 60 neutral classes. Diff whitespace checks passed.
  • Independent read-only review approved the exact test tree and checked the real backend delegation and bounded negative-control evidence.

No live server or native Folia acceptance is claimed. This test-only draft is separate from YAML API and metrics lifecycle changes.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 82b8bd4f-be1f-42d8-a1d7-1494680c0fa0
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@BenCodez
BenCodez marked this pull request as ready for review November 24, 2026 23:58
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-25T00:00:31.345245Z de7ae64 Draft marked ready
🔒 Security Review ✅ Completed 2026-11-25T00:01:12.807159Z de7ae64 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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