Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

chore: update dependencies and configuration for console-frontend#4

Merged
andersonleal merged 2 commits intomainfrom
feat/sdk-sync-improvements
Feb 9, 2026
Merged

chore: update dependencies and configuration for console-frontend#4
andersonleal merged 2 commits intomainfrom
feat/sdk-sync-improvements

Conversation

@andersonleal
Copy link
Copy Markdown
Contributor

@andersonleal andersonleal commented Feb 9, 2026

chore: update dependencies and configuration for console-frontend

Summary

Updates iii-console to align with the III Engine protocol and SDK changes, refreshes frontend dependencies, and adjusts dev server configuration.

Key changes:

  • Protocol alignment: Rename function_pathfunction_id across the frontend (types, API client, handlers, dashboard) and invocation/cron request bodies to match the III Engine protocol (see iii-engine PR #112).
  • Rust bridge: Replace invoke_function_with_timeout with call_with_timeout in console-rust bridge to match the current III SDK API.
  • Frontend deps: Bump TanStack Router (1.157 → 1.159), TanStack devtools import to @tanstack/react-router-devtools, Biome, and @vitejs/plugin-react; lockfile updates in pnpm and Cargo.
  • Dev experience: Vite dev server port changed from 3113 to 3114 and /api proxy added to http://localhost:3113 so the UI can run alongside the Rust binary. Minor copy/formatting (e.g. "Function Path" → "Function ID", URL display).
  • Misc: .gitignore adds conductor; Cargo.lock updates (OpenTelemetry, axum, dependency cleanup).

Type of Change

  • Chore (dependency updates, config, tooling)
  • Refactor (naming/API alignment, no new features)
  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Checklist

  • Code follows project style (Biome/formatting).
  • No new warnings; existing tests/lint pass.
  • Dependency version bumps are intentional and consistent across package.json / Cargo.lock / pnpm-lock.yaml.
  • Documentation updated (N/A for this PR).

Additional Context

  • Compatible with III Engine that uses function_id in WebSocket and REST contracts.
  • Console Rust binary still serves on port 3113; frontend dev server runs on 3114 and proxies /api to the binary for local development.

Summary by CodeRabbit

Release Notes

  • New Features

    • Added option to display internal system traces in the traces view with a toggle.
  • Improvements

    • Updated function identifiers throughout the console to use ID-based format instead of path-based format.
    • Updated development dependencies for improved tooling compatibility.

- Update package versions in package.json and pnpm-lock.yaml for @tanstack/react-router, @tanstack/zod-adapter, and related devtools to the latest versions.
- Modify .gitignore to include 'AGENTS.md' and 'conductor'.
- Change Vite server port from 3113 to 3114 and add a proxy for API requests.
- Refactor function path references to function ID in various API and route files for consistency.
- Update Rust bridge functions to use the new call_with_timeout method for improved clarity and maintainability.

These changes enhance the overall functionality and maintainability of the console-frontend application.
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 9, 2026

📝 Walkthrough

Walkthrough

This pull request refactors function identifiers from function_path to function_id across the frontend codebase, updates TanStack router dependencies, adds support for filtering internal system traces, updates the Rust bridge API calls, and adjusts the development server configuration.

Changes

Cohort / File(s) Summary
Configuration & Dependency Updates
.gitignore, packages/console-frontend/package.json, packages/console-frontend/vite.config.ts
Extended .gitignore with new entries; upgraded TanStack router packages, Biome, and Vite React plugin; changed dev server port from 3113 to 3114 and added API proxy.
Frontend API Type Definitions
packages/console-frontend/src/api/events/functions.ts, packages/console-frontend/src/api/events/invocation.ts
Renamed function_path to function_id in FunctionInfo and TriggerInfo interfaces; updated invokeFunction and triggerCron method signatures accordingly.
Frontend Observability Enhancement
packages/console-frontend/src/api/observability/traces.ts, packages/console-frontend/src/routes/traces.tsx
Added optional include_internal filter parameter to trace fetching; updated filtering logic to respect this parameter instead of client-side filtering for system traces.
Frontend Routing & Tooling
packages/console-frontend/src/routes/__root.tsx
Updated import source for TanStackRouterDevtools from @tanstack/router-devtools to @tanstack/react-router-devtools.
Frontend UI Components
packages/console-frontend/src/routes/handlers.tsx, packages/console-frontend/src/routes/index.tsx
Replaced all function_path references with function_id throughout handlers and index routes for filtering, grouping, display labels, and UI rendering.
Rust Bridge API Updates
packages/console-rust/src/bridge/functions.rs, packages/console-rust/src/bridge/triggers.rs
Replaced invoke_function_with_timeout with call_with_timeout and updated function registration namespace from console.* to engine.console.* for both functions and triggers.
Rust Application Shutdown
packages/console-rust/src/main.rs
Changed shutdown cleanup from bridge.disconnect() to bridge.shutdown().

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐰 From function_path to function_id we hop,
With traces now showing what should not stop,
Router devtools renamed with care,
Bridge calls refined everywhere,
Refactoring done, let the changes unfold!

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 6.90% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: update dependencies and configuration for console-frontend' is partially related to the changeset. It accurately describes dependency updates and frontend configuration changes, but significantly understates the scope of work, which includes a major protocol refactor (function_path → function_id) across multiple packages and layers (frontend, Rust bridge), plus SDK alignment changes.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-sync-improvements

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 9, 2026

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

 ________________________________
< Overly attached code reviewer. >
 --------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

✏️ Tip: You can disable in-progress messages and the fortune message in your review settings.

Tip

You can enable review details to help with troubleshooting, context usage and more.

Enable the reviews.review_details setting to include review details such as the model used, the time taken for each step and more in the review comments.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-sync-improvements

Comment @coderabbitai help to get the list of available commands and usage tips.

2 similar comments
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 9, 2026

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

 ________________________________
< Overly attached code reviewer. >
 --------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

✏️ Tip: You can disable in-progress messages and the fortune message in your review settings.

Tip

You can enable review details to help with troubleshooting, context usage and more.

Enable the reviews.review_details setting to include review details such as the model used, the time taken for each step and more in the review comments.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-sync-improvements

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 9, 2026

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

 ________________________________
< Overly attached code reviewer. >
 --------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).

✏️ Tip: You can disable in-progress messages and the fortune message in your review settings.

Tip

You can enable review details to help with troubleshooting, context usage and more.

Enable the reviews.review_details setting to include review details such as the model used, the time taken for each step and more in the review comments.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-sync-improvements

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 9, 2026

📝 Walkthrough

Walkthrough

The changes rename function_path to function_id across frontend API interfaces and components, update TanStack dependencies, adjust the development server port to 3114 with API proxying, replace the shutdown method from disconnect() to shutdown() in the Rust backend, update a router devtools import, and modify .gitignore entries.

Changes

Cohort / File(s) Summary
Frontend API Schema Updates
packages/console-frontend/src/api/events/functions.ts, packages/console-frontend/src/api/events/invocation.ts
Renamed function_path parameter/field to function_id in FunctionInfo, TriggerInfo interfaces and invokeFunction, triggerCron function signatures; request payloads updated accordingly.
Frontend UI Component Updates
packages/console-frontend/src/routes/handlers.tsx, packages/console-frontend/src/routes/index.tsx
Updated all references from function_path to function_id in filtering, grouping, rendering, API calls, and display logic; no control flow changes.
Dependency and Configuration Updates
packages/console-frontend/package.json, packages/console-frontend/vite.config.ts, packages/console-frontend/src/routes/__root.tsx
Bumped TanStack dependencies (@tanstack/react-router, @tanstack/zod-adapter, router-devtools, @biomejs/biome, @vitejs/plugin-react); changed dev server port from 3113 to 3114 with /api proxy; updated router-devtools import path.
Backend Rust Updates
packages/console-rust/src/bridge/functions.rs, packages/console-rust/src/main.rs
Replaced invoke_function_with_timeout calls with call_with_timeout across bridge functions; transitioned shutdown procedure from bridge.disconnect() to bridge.shutdown().
Repository Configuration
.gitignore
Re-added AGENTS.md ignore entry and added new conductor ignore entry.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐰 Function paths transform to IDs so bright,
Dependencies dance in the version light,
Ports redirect with proxy care,
Shutdown signals change their flare,
Rust bridges calling with names anew!

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 4.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: dependency updates and configuration adjustments for the console-frontend package.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-sync-improvements

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

3 similar comments
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 9, 2026

📝 Walkthrough

Walkthrough

The changes rename function_path to function_id across frontend API interfaces and components, update TanStack dependencies, adjust the development server port to 3114 with API proxying, replace the shutdown method from disconnect() to shutdown() in the Rust backend, update a router devtools import, and modify .gitignore entries.

Changes

Cohort / File(s) Summary
Frontend API Schema Updates
packages/console-frontend/src/api/events/functions.ts, packages/console-frontend/src/api/events/invocation.ts
Renamed function_path parameter/field to function_id in FunctionInfo, TriggerInfo interfaces and invokeFunction, triggerCron function signatures; request payloads updated accordingly.
Frontend UI Component Updates
packages/console-frontend/src/routes/handlers.tsx, packages/console-frontend/src/routes/index.tsx
Updated all references from function_path to function_id in filtering, grouping, rendering, API calls, and display logic; no control flow changes.
Dependency and Configuration Updates
packages/console-frontend/package.json, packages/console-frontend/vite.config.ts, packages/console-frontend/src/routes/__root.tsx
Bumped TanStack dependencies (@tanstack/react-router, @tanstack/zod-adapter, router-devtools, @biomejs/biome, @vitejs/plugin-react); changed dev server port from 3113 to 3114 with /api proxy; updated router-devtools import path.
Backend Rust Updates
packages/console-rust/src/bridge/functions.rs, packages/console-rust/src/main.rs
Replaced invoke_function_with_timeout calls with call_with_timeout across bridge functions; transitioned shutdown procedure from bridge.disconnect() to bridge.shutdown().
Repository Configuration
.gitignore
Re-added AGENTS.md ignore entry and added new conductor ignore entry.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐰 Function paths transform to IDs so bright,
Dependencies dance in the version light,
Ports redirect with proxy care,
Shutdown signals change their flare,
Rust bridges calling with names anew!

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 4.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: dependency updates and configuration adjustments for the console-frontend package.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-sync-improvements

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 9, 2026

📝 Walkthrough

Walkthrough

The changes rename function_path to function_id across frontend API interfaces and components, update TanStack dependencies, adjust the development server port to 3114 with API proxying, replace the shutdown method from disconnect() to shutdown() in the Rust backend, update a router devtools import, and modify .gitignore entries.

Changes

Cohort / File(s) Summary
Frontend API Schema Updates
packages/console-frontend/src/api/events/functions.ts, packages/console-frontend/src/api/events/invocation.ts
Renamed function_path parameter/field to function_id in FunctionInfo, TriggerInfo interfaces and invokeFunction, triggerCron function signatures; request payloads updated accordingly.
Frontend UI Component Updates
packages/console-frontend/src/routes/handlers.tsx, packages/console-frontend/src/routes/index.tsx
Updated all references from function_path to function_id in filtering, grouping, rendering, API calls, and display logic; no control flow changes.
Dependency and Configuration Updates
packages/console-frontend/package.json, packages/console-frontend/vite.config.ts, packages/console-frontend/src/routes/__root.tsx
Bumped TanStack dependencies (@tanstack/react-router, @tanstack/zod-adapter, router-devtools, @biomejs/biome, @vitejs/plugin-react); changed dev server port from 3113 to 3114 with /api proxy; updated router-devtools import path.
Backend Rust Updates
packages/console-rust/src/bridge/functions.rs, packages/console-rust/src/main.rs
Replaced invoke_function_with_timeout calls with call_with_timeout across bridge functions; transitioned shutdown procedure from bridge.disconnect() to bridge.shutdown().
Repository Configuration
.gitignore
Re-added AGENTS.md ignore entry and added new conductor ignore entry.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐰 Function paths transform to IDs so bright,
Dependencies dance in the version light,
Ports redirect with proxy care,
Shutdown signals change their flare,
Rust bridges calling with names anew!

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 4.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: dependency updates and configuration adjustments for the console-frontend package.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-sync-improvements

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Feb 9, 2026

📝 Walkthrough

Walkthrough

The changes rename function_path to function_id across frontend API interfaces and components, update TanStack dependencies, adjust the development server port to 3114 with API proxying, replace the shutdown method from disconnect() to shutdown() in the Rust backend, update a router devtools import, and modify .gitignore entries.

Changes

Cohort / File(s) Summary
Frontend API Schema Updates
packages/console-frontend/src/api/events/functions.ts, packages/console-frontend/src/api/events/invocation.ts
Renamed function_path parameter/field to function_id in FunctionInfo, TriggerInfo interfaces and invokeFunction, triggerCron function signatures; request payloads updated accordingly.
Frontend UI Component Updates
packages/console-frontend/src/routes/handlers.tsx, packages/console-frontend/src/routes/index.tsx
Updated all references from function_path to function_id in filtering, grouping, rendering, API calls, and display logic; no control flow changes.
Dependency and Configuration Updates
packages/console-frontend/package.json, packages/console-frontend/vite.config.ts, packages/console-frontend/src/routes/__root.tsx
Bumped TanStack dependencies (@tanstack/react-router, @tanstack/zod-adapter, router-devtools, @biomejs/biome, @vitejs/plugin-react); changed dev server port from 3113 to 3114 with /api proxy; updated router-devtools import path.
Backend Rust Updates
packages/console-rust/src/bridge/functions.rs, packages/console-rust/src/main.rs
Replaced invoke_function_with_timeout calls with call_with_timeout across bridge functions; transitioned shutdown procedure from bridge.disconnect() to bridge.shutdown().
Repository Configuration
.gitignore
Re-added AGENTS.md ignore entry and added new conductor ignore entry.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Poem

🐰 Function paths transform to IDs so bright,
Dependencies dance in the version light,
Ports redirect with proxy care,
Shutdown signals change their flare,
Rust bridges calling with names anew!

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 4.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: dependency updates and configuration adjustments for the console-frontend package.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/sdk-sync-improvements

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

- Add 'include_internal' parameter to fetchTraces for improved trace filtering.
- Update TracesPage to utilize the new 'include_internal' parameter based on user settings.
- Refactor Rust bridge functions and triggers to use a consistent 'engine.console' namespace for better organization.
- Modify .gitignore to include '.claude' for improved project cleanliness.

These changes enhance the trace analysis capabilities and improve the structure of the Rust bridge integration.
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.gitignore:
- Line 67: The .gitignore entry ".claude" is too broad and will prevent
committing shared agent configs; instead, remove the root ".claude" ignore and
add a selective pattern that keeps ".claude/agents/" and the "motia-developer"
subagent tracked while ignoring user-specific files (e.g., per-user settings or
caches). Update the ignore rules so that .claude/agents/ and any files under it
(including motia-developer) are not ignored but user-local files in .claude
remain ignored; locate the .gitignore entry ".claude" and replace it with
selective patterns that explicitly whitelist .claude/agents/ and motia-developer
while continuing to ignore user-specific Claude files.

@andersonleal andersonleal merged commit c51f46c into main Feb 9, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant