Skip to content

Run the linked inbound e2e test in CI #8155

Closed

Description

@senamakel

Parent: #8147

Summary

Run tests/inbound_linked_e2e.rs (and the other linked-module e2e tests) in a CI lane.

Problem

The inbound linked e2e — ingest, duplicate rejected, Deliver against the real module linked in-process — passes locally, but no CI lane runs linked tests, so a regression in the module/host seam would merge unnoticed. The release source used by CI covers the downloaded artifact, not this.

Solution

Add a CI job (CI Lite, triggered on changes under crates/openhuman-core/src/inbound/, crates/openhuman-core/src/modules/ or vendor/tinyeventqueues) that builds with the linked-modules dev feature and runs the linked e2e targets. It stays a test-only lane; product and release builds keep release modules only.

Acceptance criteria

  • Lane exists — the job runs inbound_linked_e2e on PRs touching those paths.
  • Proven — breaking the Deliver adapter makes the lane fail.
  • Isolation — the linked feature stays out of product builds (the linked-modules isolation check still passes).

Related

Part of #8147. Builds on #8136 (inbound domain, tinyeventqueues v0.1.2) and tinyhumansai/tinyeventqueues#6.

Audit findings (2026-10-20)

  • What already runs in CI: the real module is statically linked as a core dev-dependency (crates/openhuman-core/Cargo.toml:538-541, static-link). So inbound/linked_fixture.rs and the Composio/webhook tests do run in the normal cargo test lanes.
  • What does not: tests/inbound_linked_e2e.rs has required-features = ["linked-modules", "inbound-queues"] (crates/openhuman-cli/Cargo.toml:89-91), and nothing in .github/workflows enables linked-modules.
  • Isolation guards: scripts/ci/check-crate-chain.mjs, check-feature-forwarding.mjs, check-module-boundaries.mjs with module-boundaries.json, and check-ci-module-source.mjs. They run as lanes in scripts/ci/self-hosted/lanes-plan.mjs:208-235 (ci-lanes.yml).
  • Related trackers: Epic: test ownership — move module-behaviour tests to their tiny* repos, delete duplicates and coverage padding #8089 (test ownership) and Epic: Cross-platform module testing #7335 (cross-OS e2e for every TinyBus module).

Agent brief

Depends on: none · Blocks: none · Parallel with: senamakel#514, #8154

Research first

  • Whether check-ci-module-source.mjs permits a test-only lane with linked source, or needs an explicit allowlist entry.

Files to consider

  • Read: scripts/ci/self-hosted/lanes-plan.mjs:200-240, .github/workflows/ci-lanes.yml, scripts/ci/check-ci-module-source.mjs, crates/openhuman-cli/Cargo.toml:85-95,340-350,475-480
  • Change: lanes-plan.mjs (new lane), the check scripts' allowlists if needed, scripts/__tests__/ for the lane plan
  • Tests: scripts/__tests__/lanes-plan*.test.mjs

Workflow: test-to-green.

Subagents: tdd-implementer (Sonnet), then code-reviewer.

Gates: pnpm test:scripts · node scripts/ci/check-ci-module-source.mjs · cargo test -p openhuman-cli --test inbound_linked_e2e --features linked-modules,inbound-queues

Activity

  1. added
    subtask
    task
    infra-ci-release
    on Oct 20, 2026
  2. self-assigned this
    on Nov 9, 2026
  3. CodeGhost21 commented on Nov 11, 2026

    @CodeGhost21
    Member

    Picking this up: draft in #8668. The linked e2e was renamed to inbound_module_e2e (staged release) in cb5af87, but it still never ran. rust-coverage.sh skips it because e2e-test-support isn't a product gate, and test-rust-e2e.sh would hit Cargo's required-features error on it. #8668 adds a path-gated inbound-e2e hosted lane. One gap: the current test covers admission only, so a broken Deliver adapter won't fail it yet. Extending it through Deliver is noted as a follow-up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

infra-ci-releasesubtasktask

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions