Skip to content

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

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

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

Conversation

@bnowak

@bnowak bnowak commented Aug 10, 2026

Copy link
Copy Markdown
🎫 Issue IBX-12229

Related PRs:

Description:

PoC of the unified per-package deptrac layer model:

  • Former Bundle and Library layers are merged into a single Bundle layer.
  • Contracts layer is unchanged — public contracts, implementable by partners.
  • New InternalContracts layer: a dedicated src/internal-contracts/ directory; internal contracts are implementable only by Ibexa packages.
  • New Test layer covering tests/ — it may depend on all src layers, never vice versa.
  • The previously orphaned deptrac.yaml is now actually wired up: the deptrac/deptrac dev dependency, the composer deptrac script and a CI job were added.

Deptrac violations / a red deptrac CI job are expected at this stage — the goal is surfacing the current shape of the package against the target ruleset.

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 — there is nothing to test functionally.

Documentation:

No client-facing impact to document.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
bnowak and others added 3 commits August 11, 2026 08:37
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>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

3 participants