Skip to content

fix(ci): npm trusted publishers and publish path fix - #197

Closed
kwit75 wants to merge 47 commits into
mainfrom
develop
Closed

kwit75 wants to merge 47 commits into
mainfrom
develop

Conversation

@kwit75

@kwit75 kwit75 commented Mar 5, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix npm publish path: prefix tarball with ./ so npm doesn't interpret it as a GitHub shorthand
  • Add OIDC support for npm trusted publishers (id-token: write + --provenance)

Test plan

  • Merge to main triggers release workflow
  • TypeScript client publishes to npm via OIDC trusted publishers

kwit75 and others added 30 commits February 27, 2026 16:10
Split CI/CD into three dedicated workflows:
- build.yaml: PR builds and tests only (removed release code)
- nightly.yaml: cron + manual prerelease to GitHub Releases
- release.yaml: publish to npm, PyPI, VS Code Marketplace, Open VSX on push to main

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
…estions, and docs drift (#117)

* feat(ci): add GitHub Agentic Workflows for auto-triage, reviewer suggestion, and docs drift

Add three AI-powered GitHub Agentic Workflows using Claude as the engine:

- auto-triage: automatically labels new issues with type, priority, and
  module labels, adds them to the OSS Roadmap project board
- pr-reviewer-suggest: suggests 1-2 reviewers based on changed file paths
  and module ownership mapping
- docs-drift-detect: creates drift issues when code changes on develop
  may have outdated existing documentation

Each workflow is defined as a Markdown file with frontmatter config and
compiled to a .lock.yml GitHub Actions workflow via gh-aw.

* fix(ci): address review findings in agentic workflows

- Fix incorrect doc filenames in docs-drift-detect (ROCKETRIDE_typescript_API.md,
  ROCKETRIDE_python_API.md instead of nonexistent CLIENT_ variants)
- Add missing noop call in docs-drift-detect when no docs are affected
- Remove GH_AW_PROJECT_GITHUB_TOKEN from tools.github block (only needed
  on update-project safe-output, not for all reads)
- Add tika/vcpkg paths to engine module mapping across all 3 workflows
- Add dropper-ui path to chat-ui module in pr-reviewer-suggest and
  docs-drift-detect (was already in auto-triage)
- Add apps/engine/** to docs-drift-detect path mapping
- Add ROCKETRIDE_COMMON_MISTAKES.md and ROCKETRIDE_README.md to
  docs-drift-detect affected docs
- Skip already-triaged issues (auto-triage label check) on reopen
- Skip PRs that already have reviewers assigned
- Handle empty file list and no-eligible-reviewer edge cases
- Bump add-labels max from 5 to 6 for headroom

* chore(ci): add workflow_dispatch trigger for manual testing

Adds workflow_dispatch as an additional trigger to all three agentic
workflows so they can be tested via gh aw run before merging.

* chore(ci): switch agentic workflows from claude to copilot engine

Use the default copilot engine instead of claude. Copilot is free for
public/OSS repos and requires no API key secret.

* revert: switch back to claude engine (copilot requires interactive model acceptance)

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
* feat(nodes): add agent base, crewai, tools base, and mcp client

* initial refactor -> move agent_base to ai/common/agent

* Tools base refactor -> tools base now lives in ai/common

* turn host tools and host llms into abstract methods that only require binding to the framework nodes format

* Full clean of agent base and crew

* Add Langchain Agents, delete crew question lane output

* refactor tools base

* Get rid of Agent Envelope, switch to outputting framework raw output + stack trace for outputs

* clean utils, stop overriding question context

* Rename Agent base, replace aparavi mentions with Rocketride, rename lang chain driver, add inline documentation

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>
* feat: add pipeline tracing, fix monitor event routing, and improve VS Code extension UX

Pipeline Tracing (engine-lib):
- Add configurable pipelineTraceLevel (none/metadata/summary/full) to
  pipeline config and endpoint initialization
- Capture lane enter/leave trace data in Binder::callMethods with per-lane
  details (text length, buffer sizes, classification counts, etc.)
- Pass trace JSON through debugger enter/leave and DBG protocol messages
- Add tracing to control callback invocations in filter.callbacks.target

Monitor System Fixes (server):
- Fix bitmask check in forward_event to use the correct `pref` parameter
  instead of outer `subscriber_preference` variable
- Unify monitor subscriptions to project-based keys (p.projectId.source),
  removing redundant token-based (t.token) keys so subscribe/unsubscribe
  by token or project_id/source use the same registry entry
- Allow _send_updates to accept None control for pre-registration monitoring
- Remove auto-subscribe to SUMMARY on task start; global monitors are now
  registered centrally in ConnectionManager.onConnectionEstablished

VS Code Extension:
- Route task output events to the RocketRide Output channel with source
  prefix and icon, fixing output not appearing in the Output panel
- Replace Attach button with Stop button on running pipelines in the
  sidebar, using the same rrext_get_token + terminate pattern as
  PageStatusProvider
- Switch runPipeline from debug session to DAP execute command
- Subscribe PageStatusProvider to flow events for pipeline trace display
- Fix early disposal flag in handlePanelDisposal to prevent stale events
- Clean up execute requests: remove debug trace args and wildcard tokens

SDK (TypeScript + Python):
- Add pipelineTraceLevel option to execute methods in both client SDKs

Misc:
- Fix Python dev path (rocketride-python -> rocketlib-python) in init.cpp
- Clear embedding status message after model load completes
- Add silent option to exec/download scripts to suppress error output
- Remove c.bat build helper script
- Update launch.json for subprocess debugging

* fix(tests): update engtest for removed smb and aws connectors

---------

Co-authored-by: Ariel Vernaza <ariel@lazyracoon.tech>
Restructure the pipeline status page from a vertically-stacked panel layout
into a tabbed interface (Status, Tokens, Pipeline Flow, Errors) with a
persistent two-column header showing state/controls at all times.

Layout changes:
- Add fixed page header with two-column grid: status badge + job subtitle
  on the left, action buttons + elapsed time on the right
- Introduce TabPanel component with MUI-style animated sliding indicator,
  keyboard-accessible tab buttons, and VS Code theme integration
- Move all content sections (chart, tokens, pipeline flow, errors) into
  tab panels rendered on demand
- Tab content area rendered in a bordered, rounded box with margin offset
  from the tab bar for visual separation

StatusSection refactor:
- Extract StatusHeader into two components: StatusHeader (state badge +
  job status subtitle) and StatusElapsed ("Started Xs ago" display)
- Lift elapsed timer state and interval management up to PageStatus so
  both the fixed header and Status tab can share currentElapsed
- Strip StatusSection down to only CompletionsChart + StatusFooter;
  remove its panel header, action buttons, and control button logic
  (all now handled by PageStatus directly)
- Remove Duration field from StatusFooter stats row

Errors tab:
- Always visible in tab bar regardless of error/warning count
- Shows a custom SVG warning triangle icon as badge when errors > 0
- Add WarningIcon component (yellow triangle, black border, exclamation)
- Display "No errors or warnings" empty state using shared .no-data class
  inside consistent section-header/section-content structure

Styling:
- Add CSS for page-header grid, status-header-stack, status-indicator-box
  (16px fixed-width wrapper for dot alignment across rows), status-subtitle
  with focusBorder accent color, and status-elapsed
- Add tab-bar, tab-item, tab-indicator, tab-badge, and tab-content styles
- Remove tab-bar border-bottom, reduce font sizes to match VS Code defaults
- Reduce chart-section padding from 20px to 4px 0
- Neutralize nested panel/section borders inside tab-content

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…gement

End-to-end pipeline tracing: from C++ engine trace payloads through the
Python event router to a new waterfall call-tree UI in the VS Code
extension. This replaces the previous fire-and-forget debug output with
structured, bounded, concurrent-safe trace state.

## C++ Engine — Structured trace levels and payloads

- Add PIPELINE_TRACE_LEVEL enum (NONE/METADATA/SUMMARY/FULL) to replace
  magic integers. Using a proper enum gives compile-time safety and makes
  the tiered data policy self-documenting (types.hpp, config.hpp,
  endpoint.config.cpp).

- Restructure trace payloads in binder.cpp and filter.callbacks.target.cpp:
  remove redundant pipeId/provider fields (already encoded in the pipe
  path), move error strings to trace.error instead of trace.data.error
  so the UI can surface them without nested lookups, and enrich data at
  each trace tier (e.g., writeDocuments now includes full document dicts
  at FULL level, writeQuestions/writeAnswers serialize actual payloads
  instead of just type names).

- Add empty JSON "{}" as the 6th field in BEGIN/END debug messages
  (pipe.instance.cpp) so the wire protocol always has a consistent
  6-field format that the Python parser can split without special-casing.

## Python Server — Two-stage event routing

- transport_stdio.py: Parse the 6th field of >DBG* messages as JSON
  instead of passing raw strings. Rename the transport-level event from
  apaevt_flow to apaevt_trace to distinguish the raw engine event from
  the enriched event forwarded to clients.

- task_engine.py: Handle the renamed apaevt_trace event. Build a new
  apaevt_flow event with the shape {id, op, pipes, trace} that the VS
  Code client expects — the pipes array gives the full call path and
  trace carries the structured data from the engine. This replaces the
  old approach of forwarding the raw pipeflow model dump.

## VS Code Extension — Trace event plumbing

- events.ts: Add EventFlowUpdate interface for apaevt_flow, include it
  in the RocketRideEvent union so the type system enforces handling.

- pageStatus.ts: Add traceEvent variant to PageStatusIncomingMessage
  carrying pipelineId, op, pipes[], and trace data.

- PageStatusProvider.ts: Handle apaevt_flow events by constructing
  traceEvent messages and broadcasting to all open webviews. Pipeline
  slot ID (body.id) is forwarded as pipelineId.

## VS Code Extension — Document-based trace state (PageStatus.tsx)

The engine has 256 pipeline slots that process documents concurrently
and are reused across documents. A naive flat array of trace rows would
grow without bound and interleave events from different pipelines.

Solution: document-based state with per-slot routing.

- On 'begin' for slot N: allocate a new document (monotonic docId),
  bind slot N to it via slotBindingsRef. Old documents from the same
  slot are preserved in the archive.

- On 'enter'/'leave' for slot N: route to the bound document. Each slot
  has its own pending call stack (pendingStacksRef) so concurrent
  pipelines don't corrupt each other's enter/leave matching.

- On 'end' for slot N: mark the document completed, clear the binding.
  The document stays in the archive.

- Eviction: cap at 64 documents. Only evict completed documents — if
  the oldest doc is still in-flight (256 concurrent pipelines would
  exceed the cap), stop evicting to avoid losing live data.

- flushTraceRows() flattens all documents into a single TraceRow[] for
  rendering and stamps each row's completed flag from its parent
  document, so the UI can derive in-flight status without extra state.

## VS Code Extension — TraceSection component (NEW)

Waterfall call-tree visualization with:

- Object groups: rows grouped by docId (not objectName, since the same
  object can appear in multiple pipeline runs). Each group is a
  collapsible document header showing object name, elapsed time, and
  error status.

- Tree structure: flat rows rebuilt into a tree via depth, with
  collapsible parent nodes. Shift-click on any chevron expands/collapses
  the entire subtree.

- Batching: long runs of identical leaf nodes (same filterName + lane +
  depth) are collapsed behind a "N more..." row to keep the DOM small.

- Detail panel: clicking a row shows call info, elapsed time with
  percentage-of-parent bar, and expandable input/output data.

- In-flight styling: documents that haven't received 'end' render their
  header name in italic with descriptionForeground color.

- Lane colors and badges for pipeline stages (open, tags/data, text,
  documents, closing, close).

## VS Code Extension — Section layout standardization

- StatusSection: move time range buttons from CompletionsChart into the
  section header; wrap in section > header + section-content pattern.

- CompletionsChart: remove duplicated chart header (now in parent).

- TokenSection: migrate from status-panel to section pattern; fix
  "CPU Usages Tokens" typo to "CPU Usage Tokens".

- StatusHeader/StatusElapsed: switch from conditional rendering to
  visibility:hidden so the header doesn't reflow when status appears.

- styles.css: move tab-content padding to .section-content so each tab
  panel owns its own padding; add comprehensive trace UI styles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Move TraceSection.tsx into a TraceSection/ directory with a barrel
index.tsx export, matching the convention used by StatusSection,
TokenSection, and other section components. The import path
'../../components/TraceSection' resolves unchanged via the barrel.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The tab bar uses uppercase small-caps styling, so shorter labels
reduce visual clutter and keep all five tabs comfortably visible
without truncation on narrow panels.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* fix(engine): serialize Pydantic models before passing to dictToJson

dictToJson only handles Python primitives, lists, tuples, and dicts.
Passing a Pydantic BaseModel (Question, Answer, IInvokeLLM, IInvokeTool)
directly caused a runtime crash because the function doesn't know how
to iterate a BaseModel — it falls through to the throw at pyjson.hpp:122.

writeDocuments didn't have this problem because it already called
.toDict() on each Doc object before passing the resulting list of
plain dicts to dictToJson. writeQuestions and writeAnswers skipped
that step and passed the raw Pydantic objects directly.

The fix calls .model_dump() (Pydantic v2's built-in serializer) on
each object before handing it to dictToJson, converting it to a plain
dict that dictToJson can traverse. The same fix is applied to
cb_control in filter.callbacks.target.cpp, which traces IInvokeLLM
and IInvokeTool control channel objects with the same pattern.

Files changed:
- binder.cpp: writeQuestions, writeAnswers now call model_dump()
- filter.callbacks.target.cpp: cb_control enter/leave traces call model_dump()
- binder.cpp: fix "pipeling" typo in comment

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Updated launch params for C++

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* one click docker deploy

* add user directive, tighten up download pattern, add dockerignore, add health check

* fix ga script injection, implement error handling, prevent duplicate containers, engine binary validation after extraction

* updated trivy-action

* update install method for trivy

* Remove Dockerfile.eaas and Dockerfile.overlay from the matrix
### Problem

When the pipeline was running, switching from the **Status** tab to Tokens or Errors and back to Status caused the Performance Metrics graph to reset to zero instead of continuing.

### Root cause

Tab content was **conditionally rendered** (e.g. `{activeTab === 'status' && <StatusSection ... />}`). Leaving the Status tab **unmounted** `StatusSection`; switching back **remounted** it. On remount, `StatusSection`’s init effect ran again (600 zero `dataPoints`) and the 1s sampling interval restarted, so the graph appeared to start over.

### Solution

- **`PageStatus.tsx`:** All tab panels (Status, Tokens, Flow, Trace, Errors) are always rendered. Each panel is wrapped in a `div` with class `tab-panel` and `tab-panel-hidden` when inactive, plus `role="tabpanel"` and `aria-hidden` for accessibility. Only the active panel is visible; the rest stay mounted but hidden.
- **`PageStatus/styles.css`:** Added `.tab-panel-hidden { display: none; }` so inactive panels take no space while remaining in the DOM.

`StatusSection` (and its `dataPoints`, sampling interval, and refs) now stays mounted when switching tabs, so the Performance Metrics graph continues across tab switches.

### Verification

1. Start a pipeline and let the Performance Metrics graph show data.
2. Switch to Tokens, then to Errors, then back to Status.
3. Confirm the graph continues from where it left off (no reset to zero).
* chore: remove unused version-only package.json files from workspace

These 7 package.json files (engine-core, engine-lib, nodes, ai, tika,
client-python, client-mcp) contained only a name and version field with
no dependencies, scripts, or build configuration. They were not imported
by any code, not referenced by CI workflows, not read by the CMake build
system, and not used as workspace dependencies by any other package.

The release and nightly workflows extract versions from the root
package.json and pyproject.toml files respectively — these sub-package
versions were never consumed by the release pipeline, creating a
misleading version drift (e.g. engine-lib at 3.1.0 while the root
package.json driving releases was at 1.0.3).

The Python client and MCP client already have their canonical versions
in pyproject.toml, making the duplicate package.json files redundant.

Removes corresponding entries from pnpm-workspace.yaml to prevent pnpm
install failures, and removes the explicit nodes/package.json path from
scripts/licenses.js (which handled missing files gracefully via
readJsonSafe but is cleaner without the dead reference).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): merge publish and github-release into single idempotent job

Previously the release workflow had two separate jobs: `publish` (a
single sequential job pushing all packages to registries) and
`github-release` (a matrix job creating GitHub Releases). This created
several problems:

1. A failure in one registry publish (e.g. PyPI) blocked all other
   packages from publishing, even unrelated ones like the VS Code
   extension or TypeScript client.

2. The `github-release` job depended on `publish` completing, so a
   registry failure also prevented GitHub Releases from being created
   for packages that had no registry (like the server).

3. Registry publish and GitHub Release creation were decoupled, making
   it possible for a package to be published to npm but have no
   corresponding GitHub Release (or vice versa), with no easy way to
   detect or recover from partial states.

The new `publish` matrix job handles each package independently with
fail-fast: false. Each matrix entry performs the complete lifecycle for
one package: check if the git tag exists (skip entirely if so), download
its artifacts, publish to its registry (with existing skip-if-exists
checks preserved), create the git tag, and create the GitHub Release.

This makes each package fully idempotent — once a tag exists, that
package is done forever. It also means a Python client failure cannot
block the TypeScript client, server, or VS Code extension from
releasing. Re-running the workflow after fixing a failure will skip
already-completed packages automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* refactor(ci): split nightly into per-package prereleases with cleanup

The nightly workflow previously bundled all 13 artifacts (server binaries
for 3 platforms, TypeScript client, Python client, MCP client, VS Code
extension) into a single GitHub Release under a date-stamped tag like
nightly-20260301. This made it difficult to find or download a specific
package's prerelease, and the single-release structure was inconsistent
with the release workflow which creates separate releases per package.

The nightly now creates 5 separate GitHub prereleases, one per package,
using tags that mirror the release convention with a -prerelease suffix
(e.g. server-v1.0.3-prerelease, client-typescript-v1.0.1-prerelease).
This makes prereleases discoverable alongside their stable counterparts
when filtering tags by package name.

A cleanup-prereleases job runs before creating new prereleases, deleting
all existing *-prerelease tags and their GitHub Releases. This prevents
stale prereleases from accumulating when versions are bumped — if the
server version changes from 1.0.3 to 1.1.0, the old
server-v1.0.3-prerelease is removed before server-v1.1.0-prerelease is
created.

The commit-based skip check (check job) has been removed. The nightly
now always builds on schedule or manual dispatch, simplifying the
workflow and eliminating the need for a marker tag to track the last
nightly run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* docs: add release process documentation

Adds RELEASE.md documenting the complete release pipeline for
contributors and maintainers. The release process was previously
undocumented, requiring reading the workflow YAML to understand how
versions are managed, what triggers builds, where packages are
published, and how idempotency works.

Covers both workflows (nightly prereleases and stable releases), all 5
packages and their registries, version management and how to release
individual packages, tag naming conventions, and troubleshooting for
common issues like orphaned tags and partial publish failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…ies (#149)

The build system's download-or-compile logic (`makeCheckPrebuiltAction`)
determines whether to download a pre-built server binary or compile from
source by comparing a content hash of the local source tree against the
manifest stored in a GitHub Release.

Previously, it only checked the stable release tag (`server-v{version}`),
which is published from the `main` branch. Developers building from
`develop` — where active development happens — would always get a content
hash mismatch because `develop` has diverged from `main`. This forced a
full C++ compile (~20+ minutes) on every clean build, even though the
nightly workflow had already built and published the exact same source as
a prerelease (`server-v{version}-prerelease`).

This change makes the download logic try both tags in order:

  1. `server-v{version}` (stable) — matches when building from `main`
  2. `server-v{version}-prerelease` (nightly) — matches when building
     from `develop`, since nightlies are built from that branch

If either manifest's content hash matches the local source, the pre-built
binary is downloaded. If neither matches, compilation proceeds as before.

This dramatically reduces build times for developers and CI jobs that
build from the `develop` branch, since the nightly prerelease binary
can be reused instead of recompiling from source.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…atus Errors tab (#139)

- Sidebar Pipelines tree: show error and warning counts on pipeline file and
  source names when task status has errors/warnings.
- Under each source with issues, show exactly two lines: "Warnings" (if any)
  and "Errors" (if any); no expandable folders or per-message lines.
- Clicking "Warnings" or "Errors" in the sidebar opens the pipeline status
  page (if needed), switches to the Errors tab, and scrolls to the
  corresponding Warnings or Errors section.
- PageStatusProvider: add getTaskStatus(projectId, sourceId) for the sidebar;
  call sidebar refresh from updateStatus() so counts update when task status
  changes.
- Status webview: handle scrollToSection (errors | warnings), set active tab
  to Errors and scroll to #errors-section or #warnings-section.
- Add revealErrorsSection(projectId, sourceId, section) and
  rocketride.sidebar.files.revealErrorsSection command.
…ic backend managers (#159)

The old ConnectionManager directly managed engine installation, process
spawning, and cloud connections in one large class, leading to tangled
control flow and race conditions when switching engine versions.

This refactor introduces a BaseManager / EngineManager / CloudManager
hierarchy so each backend owns its own lifecycle (install, start, stop).
ConnectionManager now delegates to the active manager and focuses solely
on client connectivity and reconnection state.

Key architectural changes:
- Extract BaseManager (abstract), EngineManager (local), CloudManager
  (cloud/onprem) from the former inline logic and deleted EngineServer
- EngineInstaller.install() now checks GitHub for newer versions when
  using 'latest'/'prerelease' (previously it trusted whatever was on
  disk), and tracks published_at to detect same-tag rebuilds
- EngineInstaller concurrency guard removed — caller (EngineManager)
  controls sequencing; added CancellationToken support so in-flight
  downloads abort on disconnect/config change

Key bug fixes:
- Config change handler debounced (300ms) — saveAllSettings() writes
  each setting individually, firing onDidChangeConfiguration per write.
  Without debounce, multiple concurrent disconnect/reconnect cycles raced
  against each other
- disconnect() now keeps isManualDisconnect=true until the next
  successful connection or explicit caller reset, preventing stale
  onDisconnected callbacks from triggering unwanted reconnection
- onDisconnected callback guarded with closure-based client reference
  check (this.client !== client) to ignore callbacks from replaced clients
- handleConnectionError() is now awaited in _connect()'s catch block —
  previously fire-and-forget, allowing the caller to race past and clear
  isManualDisconnect while the error handler was still deciding whether
  to reconnect
- handleConnectionLoss() and handleConnectionError() made async with
  awaited cleanup() calls — previously cleanup was fire-and-forget
- disconnect() and dispose() are now async, awaiting engine process
  shutdown instead of fire-and-forget kill
- Extension deactivate() is now async to properly await dispose()

UI:
- Connection page shows installed engine version and publish date
  when connected in local mode

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
- Add concurrency groups to CodeQL, Dependency Review, Container Scan,
  and Lint PR workflows to cancel stale runs on new pushes
- Add path filtering to CodeQL (source code only) and Dependency Review
  (lockfiles/manifests only) so they skip irrelevant PRs
- Container Scan already had path filtering; Lint PR fires on all PRs
  (intentional — it validates the PR title)

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
…ns' agent config field (#157)

* Fix no response from crew bug, add host tool descriptions to agent tool provider description

* Fixed no output bug for crew, add host tools description to agent tool description, modified agent node's instructions config

---------

Co-authored-by: dylansavage-aparavi <dylan.savage@aparavi.com>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
* chore: add community health files and OSS best practices

- CHANGELOG.md (Keep a Changelog format)
- CODEOWNERS (module-based review routing)
- SUPPORT.md (redirect support away from issues)
- FUNDING.yml (sponsor button)
- GOVERNANCE.md (roles and decision-making)
- CONTRIBUTING.md DCO section
- README.md OpenSSF Scorecard badge
- Renovate config for automated dependency updates
- Auto-labeler workflow (label PRs by module)
- Stale bot workflow (90+14 day lifecycle)
- OpenSSF Scorecard workflow (SARIF to Security tab)
- DCO enforcement workflow
- Dev Container for Codespaces
- Architecture Decision Records (ADR framework + first ADR)
- GitHub Copilot instructions

* fix: address review feedback on community health files

- Replace invalid dcoapp/app action with script-based DCO check
- Remove :automergeMinor from Renovate (only automerge patch)
- Fix ADR date to actual creation date

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
* refactor(ci): consolidate PR workflows into single CI workflow

Merge build, CodeQL, dependency-review, and container-scan into ci.yml
so PRs trigger one workflow run instead of four. Single concurrency
group means one cancel kills everything.

* fix(ci): skip container scan on PRs

Only run on push, schedule, and manual dispatch — matches original
path-filtered behavior without adding complexity.

---------

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
…169)

Replace `docker run --rm` with `docker pull` + `docker create` so the
container persists without auto-starting. Rename "Run engine" to
"Deploy locally" and add a "Deploy to remote server" section with
copyable commands. Uses separate sendText calls for cross-shell
compatibility (PowerShell 5.1 lacks &&).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
* add firecrawl tool for agentic nodes

* remove unused debug

* address PR review: drop namespace prefix, add outputSchema, revert pipelineUtils

- Remove _split_tool_name from firecrawl driver; tools now use bare names
  (scrape_url, map_url) instead of namespaced firecrawl.scrape_url
- Add outputSchema to both SCRAPE_URL_TOOL and MAP_URL_TOOL descriptors
- Include output_schema in _tool_query() returned descriptors
- Revert pipelineUtils.ts to develop (agent JSON fix handled in base class)
- Resolve crewai.py merge conflict: keep Dylan's fixes + add _make_args_schema
  and enhanced schema binding needed for firecrawl tool integration

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* rename folder

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…and improve engine arg forwarding (#168)

Root cause: PyConfig_InitIsolatedConfig defaults buffered_stdio=1, which
wraps Python's sys.stdout in a BufferedWriter. When the engine is spawned
by VS Code with stdio:'pipe' (not a TTY), print() output sits in the
buffer indefinitely because there is no auto-flush on non-TTY streams.
This caused the ASCII banner and other print()-based output to never
appear in VS Code.

Fix: Set g_config.buffered_stdio=0 in engine-lib's Python init so the
BufferedWriter layer is removed entirely. sys.stdout becomes a raw FileIO,
and print() output flushes immediately through pipes.

Additional changes:

Engine argument forwarding:
- Move engineArgs from rocketride.local.engineArgs to top-level
  rocketride.engineArgs so it applies to all connection modes, not just
  local engine
- Pass engineArgs through DAP launch requests (session.ts) and execute
  pipeline requests (PageStatusProvider, SidebarFilesProvider)
- Update config.ts, package.json, and PageSettingsProvider to match the
  new setting path

VS Code output channels:
- Split single "RocketRide" output channel into "Rocket Ride: Extension"
  (DAP traffic, connection lifecycle, diagnostics) and "Rocket Ride:
  Console" (plain engine stdout/stderr from pipelines)
- Route engine-manager stdout/stderr and pipeline output events to the
  new console channel for cleaner separation
- Remove icon prefixes from raw engine output so it reads naturally
- Remove redundant JSDoc and empty else blocks

Server cleanup:
- Remove stdout diagnostic code from eaas.py, node.py (temporary debug
  instrumentation used to diagnose the buffering issue)
- Remove redundant debug() call in task_engine.py that was double-logging
  output events
- Remove configuration print statements from eaas.py startup

Build:
- Remove vscode:clean from default build task (tasks.json)
- Generate .vscodeignore during staging to exclude engine directory from
  VSIX package (engine is downloaded at runtime)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
…175)

The HEALTHCHECK was hitting GET / every 10 seconds, which is not a
supported endpoint on the engine. Also removes curl from the image
since it was only needed for the healthcheck.

Signed-off-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
* update readme v1

* update v1
Rod.Christensen and others added 14 commits March 3, 2026 19:33
* refactor(vscode): remove integrations, deployment settings, and debug commands

Remove several features that are being replaced or are no longer part of the
extension's direction. This is a cleanup pass to reduce surface area before
building replacement functionality.

Delete the entire `integrations/` directory (integrateCopilot.ts,
integrateCursor.ts, integrations.ts, index.ts) and the IntegrationSettings
UI component. These modules synced RocketRide API docs into .github/copilot-
instructions.md and .cursorrules respectively. The approach of injecting
docs into IDE-specific files is being replaced with a different integration
strategy, so the settings (`copilotIntegration`, `cursorIntegration`),
the workspace-folder-change listener, the config-change listener, and
the startup sync call in extension.ts are all removed.

Remove the "Deployment connection" section from the Settings page. The
`deployUrl` config property, its load/save logic in PageSettingsProvider,
the `testDeployEndpoint` handler (~95 lines that created a temporary
RocketRideClient to verify deploy credentials), and the ConnectionSettings
UI (input + test button + message display) are all removed. The separate
Deploy *page* (PageDeployProvider) is unaffected — this only removes the
settings-page configuration for the deploy URL.

Remove the "Debug Pipeline" and "Deploy" inline buttons from the PIPELINES
sidebar tree view. The `launchPipeline` command handler (~25 lines, created
a debug config and called vscode.debug.startDebugging) and `attachPipeline`
command handler (~75 lines, resolved tokens, prompted for source selection,
created an attach config) are deleted from SidebarFilesProvider. Their
command definitions and `view/item/context` menu entries are removed from
package.json. The Run (play) and Stop (square) buttons remain.

Delete `apps/vscode/docs/` which contained API reference markdown files
(COMMON_MISTAKES, COMPONENT_REFERENCE, PIPELINE_RULES, QUICKSTART, README,
python_API, typescript_API) and integration template files (rules.md,
user.md). These were only consumed by the now-removed integration modules.

Filter prerelease versions out of the engine version selector dropdown in
ConnectionSettings. The `getReleases()` method in engine-installer.ts now
adds `!r.prerelease` to its filter, and the "(pre)" suffix label is removed
from the dropdown options since only stable releases are shown.

Remove the border/background from the status card and connection info
sections, and add top margin above the action buttons for better spacing.

* feat(vscode): add pipeline tracing toggle to status page

Replace the hardcoded pipelineTraceLevel: 'full' with user-controlled
tracing. The status page now shows an "Enable tracing" checkbox below
the Run button (only when the pipeline can be run). When checked, the
button reads "Run & Trace" and sends pipelineTraceLevel: 'full' with
the execute request. When unchecked, it reads "Run" and omits the
trace level, running without tracing overhead.

Also removes the trace level dropdown from the TraceSection header
(TraceLevel type, TRACE_LEVELS constant, select element, and related
props) and removes the sidebar's hardcoded pipelineTraceLevel: 'full'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* * Updated visual styling on the trace section

* * Reduced the visual size of the handle box displays

* * Fix CI/CD failure, remove TaskMetrics display

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Inline Docker image builds into the release and nightly workflows,
replacing the standalone docker-publish.yml. Release builds tag with
the server version and latest; nightly builds tag with version-prerelease.

The VS Code deploy button now resolves the engine image tag dynamically
from the connected engine version instead of always using :latest.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
#179)

- Return input_schema (not inputSchema) in tool descriptors to match agent framework
- Strip framework-injected keys (security_context) before forwarding to MCP server
- Add default User-Agent header to streamable-http and SSE transports (fixes Cloudflare 403)
- Remove mcp_client.env field from services.json and env handling from IGlobal.py
* fix icons and update docs

* Fix formatting in README.md for high-performance engine

Remove "No GIL"

* adjust coloring in agent config text boxes

* update readme v2

* update readme v3

* update docs v3

* * Add VSCode marketplace readme

---------

Co-authored-by: Rod-Christensen <98939082+Rod-Christensen@users.noreply.github.com>
Co-authored-by: Rod.Christensen <rod.christensen@aparavi.com>
- Merge lint-pr.yaml + labeler.yml into single pr-checks.yml
- Remove DCO enforcement (team not ready for sign-off workflow)
- Remove DCO section from CONTRIBUTING.md
- Delete circleback-webhook.yml (creating noise issues)

PR workflows reduced from 4 to 2 (CI + PR checks).

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
The dictToJson function previously only handled primitive types,
lists, tuples, and dicts, throwing an exception for anything else.
This caused failures when Python objects contained pydantic models
or method/function references as values.

- Add pydantic v2 support via model_dump() serialization
- Add pydantic v1 fallback via dict() with __fields__ guard
- Add catch-all for callables (functions, methods, builtins,
  partials) using PyCallable_Check, returning "<method>" placeholder
- Order: pydantic checks before callable check, since pydantic
  model classes are technically callable
- The issue manifested itself when tracing through invoke calls
  which were obtaining a function reference or passing a pydantic object
Allow manual triggering of the release workflow from the Actions UI.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
npm interprets paths without ./ prefix as GitHub shorthand (owner/repo),
causing it to attempt git ls-remote instead of publishing the local file.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
Add id-token: write permission and --provenance flag to npm publish
for OIDC-based authentication with npm trusted publishers.

Co-authored-by: Dmitrii Karataev <dmitriikarataev@Dmitriis-MacBook-Pro.local>
@github-actions github-actions Bot added docs Documentation module:server C++ engine and server components module:nodes Python pipeline nodes module:client-python Python SDK and MCP client module:vscode VS Code extension module:ai AI/ML modules module:ui Chat UI and Dropper UI ci/cd CI/CD and build system zz: module:client-ts Deprecated 2026-08-05, do not use; superseded by module:client-typescript labels Mar 5, 2026
@github-advanced-security

Copy link
Copy Markdown
Contributor

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

Comment thread .github/workflows/ci.yml
actions: read
checks: read
contents: read
packages: write

Check failure

Code scanning / Scorecard

Token-Permissions High

score is 0: jobLevel 'packages' permission set to 'write'
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help
Comment thread .github/workflows/ci.yml
permissions:
actions: read
contents: read
packages: write

Check failure

Code scanning / Scorecard

Token-Permissions High

score is 0: jobLevel 'packages' permission set to 'write'
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help
Comment thread .github/workflows/ci.yml
permissions:
actions: read
contents: read
packages: write

Check failure

Code scanning / Scorecard

Token-Permissions High

score is 0: jobLevel 'packages' permission set to 'write'
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help
cancel-in-progress: true

permissions:
contents: write

Check failure

Code scanning / Scorecard

Token-Permissions High

score is 0: topLevel 'contents' permission set to 'write'
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help

permissions:
contents: write
packages: write

Check failure

Code scanning / Scorecard

Token-Permissions High

score is 0: topLevel 'packages' permission set to 'write'
Remediation tip: Visit https://app.stepsecurity.io/secureworkflow.
Tick the 'Restrict permissions for GITHUB_TOKEN'
Untick other options
NOTE: If you want to resolve multiple issues at once, you can visit https://app.stepsecurity.io/securerepo instead.
Click Remediation section below for further remediation help
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 5: GitHub-owned GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io
Click Remediation section below for further remediation help
persist-credentials: false

- name: Run Scorecard
uses: ossf/scorecard-action@v2.4.0

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 5: third-party GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io
Click Remediation section below for further remediation help
publish_results: true

- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v3

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 5: GitHub-owned GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io
Click Remediation section below for further remediation help
runs-on: ubuntu-latest
steps:
- name: Mark stale
uses: actions/stale@v9

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 5: GitHub-owned GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io
Click Remediation section below for further remediation help
Comment thread docker/Dockerfile.engine
@@ -0,0 +1,20 @@
FROM ubuntu:jammy

Check warning

Code scanning / Scorecard

Pinned-Dependencies Medium

score is 6: containerImage not pinned by hash
Remediation tip: pin your Docker image by updating ubuntu:jammy to ubuntu:jammy@sha256:962f6cadeae0ea6284001009daa4cc9a8c37e75d1f5191cf0eb83fe565b63dd7
Click Remediation section below for further remediation help
if ctx is not None:
try:
q.addContext(json.dumps({'type': 'RocketRide.agent.tool_context.v1', 'context': ctx}, default=str))
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 9 months ago

In general, to fix an empty except block you either (a) handle the exception meaningfully (e.g., logging, fallback behavior, re-raising), or (b) document with a clear comment that ignoring it is intentional. Here we want to preserve existing behavior: if context serialization fails, the agent should still be invoked, just without context. We can keep that behavior but add lightweight logging so the failure is not completely silent.

Best targeted fix for this file:

  • Add an import logging at the top (standard library, no new dependencies).
  • In _tool_invoke, narrow the bare except Exception: to a named exception variable and log the failure at debug or warning level instead of just pass. We keep the control flow the same (no re-raise), so functionality is unchanged aside from the new log message.

Concretely:

  • In packages/ai/src/ai/common/agent/_internal/agent_tool.py, add import logging alongside the other imports.
  • Replace the empty except Exception: block (lines 173–176) with a block that catches Exception as exc and uses logging.getLogger(__name__).warning(...) (or .debug(...)) to record the failure to serialize tool context, including the exception message. After logging, we do nothing else so the agent runs as before.

No new methods or complex definitions are needed; only the import and the logging call.

Suggested changeset 1
packages/ai/src/ai/common/agent/_internal/agent_tool.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/packages/ai/src/ai/common/agent/_internal/agent_tool.py b/packages/ai/src/ai/common/agent/_internal/agent_tool.py
--- a/packages/ai/src/ai/common/agent/_internal/agent_tool.py
+++ b/packages/ai/src/ai/common/agent/_internal/agent_tool.py
@@ -8,6 +8,7 @@
 from __future__ import annotations
 
 import json
+import logging
 from typing import Any, Dict, List, Optional, Tuple
 
 from ai.common.schema import Question
@@ -172,7 +173,10 @@
         if ctx is not None:
             try:
                 q.addContext(json.dumps({'type': 'RocketRide.agent.tool_context.v1', 'context': ctx}, default=str))
-            except Exception:
-                pass
+            except Exception as exc:
+                logging.getLogger(__name__).warning(
+                    "agent tool: failed to serialize context for tool invocation; continuing without context: %s",
+                    exc,
+                )
 
         return self._agent.run_agent(self._pSelf, q, emit_answers_lane=False)
EOF
@@ -8,6 +8,7 @@
from __future__ import annotations

import json
import logging
from typing import Any, Dict, List, Optional, Tuple

from ai.common.schema import Question
@@ -172,7 +173,10 @@
if ctx is not None:
try:
q.addContext(json.dumps({'type': 'RocketRide.agent.tool_context.v1', 'context': ctx}, default=str))
except Exception:
pass
except Exception as exc:
logging.getLogger(__name__).warning(
"agent tool: failed to serialize context for tool invocation; continuing without context: %s",
exc,
)

return self._agent.run_agent(self._pSelf, q, emit_answers_lane=False)
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
text = safe_str(get_prompt()).strip()
if text:
return text
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 9 months ago

In general, empty except blocks should either be removed (letting the exception propagate) or replaced with proper handling such as logging, cleanup, or recovery logic, and ideally should catch more specific exception types.

For this function, the best fix that preserves existing behavior is:

  • Keep catching Exception so that a failing getPrompt() does not break callers.
  • Add a module-level logger (using the standard logging module) and log the exception at debug or warning level inside the except block.
  • Optionally add a brief comment clarifying that we intentionally fall back to alternate extraction methods when getPrompt() fails.

Concretely:

  • In packages/ai/src/ai/common/agent/_internal/utils.py, add import logging and a logger definition, e.g. logger = logging.getLogger(__name__) near the top (without altering existing imports).
  • Replace the empty except Exception: pass in extract_prompt with an except Exception as exc: block that logs the error (e.g. logger.debug("Failed to extract prompt via getPrompt(): %s", exc)), then continues to the existing fallback logic.

This leaves all returns and fallbacks unchanged while addressing the "empty except" issue.

Suggested changeset 1
packages/ai/src/ai/common/agent/_internal/utils.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/packages/ai/src/ai/common/agent/_internal/utils.py b/packages/ai/src/ai/common/agent/_internal/utils.py
--- a/packages/ai/src/ai/common/agent/_internal/utils.py
+++ b/packages/ai/src/ai/common/agent/_internal/utils.py
@@ -14,8 +14,11 @@
 import uuid
 from datetime import datetime, timezone
 from typing import Any, Dict, List, Optional, Union
+import logging
 
+logger = logging.getLogger(__name__)
 
+
 def extract_prompt(question: Any) -> str:
     """
     Extract the full prompt text from a Question-like object.
@@ -29,8 +30,9 @@
             text = safe_str(get_prompt()).strip()
             if text:
                 return text
-        except Exception:
-            pass
+        except Exception as exc:
+            # Log and fall back to alternative prompt extraction paths.
+            logger.debug("Failed to extract prompt via getPrompt(): %s", exc)
     if hasattr(question, 'questions') and getattr(question, 'questions', None):
         first = question.questions[0]
         if hasattr(first, 'text'):
EOF
@@ -14,8 +14,11 @@
import uuid
from datetime import datetime, timezone
from typing import Any, Dict, List, Optional, Union
import logging

logger = logging.getLogger(__name__)


def extract_prompt(question: Any) -> str:
"""
Extract the full prompt text from a Question-like object.
@@ -29,8 +30,9 @@
text = safe_str(get_prompt()).strip()
if text:
return text
except Exception:
pass
except Exception as exc:
# Log and fall back to alternative prompt extraction paths.
logger.debug("Failed to extract prompt via getPrompt(): %s", exc)
if hasattr(question, 'questions') and getattr(question, 'questions', None):
first = question.questions[0]
if hasattr(first, 'text'):
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
parsed = _json.loads(input_obj)
if isinstance(parsed, dict):
input_obj = parsed
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 9 months ago

In general, empty except blocks should either be removed (letting exceptions propagate) or replaced with handling that logs or otherwise responds to the error, possibly with a comment explaining why it’s safe to continue. Here, we want to preserve the current behavior (a failed JSON parse does not raise) while adding minimal logging and explanation.

The best fix is: in _normalize_tool_input, update the except Exception: block to (1) capture the exception as exc, (2) add a short comment explaining that JSON parse failures are tolerated, and (3) invoke warning(...) with a concise message including the exception and a repr of the input. This keeps functionality (we still ignore the parse failure and fall back) but avoids a completely empty handler and aids debugging. All changes are in nodes/src/nodes/tool_firecrawl/firecrawl_driver.py, within the shown snippet; no new imports or helpers are needed because warning is already imported at the top.

Suggested changeset 1
nodes/src/nodes/tool_firecrawl/firecrawl_driver.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/nodes/src/nodes/tool_firecrawl/firecrawl_driver.py b/nodes/src/nodes/tool_firecrawl/firecrawl_driver.py
--- a/nodes/src/nodes/tool_firecrawl/firecrawl_driver.py
+++ b/nodes/src/nodes/tool_firecrawl/firecrawl_driver.py
@@ -213,8 +213,9 @@
             parsed = _json.loads(input_obj)
             if isinstance(parsed, dict):
                 input_obj = parsed
-        except Exception:
-            pass
+        except Exception as exc:
+            # Best-effort JSON parsing only; log and continue with the original string.
+            warning(f'firecrawl: failed to parse JSON input {input_obj!r}: {exc}')
 
     if not isinstance(input_obj, dict):
         warning(f'firecrawl: unexpected input type {type(input_obj).__name__}: {input_obj!r}')
EOF
@@ -213,8 +213,9 @@
parsed = _json.loads(input_obj)
if isinstance(parsed, dict):
input_obj = parsed
except Exception:
pass
except Exception as exc:
# Best-effort JSON parsing only; log and continue with the original string.
warning(f'firecrawl: failed to parse JSON input {input_obj!r}: {exc}')

if not isinstance(input_obj, dict):
warning(f'firecrawl: unexpected input type {type(input_obj).__name__}: {input_obj!r}')
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
if 'json' in content_type or 'javascript' in content_type:
try:
parsed_json = resp.json()
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 9 months ago

In general, empty except blocks should either be removed (allowing exceptions to propagate) or replaced with explicit handling that at least logs or records the error or constrains the caught exception type. Here, callers already expect that JSON parsing might fail and rely on json being None in that case, so we should preserve the non-raising behavior but avoid silently discarding errors.

The best minimal fix is to (1) narrow the exception to ValueError (the primary error type raised by requests.Response.json() for invalid JSON) to avoid masking unrelated issues, and (2) add an explanatory comment so the intent is clear and the linter/static analyzer recognizes that the except is intentional. Given the constraints, we will not add logging (which could require broader project decisions), but we can still make the handler explicit and documented.

Concretely, in nodes/src/nodes/tool_http_request/http_client.py, within _build_response, replace:

179:     if 'json' in content_type or 'javascript' in content_type:
180:         try:
181:             parsed_json = resp.json()
182:         except Exception:
183:             pass

with a block that catches ValueError and includes a brief comment explaining that JSON parsing failures are benign and intentionally ignored, while leaving parsed_json as None. No new imports or helper methods are required.

Suggested changeset 1
nodes/src/nodes/tool_http_request/http_client.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/nodes/src/nodes/tool_http_request/http_client.py b/nodes/src/nodes/tool_http_request/http_client.py
--- a/nodes/src/nodes/tool_http_request/http_client.py
+++ b/nodes/src/nodes/tool_http_request/http_client.py
@@ -179,8 +179,10 @@
     if 'json' in content_type or 'javascript' in content_type:
         try:
             parsed_json = resp.json()
-        except Exception:
-            pass
+        except ValueError:
+            # If the response body is not valid JSON despite the content type,
+            # leave ``parsed_json`` as ``None`` and fall back to the raw text.
+            parsed_json = None
 
     return {
         'status_code': resp.status_code,
EOF
@@ -179,8 +179,10 @@
if 'json' in content_type or 'javascript' in content_type:
try:
parsed_json = resp.json()
except Exception:
pass
except ValueError:
# If the response body is not valid JSON despite the content type,
# leave ``parsed_json`` as ``None`` and fall back to the raw text.
parsed_json = None

return {
'status_code': resp.status_code,
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
parts.append(emsg)
if parts:
message = ' '.join(parts)
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 9 months ago

General approach: avoid empty except blocks. Either narrow the exception type or, if the failure can be safely ignored, add a brief comment and/or minimal logging so that unexpected situations are not entirely silent.

Best concrete fix here: retain the current behavior of not breaking validateConfig when response parsing fails, but (a) explicitly preserve the original message so it is not left in a partially modified state, and (b) add a short comment explaining that parsing errors are intentionally ignored. This keeps existing externally visible functionality the same (the warning still shows at least str(e)), but makes the intent clear and avoids a bare pass in a broad except.

The change is localized to nodes/src/nodes/llm_qwen/IGlobal.py, within the except APIStatusError as e: block around lines 88–113. We do not need new imports or new methods; we only adjust the inner except Exception: block to store the original message, attempt enrichment, and fall back on error. No other files are changed.

Suggested changeset 1
nodes/src/nodes/llm_qwen/IGlobal.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/nodes/src/nodes/llm_qwen/IGlobal.py b/nodes/src/nodes/llm_qwen/IGlobal.py
--- a/nodes/src/nodes/llm_qwen/IGlobal.py
+++ b/nodes/src/nodes/llm_qwen/IGlobal.py
@@ -88,6 +88,7 @@
             except APIStatusError as e:
                 # HTTP error with structured body; pull status/type/message
                 status = getattr(e, 'status_code', None) or getattr(e, 'status', None)
+                # Start with the raw exception text as a safe default
                 message = str(e)
                 try:
                     resp = getattr(e, 'response', None)
@@ -108,7 +109,8 @@
                         if parts:
                             message = ' '.join(parts)
                 except Exception:
-                    pass
+                    # If response parsing fails, fall back to the original message
+                    message = str(e)
                 warning(self._format_error(message))
                 return
             except (AuthenticationError, RateLimitError, APIConnectionError, OpenAIError) as e:
EOF
@@ -88,6 +88,7 @@
except APIStatusError as e:
# HTTP error with structured body; pull status/type/message
status = getattr(e, 'status_code', None) or getattr(e, 'status', None)
# Start with the raw exception text as a safe default
message = str(e)
try:
resp = getattr(e, 'response', None)
@@ -108,7 +109,8 @@
if parts:
message = ' '.join(parts)
except Exception:
pass
# If response parsing fails, fall back to the original message
message = str(e)
warning(self._format_error(message))
return
except (AuthenticationError, RateLimitError, APIConnectionError, OpenAIError) as e:
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated

try:
proc.terminate()
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 8 months ago

In general, empty except blocks should either (1) narrow the caught exception type and handle it explicitly, (2) log/report the error, or (3) include a clear comment explaining why the exception is being ignored. Here, we must preserve behavior (not raising during stop()), but avoid completely silent swallowing of errors.

The best minimal fix is to keep catching Exception but replace each pass with a short comment explaining that failures during shutdown are being ignored intentionally and optionally log them to stderr using the standard library logging module. That adds diagnostic information without changing control flow: stop() will still never raise due to cleanup failures. We only need to add an import for logging at the top of this file and then replace the except Exception: pass blocks in stop() with logging.debug(...) or logging.error(...) calls, plus a brief comment. We must keep edits confined to nodes/src/nodes/mcp_client/mcp_stdio_client.py in the shown snippet.

Concretely:

  • Add import logging near the other imports.
  • In stop(), for the blocks at lines 126–129, 132–136, 138–141, 142–146, and 148–151, replace each bare pass with a logging call like logging.debug("...: %s", exc) in an except Exception as exc: block, with a short comment indicating that shutdown is best-effort. This preserves behavior but eliminates empty except bodies and documents the intent.
Suggested changeset 1
nodes/src/nodes/mcp_client/mcp_stdio_client.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/nodes/src/nodes/mcp_client/mcp_stdio_client.py b/nodes/src/nodes/mcp_client/mcp_stdio_client.py
--- a/nodes/src/nodes/mcp_client/mcp_stdio_client.py
+++ b/nodes/src/nodes/mcp_client/mcp_stdio_client.py
@@ -42,6 +42,7 @@
 import time
 from dataclasses import dataclass
 from typing import Any, Dict, List, Optional
+import logging
 
 
 class McpProtocolError(RuntimeError):
@@ -125,41 +126,48 @@
             if proc.stdin:
                 try:
                     proc.stdin.close()
-                except Exception:
-                    pass
+                except Exception as exc:
+                    # Ignore stdin close failures during best-effort shutdown, but log for debugging.
+                    logging.debug("Failed to close MCP server stdin during stop(): %s", exc)
 
             # Give server a moment to exit gracefully
             try:
                 proc.wait(timeout=2.0)
                 return
-            except Exception:
-                pass
+            except Exception as exc:
+                # Server did not exit cleanly within timeout; will try terminate/kill next.
+                logging.debug("MCP server did not exit on initial wait(): %s", exc)
 
             try:
                 proc.terminate()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Ignore terminate failures (process may already be gone), but log for diagnosis.
+                logging.debug("Failed to terminate MCP server process: %s", exc)
             try:
                 proc.wait(timeout=2.0)
                 return
-            except Exception:
-                pass
+            except Exception as exc:
+                # Process still not gone; will attempt kill() as last resort.
+                logging.debug("MCP server did not exit after terminate(): %s", exc)
 
             try:
                 proc.kill()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Final kill() attempt failed; ignore to avoid raising from stop(), but log it.
+                logging.debug("Failed to kill MCP server process: %s", exc)
         finally:
             try:
                 if proc.stdout:
                     proc.stdout.close()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Ignore stdout close failures during shutdown, but log for debugging.
+                logging.debug("Failed to close MCP server stdout: %s", exc)
             try:
                 if proc.stderr:
                     proc.stderr.close()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Ignore stderr close failures during shutdown, but log for debugging.
+                logging.debug("Failed to close MCP server stderr: %s", exc)
 
     def list_tools(self) -> List[McpToolDef]:
         result = self._request('tools/list', {})
EOF
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
try:
proc.wait(timeout=2.0)
return
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 8 months ago

In general, to fix an empty except block you either (a) narrow the caught exception type and/or (b) perform some minimal handling, such as logging, adding an explanatory comment, or converting to a more appropriate exception, instead of silently passing.

For McpStdioClient.stop, existing functionality clearly aims to: never raise during shutdown, but try a sequence of graceful-to-forceful termination steps. We can preserve this behavior while addressing the issue by logging exceptions when they occur, but still not re-raising them. The most lightweight fix is to replace each except Exception: pass with except Exception as exc: followed by a comment (explaining that shutdown must be best-effort) and a simple print-based log to stderr that includes the class name and, if possible, an identifier like the command being run. This avoids adding new dependencies and doesn’t change control flow: all exceptions are still swallowed, but now they are visible in logs.

Concretely, in nodes/src/nodes/mcp_client/mcp_stdio_client.py we should:

  • Add an import sys near the top alongside other imports.
  • Replace each except Exception: block in stop (four in the main try for stdin/wait/terminate/kill, and two in the finally for stdout/stderr) with except Exception as exc: that prints a short diagnostic message to sys.stderr.
    We won’t change any other logic or method signatures.
Suggested changeset 1
nodes/src/nodes/mcp_client/mcp_stdio_client.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/nodes/src/nodes/mcp_client/mcp_stdio_client.py b/nodes/src/nodes/mcp_client/mcp_stdio_client.py
--- a/nodes/src/nodes/mcp_client/mcp_stdio_client.py
+++ b/nodes/src/nodes/mcp_client/mcp_stdio_client.py
@@ -40,6 +40,7 @@
 import os
 import subprocess
 import time
+import sys
 from dataclasses import dataclass
 from typing import Any, Dict, List, Optional
 
@@ -125,41 +126,48 @@
             if proc.stdin:
                 try:
                     proc.stdin.close()
-                except Exception:
-                    pass
+                except Exception as exc:
+                    # Best-effort shutdown: ignore close errors but log for debugging.
+                    print(f"[McpStdioClient.stop] Failed to close stdin for {self._command!r}: {exc}", file=sys.stderr)
 
             # Give server a moment to exit gracefully
             try:
                 proc.wait(timeout=2.0)
                 return
-            except Exception:
-                pass
+            except Exception as exc:
+                # Ignore wait errors but log them and continue with terminate/kill fallback.
+                print(f"[McpStdioClient.stop] Error while waiting for {self._command!r} to exit: {exc}", file=sys.stderr)
 
             try:
                 proc.terminate()
-            except Exception:
-                pass
+            except Exception as exc:
+                # If terminate fails, log and fall back to kill.
+                print(f"[McpStdioClient.stop] Failed to terminate {self._command!r}: {exc}", file=sys.stderr)
             try:
                 proc.wait(timeout=2.0)
                 return
-            except Exception:
-                pass
+            except Exception as exc:
+                # Ignore wait errors but log them and fall through to kill.
+                print(f"[McpStdioClient.stop] Error while waiting after terminate for {self._command!r}: {exc}", file=sys.stderr)
 
             try:
                 proc.kill()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Final kill attempt failed; log and give up.
+                print(f"[McpStdioClient.stop] Failed to kill {self._command!r}: {exc}", file=sys.stderr)
         finally:
             try:
                 if proc.stdout:
                     proc.stdout.close()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Ignore stdout close errors but log for diagnostics.
+                print(f"[McpStdioClient.stop] Failed to close stdout for {self._command!r}: {exc}", file=sys.stderr)
             try:
                 if proc.stderr:
                     proc.stderr.close()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Ignore stderr close errors but log for diagnostics.
+                print(f"[McpStdioClient.stop] Failed to close stderr for {self._command!r}: {exc}", file=sys.stderr)
 
     def list_tools(self) -> List[McpToolDef]:
         result = self._request('tools/list', {})
EOF
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
if proc.stdin:
try:
proc.stdin.close()
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 8 months ago

In general, to fix an empty except block, either (a) narrow the exception type and add proper handling (logging, recovery, re-raise), or (b) if ignoring is intentional, add a clear comment explaining why, or log at an appropriate level. Here, we want to keep stop() best-effort and non-raising, but we should not completely hide unexpected exceptions.

The best targeted fix is to replace each except Exception: pass in McpStdioClient.stop with an except Exception as exc: that logs the error (at debug or warning level) including context, while not re-raising. This preserves existing behavior (no new exceptions escape from stop) but exposes information for debugging. To do this without changing semantics elsewhere, we:

  • Add an import logging at the top of nodes/src/nodes/mcp_client/mcp_stdio_client.py.
  • In stop, change each bare except Exception: to except Exception as exc: and call logging.debug (or logging.warning) with a short, specific message and exc_info=True so stack traces are available if configured.
  • Keep the overall control flow identical: we still return after successful wait calls and continue to the next termination step after a failure.

Changes are confined to nodes/src/nodes/mcp_client/mcp_stdio_client.py in the shown snippets: one new import and several small edits to the stop method’s except blocks.

Suggested changeset 1
nodes/src/nodes/mcp_client/mcp_stdio_client.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/nodes/src/nodes/mcp_client/mcp_stdio_client.py b/nodes/src/nodes/mcp_client/mcp_stdio_client.py
--- a/nodes/src/nodes/mcp_client/mcp_stdio_client.py
+++ b/nodes/src/nodes/mcp_client/mcp_stdio_client.py
@@ -40,6 +40,7 @@
 import os
 import subprocess
 import time
+import logging
 from dataclasses import dataclass
 from typing import Any, Dict, List, Optional
 
@@ -125,41 +126,41 @@
             if proc.stdin:
                 try:
                     proc.stdin.close()
-                except Exception:
-                    pass
+                except Exception as exc:
+                    logging.debug("Failed to close MCP server stdin", exc_info=exc)
 
             # Give server a moment to exit gracefully
             try:
                 proc.wait(timeout=2.0)
                 return
-            except Exception:
-                pass
+            except Exception as exc:
+                logging.debug("MCP server did not exit on initial wait()", exc_info=exc)
 
             try:
                 proc.terminate()
-            except Exception:
-                pass
+            except Exception as exc:
+                logging.debug("Failed to terminate MCP server process", exc_info=exc)
             try:
                 proc.wait(timeout=2.0)
                 return
-            except Exception:
-                pass
+            except Exception as exc:
+                logging.debug("MCP server did not exit after terminate()", exc_info=exc)
 
             try:
                 proc.kill()
-            except Exception:
-                pass
+            except Exception as exc:
+                logging.debug("Failed to kill MCP server process", exc_info=exc)
         finally:
             try:
                 if proc.stdout:
                     proc.stdout.close()
-            except Exception:
-                pass
+            except Exception as exc:
+                logging.debug("Failed to close MCP server stdout", exc_info=exc)
             try:
                 if proc.stderr:
                     proc.stderr.close()
-            except Exception:
-                pass
+            except Exception as exc:
+                logging.debug("Failed to close MCP server stderr", exc_info=exc)
 
     def list_tools(self) -> List[McpToolDef]:
         result = self._request('tools/list', {})
EOF
@@ -40,6 +40,7 @@
import os
import subprocess
import time
import logging
from dataclasses import dataclass
from typing import Any, Dict, List, Optional

@@ -125,41 +126,41 @@
if proc.stdin:
try:
proc.stdin.close()
except Exception:
pass
except Exception as exc:
logging.debug("Failed to close MCP server stdin", exc_info=exc)

# Give server a moment to exit gracefully
try:
proc.wait(timeout=2.0)
return
except Exception:
pass
except Exception as exc:
logging.debug("MCP server did not exit on initial wait()", exc_info=exc)

try:
proc.terminate()
except Exception:
pass
except Exception as exc:
logging.debug("Failed to terminate MCP server process", exc_info=exc)
try:
proc.wait(timeout=2.0)
return
except Exception:
pass
except Exception as exc:
logging.debug("MCP server did not exit after terminate()", exc_info=exc)

try:
proc.kill()
except Exception:
pass
except Exception as exc:
logging.debug("Failed to kill MCP server process", exc_info=exc)
finally:
try:
if proc.stdout:
proc.stdout.close()
except Exception:
pass
except Exception as exc:
logging.debug("Failed to close MCP server stdout", exc_info=exc)
try:
if proc.stderr:
proc.stderr.close()
except Exception:
pass
except Exception as exc:
logging.debug("Failed to close MCP server stderr", exc_info=exc)

def list_tools(self) -> List[McpToolDef]:
result = self._request('tools/list', {})
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
try:
if self._resp is not None:
self._resp.close()
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 8 months ago

In general, empty except blocks should either (a) be removed in favor of more precise exception handling, or (b) record/log the fact that something went wrong, possibly with a short comment clarifying why it is safe to continue. Here, the inner except Exception: pass in _reader_loop is only protecting a cleanup operation (self._resp.close()), so the best fix is to keep swallowing the exception (to maintain behavior) but add a minimal logging hook and an explanatory comment. This preserves existing functionality while ensuring that if .close() ever does fail, developers can see it.

Concretely, in nodes/src/nodes/mcp_client/mcp_sse_client.py around lines 301–306, replace the except Exception: pass with an except Exception as exc: block that includes a short comment and uses a standard library logger (e.g., logging.getLogger(__name__)) to log the failure at debug level. To implement this, we need to import logging at the top of the file (alongside the other standard imports) and create a module‑level logger instance. No other behavior in _reader_loop will change.

Suggested changeset 1
nodes/src/nodes/mcp_client/mcp_sse_client.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/nodes/src/nodes/mcp_client/mcp_sse_client.py b/nodes/src/nodes/mcp_client/mcp_sse_client.py
--- a/nodes/src/nodes/mcp_client/mcp_sse_client.py
+++ b/nodes/src/nodes/mcp_client/mcp_sse_client.py
@@ -47,10 +47,14 @@
 import urllib.error
 import urllib.parse
 import urllib.request
+import logging
 from dataclasses import dataclass
 from typing import Any, Dict, List, Optional
 
 
+_logger = logging.getLogger(__name__)
+
+
 class McpProtocolError(RuntimeError):
     pass
 
@@ -302,8 +302,9 @@
             try:
                 if self._resp is not None:
                     self._resp.close()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Ignore errors during best-effort cleanup, but record for diagnostics.
+                _logger.debug("Error while closing SSE response: %r", exc)
 
     def _handle_sse_event(self, *, event: str, data: str) -> None:
         if event == 'endpoint':
EOF
@@ -47,10 +47,14 @@
import urllib.error
import urllib.parse
import urllib.request
import logging
from dataclasses import dataclass
from typing import Any, Dict, List, Optional


_logger = logging.getLogger(__name__)


class McpProtocolError(RuntimeError):
pass

@@ -302,8 +302,9 @@
try:
if self._resp is not None:
self._resp.close()
except Exception:
pass
except Exception as exc:
# Ignore errors during best-effort cleanup, but record for diagnostics.
_logger.debug("Error while closing SSE response: %r", exc)

def _handle_sse_event(self, *, event: str, data: str) -> None:
if event == 'endpoint':
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
try:
if resp is not None:
resp.close()
except Exception:

Check notice

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Copilot Autofix

AI 8 months ago

In general, to fix an empty except you either (a) narrow the exception type and handle it meaningfully, or (b) at least log/report the exception so it isn’t silently discarded. If the failure is truly safe to ignore, an explicit comment should document that decision.

Here, we should preserve the non-fatal behavior of stop() (it should not raise during cleanup), but avoid completely silent suppression. The best low-impact fix is to add minimal logging inside the except block. Since we must not assume any project-specific logging framework and the snippet has no logging imports, we can safely use print to stderr as a fallback. That adds observability without changing control flow.

Concretely, in nodes/src/nodes/mcp_client/mcp_sse_client.py, in the stop method around lines 127–141, replace:

            try:
                if resp is not None:
                    resp.close()
            except Exception:
                pass

with a version that catches Exception, emits a brief diagnostic (including the exception type and message), and still continues:

            try:
                if resp is not None:
                    resp.close()
            except Exception as exc:
                print(f'Warning: failed to close SSE response cleanly: {exc!r}')

This keeps stop() robust while satisfying the CodeQL rule by handling the exception in a meaningful way.

Suggested changeset 1
nodes/src/nodes/mcp_client/mcp_sse_client.py

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/nodes/src/nodes/mcp_client/mcp_sse_client.py b/nodes/src/nodes/mcp_client/mcp_sse_client.py
--- a/nodes/src/nodes/mcp_client/mcp_sse_client.py
+++ b/nodes/src/nodes/mcp_client/mcp_sse_client.py
@@ -132,8 +132,9 @@
             try:
                 if resp is not None:
                     resp.close()
-            except Exception:
-                pass
+            except Exception as exc:
+                # Best-effort cleanup: log and continue so stop() remains non-fatal.
+                print(f'Warning: failed to close SSE response cleanly: {exc!r}')
         finally:
             t = self._reader_thread
             self._reader_thread = None
EOF
@@ -132,8 +132,9 @@
try:
if resp is not None:
resp.close()
except Exception:
pass
except Exception as exc:
# Best-effort cleanup: log and continue so stop() remains non-fatal.
print(f'Warning: failed to close SSE response cleanly: {exc!r}')
finally:
t = self._reader_thread
self._reader_thread = None
Copilot is powered by AI and may make mistakes. Always verify output.
Unable to commit as this autofix suggestion is now outdated
@kwit75 kwit75 closed this Mar 5, 2026
kwit75 pushed a commit that referenced this pull request Jun 23, 2026
Three new overrides and five floor bumps close 13 of 20 open
Dependabot alerts on rocketride-org/rocketride-server. The remaining
7 alerts (3 cryptography HIGH + 2 nltk HIGH, all pip; plus dompurify
GHSA-x4vx-rjvf-j5p4 LOW + one other unpatched) are tracked separately.

  HIGH      #184  ws            < 8.21.0          → bump >=8.20.1 → >=8.21.0
  HIGH      #188  form-data     >= 4.0.0, < 4.0.6 →  >=4.0.6 <5  (new)
  HIGH      #190  protobufjs    <= 7.6.0          → bump >=7.5.5 → >=7.6.3
  MEDIUM    #189  protobufjs    <= 7.6.2          → (same fix as #190)
  MEDIUM    #186  js-yaml       <= 4.1.1          → bump >=4.1.1 → >=4.2.0
  MEDIUM    #187  tar           <= 7.5.15         →  >=7.5.16 <8 (new)
  MEDIUM    #201  markdown-it   <= 14.1.1         → bump >=14.1.1 → >=14.2.0
  MEDIUM    #194  dompurify     <= 3.4.5          → bump >=3.4.0 → >=3.4.9 (preserve <3.5.0)
  MEDIUM    #195  dompurify     <= 3.4.5          → (same fix)
  MEDIUM    #196  dompurify     < 3.4.7           → (same fix)
  MEDIUM    #198  dompurify     <= 3.4.6          → (same fix)
  LOW       #185  @babel/core   <= 7.29.0         →  >=7.29.6 <8 (new)
  LOW       #199  dompurify     >= 3.0.0, <= 3.4.7→ (same dompurify fix)
  LOW       #200  dompurify     < 3.4.9           → (same dompurify fix)

dompurify upper bound kept at `<3.5.0` to preserve the existing
narrow-major pin that was in the prior override.

Companion PR on rocketride-ai/rocketride-saas#265 covers the same
8 npm packages on the saas side.

Out of scope for this PR (no fix via pnpm.overrides):

  HIGH      #202, #203  nltk           pip, patched=— (no upstream patch)
  HIGH      #191, #192, #193  cryptography  pip, patched=48.0.1
                                       (needs Python deps update)
  LOW       #197  dompurify (GHSA-x4vx-rjvf-j5p4)  patched=—
                                       (no upstream patch)
AviNormie pushed a commit to AviNormie/rocketride-server that referenced this pull request Nov 9, 2026
…ketride-org#1323)

Three new overrides and five floor bumps close 13 of 20 open
Dependabot alerts on rocketride-org/rocketride-server. The remaining
7 alerts (3 cryptography HIGH + 2 nltk HIGH, all pip; plus dompurify
GHSA-x4vx-rjvf-j5p4 LOW + one other unpatched) are tracked separately.

  HIGH      rocketride-org#184  ws            < 8.21.0          → bump >=8.20.1 → >=8.21.0
  HIGH      rocketride-org#188  form-data     >= 4.0.0, < 4.0.6 →  >=4.0.6 <5  (new)
  HIGH      rocketride-org#190  protobufjs    <= 7.6.0          → bump >=7.5.5 → >=7.6.3
  MEDIUM    rocketride-org#189  protobufjs    <= 7.6.2          → (same fix as rocketride-org#190)
  MEDIUM    rocketride-org#186  js-yaml       <= 4.1.1          → bump >=4.1.1 → >=4.2.0
  MEDIUM    rocketride-org#187  tar           <= 7.5.15         →  >=7.5.16 <8 (new)
  MEDIUM    rocketride-org#201  markdown-it   <= 14.1.1         → bump >=14.1.1 → >=14.2.0
  MEDIUM    rocketride-org#194  dompurify     <= 3.4.5          → bump >=3.4.0 → >=3.4.9 (preserve <3.5.0)
  MEDIUM    rocketride-org#195  dompurify     <= 3.4.5          → (same fix)
  MEDIUM    rocketride-org#196  dompurify     < 3.4.7           → (same fix)
  MEDIUM    rocketride-org#198  dompurify     <= 3.4.6          → (same fix)
  LOW       rocketride-org#185  @babel/core   <= 7.29.0         →  >=7.29.6 <8 (new)
  LOW       rocketride-org#199  dompurify     >= 3.0.0, <= 3.4.7→ (same dompurify fix)
  LOW       rocketride-org#200  dompurify     < 3.4.9           → (same dompurify fix)

dompurify upper bound kept at `<3.5.0` to preserve the existing
narrow-major pin that was in the prior override.

Companion PR on rocketride-ai/rocketride-saas#265 covers the same
8 npm packages on the saas side.

Out of scope for this PR (no fix via pnpm.overrides):

  HIGH      rocketride-org#202, rocketride-org#203  nltk           pip, patched=— (no upstream patch)
  HIGH      rocketride-org#191, rocketride-org#192, rocketride-org#193  cryptography  pip, patched=48.0.1
                                       (needs Python deps update)
  LOW       rocketride-org#197  dompurify (GHSA-x4vx-rjvf-j5p4)  patched=—
                                       (no upstream patch)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/cd CI/CD and build system docs Documentation module:ai AI/ML modules module:client-python Python SDK and MCP client module:nodes Python pipeline nodes module:server C++ engine and server components module:ui Chat UI and Dropper UI module:vscode VS Code extension zz: module:client-ts Deprecated 2026-08-05, do not use; superseded by module:client-typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants