Skip to content

IBX-12229: Added unified deptrac layers configuration - #2000

Draft
bnowak wants to merge 4 commits into
6.0from
IBX-12229-added-deptrac-layers-config
Draft

IBX-12229: Added unified deptrac layers configuration#2000
bnowak wants to merge 4 commits into
6.0from
IBX-12229-added-deptrac-layers-config

Conversation

@bnowak

@bnowak bnowak commented Aug 10, 2026

Copy link
Copy Markdown
Contributor
🎫 Issue IBX-12229

Related PRs:

Description:

PoC of the unified per-package deptrac layer model:

  • The former Bundle and Library layers are merged into a single Bundle layer.
  • The Contracts layer stays unchanged — public contracts, implementable by partners.
  • A new InternalContracts layer is introduced, backed by a dedicated src/internal-contracts/ directory. Internal contracts are implementable only by Ibexa packages.
  • A new Test layer covers tests/ — it may depend on all src layers, never the other way around.

Deptrac violations and a red deptrac CI job are expected at this stage — the goal is surfacing the current shape of the package against the target ruleset. There are no runtime code changes.

Note: the InternalContract marker attribute that was initially part of this PR has been removed (team decision) — the InternalContracts layer is collected from the dedicated directory only.

For QA:

Config/CI-only change — nothing to test functionally.

Documentation:

No client-facing impact to document.

bnowak and others added 3 commits August 11, 2026 09:07
@bnowak
bnowak force-pushed the IBX-12229-added-deptrac-layers-config branch from 0e6a731 to c769a23 Compare August 11, 2026 07:07
Team decision: the attribute-based collection mechanism will not be used.
The InternalContracts layer remains, collected from the dedicated
src/internal-contracts/ directory (kept via .gitkeep); Bundle collectors
simplified back to plain directory collectors.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

4 participants