Skip to content

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

Merged
bnowak merged 5 commits into
6.0from
IBX-12229-added-deptrac-layers-config
Aug 26, 2026
Merged

IBX-12229: Added unified deptrac layers configuration#2000
bnowak merged 5 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
bnowak force-pushed the IBX-12229-added-deptrac-layers-config branch from 0e6a731 to c769a23 Compare August 11, 2026 07:07
@bnowak
bnowak force-pushed the IBX-12229-added-deptrac-layers-config branch 2 times, most recently from 0ec116a to 58babce Compare August 13, 2026 09:37
@bnowak
bnowak marked this pull request as ready for review August 13, 2026 11:10
@bnowak
bnowak requested a review from a team August 13, 2026 11:10
bnowak and others added 5 commits August 26, 2026 12:08
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…out v7

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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>
@bnowak
bnowak force-pushed the IBX-12229-added-deptrac-layers-config branch from 6ece82e to f0c9b00 Compare August 26, 2026 10:10
@sonarqubecloud

Copy link
Copy Markdown

@bnowak
bnowak merged commit 622152f into 6.0 Aug 26, 2026
24 checks passed
@bnowak
bnowak deleted the IBX-12229-added-deptrac-layers-config branch August 26, 2026 11:22
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.

6 participants