Skip to content

Conversation

@delemaf
Copy link
Member

@delemaf delemaf commented Dec 19, 2025

Proposed changes

  • Add nx as a task orchestrator for the opencti monorepo
  • Define nx projects and targets for existing workspaces (front, graphql, worker, client-python)
  • Expose unified root commands :
yarn deps   # install dependencies across projects
yarn build  # build all projects
yarn lint   # lint all projects
yarn test   # run all tests and front e2e 
yarn dev    # start backend, frontend and a worker

Related issues

Checklist

  • I consider the submitted work as finished
  • I tested the code for its functionality
  • I wrote test cases for the relevant uses case (coverage and e2e)
  • I added/update the relevant documentation (either on github or on notion)
  • Where necessary I refactored code to improve the overall quality

Further comments

Nx is introduced in a non-invasive way: it only orchestrates existing commands and does not change build logic, runtime behavior, or enable caching. This improves task coordination and maintainability without impacting current workflows.

@github-actions github-actions bot added the filigran team use to identify PR from the Filigran team label Dec 19, 2025
@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 30.82%. Comparing base (23e924e) to head (6985379).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #13779      +/-   ##
==========================================
- Coverage   30.82%   30.82%   -0.01%     
==========================================
  Files        2910     2910              
  Lines      192184   192184              
  Branches    39167    39166       -1     
==========================================
- Hits        59241    59238       -3     
- Misses     132943   132946       +3     
Flag Coverage Δ
opencti 30.82% <ø> (-0.01%) ⬇️
opencti-front 2.46% <ø> (ø)
opencti-graphql 68.20% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from oob/revert-nx to master December 19, 2025 09:28
@OctaveLaventure OctaveLaventure force-pushed the oob/add-nx-in-opencti-repo branch from d2d800e to 6985379 Compare December 19, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

filigran team use to identify PR from the Filigran team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants