Skip to content

chore: remove unused flow/config.py#5325

Merged
greysonlalonde merged 1 commit into
mainfrom
chore/remove-dead-flow-config
Apr 7, 2026
Merged

chore: remove unused flow/config.py#5325
greysonlalonde merged 1 commit into
mainfrom
chore/remove-dead-flow-config

Conversation

@greysonlalonde

@greysonlalonde greysonlalonde commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removes lib/crewai/src/crewai/flow/config.py — dead code with zero imports across the codebase
  • Visualization styles are defined inline in the flow/visualization/ module's CSS/JS assets

Test plan

  • Confirmed no imports of flow.config or flow/config exist anywhere in the codebase
  • CI passes

Note

Low Risk
Low risk removal of a module that appears to have no references; only potential impact is on downstream users importing crewai.flow.config directly.

Overview
Removes lib/crewai/src/crewai/flow/config.py, eliminating the typed color/style constants (COLORS, NODE_STYLES) previously defined for flow visualization.

No replacements are added in this PR, so any external imports of crewai.flow.config would now fail.

Reviewed by Cursor Bugbot for commit 4ce28d3. Bugbot is set up for automated code reviews on this repo. Configure here.

Dead code — nothing imports it. Visualization styles live inline
in the visualization module's CSS/JS assets.
@github-actions github-actions Bot added the size/M label Apr 7, 2026

@iris-clawd iris-clawd 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.

Dead code removal, no imports anywhere. LGTM ✅

@greysonlalonde greysonlalonde merged commit 8700e3d into main Apr 7, 2026
50 checks passed
@greysonlalonde greysonlalonde deleted the chore/remove-dead-flow-config branch April 7, 2026 20:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants