Skip to content

Conversation

@deon-sanchez
Copy link
Collaborator

@deon-sanchez deon-sanchez commented Sep 5, 2025

read title

Summary by CodeRabbit

  • New Features

    • Automatic MCP Composer start/stop for OAuth projects; project Composer URL endpoint.
    • Auto-assign API key auth on new uploads when auto-login is disabled.
    • Knowledge Base components revamped (ingestion/retrieval), with optional embeddings.
    • Config now exposes voice_mode_available.
  • Bug Fixes

    • Consistent message ordering in memory retrieval.
    • Structured output returns empty table instead of error for no results.
  • Refactor

    • MCP Composer env var renamed and default disabled.
    • Agent UI streamlined; Chat color/icon fields removed; File/OCR options updated.
    • Deprecated tools/components removed; model deprecations and label improvements.
    • Docling remote API updated to v1.
  • Chores

    • Version bump to 1.6.0; dependency pins.
    • Gitignore and Windows script env-file handling tweaks.

jordanrfrazier and others added 30 commits August 26, 2025 23:08
* fix: Avoid namespace collision for Astra

* [autofix.ci] apply automated fixes

* Update Vector Store RAG.json

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: Knowledge base component refactor

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* Update styleUtils.ts

* Update ingestion.py

* [autofix.ci] apply automated fixes

* Fix ingestion of df

* [autofix.ci] apply automated fixes

* Update Knowledge Ingestion.json

* Fix one failing test

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes

* Revert composio versions for CI

* Revert "Revert composio versions for CI"

This reverts commit 9bcb694.

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <[email protected]>
Co-authored-by: Carlos Coelho <[email protected]>
fix .env load on windows script

Co-authored-by: Ítalo Johnny <[email protected]>
…ent (#9564)

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…fault (#9550)

* Use custom voice assistant on chat input

* Changed mcp composer to default disabled

---------

Co-authored-by: Carlos Coelho <[email protected]>
* refactor: clean up imports and improve code readability in AIML and FlowSidebar components

- Organized import statements in aiml.py and index.tsx for better structure.
- Enhanced formatting in aiml.py for the update_build_config method.
- Updated nodeIconToDisplayIconMap in styleUtils.ts for consistency in AIML label.
- Removed unnecessary console log in FlowSidebarComponent for cleaner code.

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Coelho <[email protected]>
fix: Allow updates to file component in templates
)

fix filtering so legacy components aren't shown by default
…#9589)

* Changed Name to Slug, added Close button

* Updated data test id

* Tested closing the sidebar

* fixed test

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Added stick to bottom dependency

* Removed scroll direction dependency

* Added scroll to bottom action in voice assistant and chat input

* Made messages occupy full width

* Changed chat view to use StickToBottom instead of previous scroll handling mechanism

* Delete unused chat scroll anchor

* Set initial as instant

* Update session name styling
* Added onDelete prop to sidebarDraggableComponent

* Removed unused props

* Added handleDeleteMcpServer

* Add tests for on delete functionality, fixed linting errors

* Format

* Add test on mcp-server to test adding and deleting mcp server from sidebar

* Adds data test id to delete select item

* Changed data test id to not be mcp related

* Added delete confirmation modal to mcp sidebar group

* Changed test to contain modal
…t, change zoom out logic in canvasControls (#9595)

* Fix zoom out to 0.6 instead of 1.0

* remove min zoom on canvascontrolsdropdown, since it's enforced by reactflow

* Changed min zoom to 0.25 and max zoom to 2.0

* Added tests for zoom in and zoom out in canvas controls dropdown
* Changed node icon to not have icon color

* Added portion of test that checks if color is right for mcp component

* Refactor nodeIcon

* removed lucideIcon check for performance

* Changed the test to evaluate color from computed style
…r mcp-projects logic (#9599)

* Add new available field to installed mcps

* Disable auto install field when program not present

* Refactor logic and get back the Available field for the installed

* Added tooltip

* Fixed linting
* fix: Properly allow no OCR engine

* [autofix.ci] apply automated fixes

* Set default to easyocr

* Update docling_inline.py

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…ray on File component (#9639)

* Changed file type order

* Changed starter projects that had the file component

* order tooltip types alphabetically

* changed order of text_file_types

* Removed duplicate types

* Changed starter projects that used past types

* changed test

* Fixed data test id

* Changed test to expect correct types
mfortman11 and others added 23 commits September 2, 2025 14:24
Co-authored-by: Carlos Coelho <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…sting after message is sent (#9662)

* update session storage in the same useeffect as the refetchSessions

* updated to send just the chat id

* added useGetFlowId custom hook

* updated places to use new currentFlowId hook

* updated to use new id, to edit the message in the api and to set the flowId in the message

* Restore current flow id from chat view

* put on cell value changed only if it exists to enable read-only tables

* removed call  to backend when updating messages on playground

* disable editing session view when on playground page

* delete unused props, show edit only when not in playground

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
disable elevate edges on select
* fix: Respect the order parameter for Message History

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…it (#9659)

* fix: Return multi-row dataframe output in SO

* [autofix.ci] apply automated fixes

* Tool support in message schema

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* search icon selection behavior

* switch to search on input change

* unit test fix

* test fix

* update test

* ✨ (frontend): add mock modules for @jsonquerylang/jsonquery and vanilla-jsoneditor packages
📝 (frontend): update test file to improve robustness and add debugging information for CI environment

* [autofix.ci] apply automated fixes

---------

Co-authored-by: cristhianzl <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix: Properly import the ToolMessage from langchain

* Update logger.py

* Fix one line output
Fixed userSettings test
…validation (#9536)

fix: remove warning log for unset TRACELOOP_API_KEY in configuration validation
* refactor: Improve code readability and organization in Knowledge Ingestion component

- Reorganized import statements for better clarity.
- Enhanced formatting of lists and function parameters for improved readability.
- Removed unused parameters and streamlined the column configuration in the Knowledge Bases tab.
- Updated JSON configuration for Knowledge Ingestion to reflect changes in code structure.

These changes aim to enhance maintainability and readability of the codebase.

* fix: Remove extraneous flag from package-lock and update column configuration in knowledge base

- Removed the extraneous flag from the `@clack/prompts` dependency in `package-lock.json`.
- Updated the `editable` property in the knowledge base columns configuration to `false`, enhancing the integrity of the data structure.

* refactor: Update FlowToolbar and related components for improved API modal handling

- Refactored FlowToolbar to replace openCodeModal with openApiModal for better clarity in modal management.
- Updated FlowToolbarOptions to accept openApiModal and setOpenApiModal props, enhancing the component's flexibility.
- Adjusted PublishDropdown to utilize the new API modal state, ensuring consistent behavior across the toolbar.
- Cleaned up import statements for better organization and readability.

* refactor: Clean up imports and streamline knowledge base column configuration

- Reorganized import statements in KnowledgeBasesTab and knowledgeBaseColumns for improved clarity and consistency.
- Removed unused parameters from the createKnowledgeBaseColumns function, simplifying its signature.
- Adjusted column flex properties for better layout in the knowledge base table.
- Enhanced overall readability and maintainability of the codebase.

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* Fixed discord opening github

* [autofix.ci] apply automated fixes

* fixed mcp server tab test

* Fixed flakyness on files test

* fixed flaky file upload

* Try to fix file upload component test

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Coelho <[email protected]>
* remove python code component and experimental category

* Refactor code area modal test to use custom component

* fixed placeholder not returning default value
* Added margins to message paragraph

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
…nt title, add Replace and legacy tag functionality to components (#9645)

* Remove deprecated components

* Removed deprecated tags

* removed mcp deprecated components

* Add new applyComponentFilter

* add replacement to node parameters

* added filtercomponent to flow store

* Added replacement to api class type

* Made sidebar filter component more modular

* remove unused props and pass props to filtercomponent

* Apply component filters and get name and description for filter

* Add resetting to handle and page

* Added types to sidebar header

* Added legacy and replacement to node description, activate component filter on click

* updated sidebar header test

* format test

* update sidebar filter component test to match current behavior

* Refactor to allow multiple replacements

* removed legacy from node description

* added dismissed legacy nodes

* removed unused props

* add node legacy component

* changed replacement type to list

* Instantiate nodelegacycomponent on generic node when component is legacy

* Add components filtering in nodelegacycomponent

* added replacement instead of display name

* Added legacy tag to component name

* Add replacement to some components

* Added replacements to majority of legacy components

* Made component name not be capitalized

* fixed bundles not appearing at component filter

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* [autofix.ci] apply automated fixes (attempt 3/3)

* added replacement for crew ai

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Carlos Coelho <[email protected]>
fix: Correct url for docling remote
* remove agent dual output

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* refactor: improve code structure and add NodeDrawer component

- Refactored import statements for better organization in agent.py and dropdownComponent.
- Enhanced the AgentComponent's description and memory_inputs formatting for clarity.
- Introduced a new NodeDrawer component for improved UI handling in the dropdown.
- Updated Dropdown component to integrate NodeDrawer functionality, allowing for side panel interactions.

* refactor: simplify NodeDrawer component and enhance Dropdown integration

- Removed unnecessary props from NodeDrawer, streamlining its interface.
- Updated the Dropdown component to improve the integration of NodeDrawer, ensuring better handling of side panel interactions.
- Refactored the NodeDrawer's structure for improved readability and maintainability.

* fix

* refactor: enhance Dropdown and input components with externalOptions support

- Updated Dropdown and related components to incorporate externalOptions for improved flexibility.
- Refactored input classes to maintain consistent formatting and readability.
- Removed deprecated dialogInputs functionality in favor of the new externalOptions structure.

* fix: reorganize imports after cherry-pick resolution

* refactor: enhance Dropdown component with loading state and source options

- Introduced a loading state to the Dropdown component to indicate when a response is awaited.
- Updated the logic to utilize sourceOptions instead of dialogInputs for better clarity and maintainability.
- Refactored the rendering of options and associated UI elements to improve user experience.

* refactor: improve Dropdown component structure and styling

- Cleaned up import statements for better organization.
- Enhanced the loading state display and adjusted the layout for better user experience.
- Updated styling for CommandItem components to ensure consistent padding and font weight.
- Refactored option rendering logic for improved clarity and maintainability.

* refactor: reorganize imports and adjust Dropdown component behavior

- Moved import statements for better clarity and organization.
- Commented out the setOpen function call to modify Dropdown behavior when dialog inputs are present.

* refactor: enhance Dropdown component functionality and logging

- Removed unnecessary console log for source options.
- Introduced handleSourceOptions function to streamline value handling and state management.
- Updated onSelect logic to utilize handleSourceOptions for improved clarity and functionality.

* refactor: enhance Dropdown component with flow store integration

- Added useFlowStore to manage node state within the Dropdown component.
- Introduced a new handleSourceOptions function to streamline value handling and API interaction.
- Updated onSelect logic to ensure proper value handling when selecting options.

* refactor: Update agent component to support custom model connections

- Changed the agent component's dropdown input to allow selection of "connect_other_models" for custom model integration.
- Enhanced the dropdown options and metadata for better user guidance.
- Updated the build configuration to reflect these changes and ensure proper input handling.

* refactor: Reorganize imports and enhance dropdown component logic

- Moved and re-imported necessary dependencies for clarity.
- Updated dropdown rendering logic to improve handling of selected values and loading states.
- Ensured compatibility with agent component requirements by refining option checks.

* small fix and revert

* refactor: Clean up imports and improve dropdown component styling

- Removed duplicate imports for PopoverAnchor and Fuse.
- Simplified class names in the dropdown component for better readability.
- Adjusted layout properties for improved visual consistency.

* refactor: Enhance dropdown component functionality and clean up imports

- Reorganized imports for better clarity and removed duplicates.
- Implemented a new feature to handle "connect_other_models" option, improving the dropdown's interaction with flow store and types store.
- Added logic to manage input types and display compatible handles, enhancing user experience.
- Updated utility functions for better integration with the dropdown component.

* style: format options_metadata in agent component

* refactor: Update import statements in starter project JSON files and adjust proxy settings in frontend configuration

- Refactored import statements in multiple starter project JSON files to improve readability by breaking long lines.
- Changed proxy settings from "http://localhost:7860" to "http://127.0.0.1:7860" in frontend configuration files for consistency and to avoid potential issues with localhost resolution.

* [autofix.ci] apply automated fixes

* revert and fix

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* fixed dropdown

* [autofix.ci] apply automated fixes

* kb clean up

* [autofix.ci] apply automated fixes (attempt 2/3)

* update to templates with display name change

---------

Co-authored-by: Edwin Jose <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* encrypt oauth auth settings at rest

* [autofix.ci] apply automated fixes

* Fix rebase changes and add env to env server config

* Correctly unmask secretstr before encryption

* update mcp-composer args

* [autofix.ci] apply automated fixes

* ruff

* ruff

* ruff

* [autofix.ci] apply automated fixes

* ruff

* catch invalidtoken error

* ruff

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

* ruff

* ruff

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

* fix test

* Add initial mcp composer service and startup

* remove token url

* Register server on project creation

* WARN: fall back to superuser on no auth params, to allow mcp-composer to connect. also fixes race condition in server creatoin

* update sse url args

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* Add langflow api keys to the server configs

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* add port searching

* [autofix.ci] apply automated fixes

* Fix for dead servers - use devnull on subprocess to avoid pipe from filling up

* uvlock

* [autofix.ci] apply automated fixes

* Update composer startup behavior re: auth settings

* [autofix.ci] apply automated fixes

* fix some auth logic, add dynamic fetch of new url

* Clean up sse-url parameters

* [autofix.ci] apply automated fixes

* Only call composer url when composer is enabled

* [autofix.ci] apply automated fixes

* improve shutdown

* starter projects update

* [autofix.ci] apply automated fixes

* update logging
git push

* revert hack to auth mcp composer

* [autofix.ci] apply automated fixes

* Fix 500 on composer-url query

* [autofix.ci] apply automated fixes

* Update feature flag; update api key addition to aut-install

* [autofix.ci] apply automated fixes

* Fix composer url and re-add auth

* Changed needs_api_key logic

* Refactor use-get-composer-url

* remove python fallback for now, then pipe stderr to pipe

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* Changed api key logic to allow connection if not api key and auto login is off

* fix oauth addition to cmd

* restart server when auth values change

* Restart server on oauth values changes

* [autofix.ci] apply automated fixes

* Changed project port to be the same as OAuth port

* Changed endpoint to provide port_available

* add is_port_available prop

* Added port_available to request

* Edit mutation to not have linting errors

* Added port not available state to authentication

* [autofix.ci] apply automated fixes

* Added port and host to get composer url

* Invalidate project composer url queries

* Changed to display port and host that is not running

* Cleanup old port finding and some mypy fixes

* Add print, remove unused env var

* Use mcp-composer directly in client and a lot of fixes

* changed starter projects

* refactor mcp_projects to use always IP generated for WSL

* changed to check args -4 too on installed servers

* changed to just check if sse url is in args

* added member servers in gitignore

* add check for ff

* Handle secret request response cycle securely and add better logging

* Use asycn logger

* Add decorator to check if composer is enabled in settings

* more logging changes

* Much better handling of existing oauth servers when the flag is disabled on restart

* Reset oauth projects to apikey or none when composer flag is disabled

* fix url for api key auth

* Fix auth check; set project auth to api key when auto login disabled

* Ruff, comments, cleanup

* [autofix.ci] apply automated fixes

* [autofix.ci] apply automated fixes (attempt 2/3)

* Consolidate the auth handling since its used in two endpoints

* [autofix.ci] apply automated fixes

* Ruff

* [autofix.ci] apply automated fixes

* last ruff

* Update FE env var naming and dont unnecessarily decrypt auth settings at times

* update feature flag usage - remove mcp composer

* [autofix.ci] apply automated fixes

* Update timeout methods to have more reliable startup

* more feature flag changes

* Attempt to extract helpful user messages

* [autofix.ci] apply automated fixes

* Added loading on mcp server tab auth

* Changed to load on start too

* cleanup mcp composer on project deletion

* [autofix.ci] apply automated fixes

* remove nested retry mech

* Ruff

* lint

* Fix unit tests

* [autofix.ci] apply automated fixes

* ruff

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Edwin Jose <[email protected]>
Co-authored-by: Lucas Oliveira <[email protected]>
Co-authored-by: Mike Fortman <[email protected]>
… component addition

- Introduced a new onDoubleClick event handler to allow users to add components by double-clicking on items in the sidebar.
- Reorganized import statements for better clarity and maintainability.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 5, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Renames MCP Composer feature flag, updates version and dependencies, adjusts Windows run scripts, adds auth update helper, significantly refactors MCP project/composer orchestration and project lifecycle hooks, renames/reshapes knowledge base components, removes deprecated tools/components, tweaks several core behaviors, and updates many component UI labels and replacement metadata.

Changes

Cohort / File(s) Summary
Config and Versioning
/.env.example, /pyproject.toml, /.gitignore
Renamed env var to LANGFLOW_MCP_COMPOSER_ENABLED with default false; version bump to 1.6.0 and pinned composio deps; added member_servers.json to .gitignore.
Windows run script env-file handling
/scripts/windows/build_and_run.bat, /scripts/windows/build_and_run.ps1
Switched to explicit uv --env-file usage; replaced ENV_FILE_PARAM with USE_ENV_FILE (bat); moved flag to top-level uv run (ps1).
MCP auth/composer orchestration
/src/backend/base/langflow/api/v1/auth_helpers.py, /src/backend/base/langflow/api/v1/mcp_projects.py, /src/backend/base/langflow/api/v1/projects.py
New handle_auth_settings_update; mcp_projects adds composer lifecycle, OS-aware SSE URLs, access verification changes, optional returns, new route; projects hook starts/stops composer on auth changes, auto API-key on create/upload, deletes stop composer.
API schema
/src/backend/base/langflow/api/v1/schemas.py
Added ConfigResponse.voice_mode_available.
Core behavior tweaks
/.../base/agents/events.py, .../base/constants.py, .../base/data/docling_utils.py, .../base/data/utils.py, .../components/processing/structured_output.py, .../components/helpers/memory.py
Removed “Input” prefix in agent text; un-skipped File components; OCR enablement checks "None"; reordered TEXT_FILE_TYPES; structured_output returns empty DataFrame on empty; unified last-N memory retrieval ordering.
Knowledge Base refactor
/.../components/knowledge_bases/__init__.py, .../knowledge_bases/ingestion.py, .../knowledge_bases/retrieval.py, .../components/data/__init__.py
Renamed KB components to KnowledgeIngestion/KnowledgeRetrieval, changed inputs/outputs and behavior (Data/DataFrame handle input, error raising; retrieval options incl. embeddings); removed old KB components from data exports.
Data ingestion/processing updates
.../components/data/file.py, .../components/data/api_request.py, .../components/docling/docling_remote.py, .../components/docling/docling_inline.py, .../components/data/csv_to_data.py, .../components/data/json_to_data.py
File: extensions list and OCR UI/defaults adjusted; api_request unwraps .data at body/list-item; docling remote API path/payload keys updated; removed real_time_refresh flags; added replacement metadata to csv/json to data.
Components: replacements and cleanup
.../components/tools/*.py, .../components/processing/*.py, .../components/helpers/*.py, .../components/logic/*.py, .../components/embeddings/*.py, .../components/google/gmail.py
Added many replacement attributes; removed deprecation labels on several; removed structured_response output and memory inputs from Agent; added “connect other models” option.
Deprecated components removed
.../components/deactivated/mcp_sse.py, .../components/deactivated/mcp_stdio.py, .../components/tools/google_search_api.py, .../components/tools/google_serper_api.py, .../components/prototypes/python_function.py
Deleted deprecated MCP and Google search tool components and PythonFunction prototype.
Public exports adjustments
.../components/__init__.py, .../components/tools/__init__.py, .../components/datastax/__init__.py
Removed prototypes export; removed Google Search/Serper from tools exports; updated datastax lazy import path.
Model metadata
.../base/models/anthropic_constants.py
Marked claude-3-sonnet-20240229 as deprecated in metadata.
Chat UI components
.../components/input_output/chat.py, .../components/input_output/chat_output.py
Removed color/icon inputs and related Message properties handling.
UI label text updates
.../components/**/* (agentql, azure, clickhouse, confluence, datastax, deactivated/chat_litellm_model, deactivated/metal, elastic, embeddings/text_embedder, firecrawl/, huggingface/, ibm/*, icosacomputing, milvus, olivya, qdrant, redis, langchain_utilities/langchain_hub.py, twelvelabs, aiml)
Updated various display_name labels for API keys/passwords; no logic changes.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor User
  participant FE as Frontend
  participant API as Projects API
  participant AH as handle_auth_settings_update
  participant CS as MCPComposerService
  participant REG as register_project_with_composer

  User->>FE: Update project (auth_settings)
  FE->>API: PATCH /projects/{id} (auth_settings)
  API->>AH: handle_auth_settings_update(project, new_auth)
  AH-->>API: {start, stop, handle}
  alt start composer (oauth)
    API->>REG: register_project_with_composer(project)
    REG->>CS: get_or_start(project auth, name, id)
    CS-->>REG: composer started/registered
    REG-->>API: ok
  else stop composer
    API->>CS: stop(project_id)
    CS-->>API: stopped
  end
  API-->>FE: 200 OK (project updated)
Loading
sequenceDiagram
  autonumber
  actor Client
  participant API as MCP Projects API
  participant DB as DB Session
  participant ACC as verify_project_access
  participant SSE as SSE URL Resolver

  Client->>API: GET /mcp/{project_id}/composer-url
  API->>DB: verify_project_auth(db, project_id, token)
  API->>ACC: verify_project_access(project_id, user)
  ACC-->>API: project
  API->>SSE: get_composer_sse_url(project)
  SSE-->>API: os-aware URL
  API-->>Client: 200 {url or error payload}
Loading

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~75 minutes

Possibly related PRs

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch lfoss-2083

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@deon-sanchez deon-sanchez deleted the lfoss-2083 branch September 5, 2025 19:24
@github-actions github-actions bot added the enhancement New feature or request label Sep 5, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 5, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
13 Security Hotspots
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@github-actions github-actions bot added enhancement New feature or request and removed enhancement New feature or request labels Sep 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants