Skip to content

Enforce dependencies for acyclic source components - #8278

Merged
Amaury Chamayou (achamayou) merged 1 commit into
mainfrom
achamayou-fictional-couscous
Sep 4, 2026
Merged

Enforce dependencies for acyclic source components#8278
Amaury Chamayou (achamayou) merged 1 commit into
mainfrom
achamayou-fictional-couscous

Conversation

@achamayou

@achamayou Amaury Chamayou (achamayou) commented Sep 4, 2026

Copy link
Copy Markdown
Member

CCF's source dependency checker currently protects only crypto, ds, and pal, leaving the other components outside the cyclic core free to gain new outgoing dependencies unnoticed.

Extend the exact dependency allowlist to every currently acyclic source component. This covers apps, cose, msgpack, tasks, tcp, threading, tls, and udp. apps is allowed to depend on both the synthetic ccf-api component and js, matching its includes of ccf/app_interface.h and ccf/js/samples/governance_driven_registry.h. No checker behavior changes are required.

Testing

  • scripts/ci-checks.sh -f

Towards #3517

@achamayou
Amaury Chamayou (achamayou) requested a review from a team as a code owner September 4, 2026 10:18
Copilot AI lite review requested due to automatic review settings September 4, 2026 10:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Extends the source dependency checker’s explicit allowlist to cover all currently acyclic source components, preventing unnoticed new outgoing dependencies outside the cyclic core.

Changes:

  • Added allowlist entries for additional acyclic components (apps, cose, msgpack, tasks, tcp, threading, tls, udp)
  • Expanded apps allowlist to include synthetic ccf-api (and js)

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread scripts/source-dependencies.json
@achamayou
Amaury Chamayou (achamayou) force-pushed the achamayou-fictional-couscous branch 2 times, most recently from d19ca0b to 09043a9 Compare September 4, 2026 13:46
Extend the source dependency allowlist to every component that is currently outside the cyclic core.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@achamayou
Amaury Chamayou (achamayou) merged commit ac2b5cb into main Sep 4, 2026
13 checks passed
@achamayou
Amaury Chamayou (achamayou) deleted the achamayou-fictional-couscous branch September 4, 2026 16:39
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