Skip to content

#3946 remove old engine from query language list#3947

Merged
robfrank merged 1 commit intomainfrom
fix/3946-remove-old-engine
Apr 21, 2026
Merged

#3946 remove old engine from query language list#3947
robfrank merged 1 commit intomainfrom
fix/3946-remove-old-engine

Conversation

@robfrank
Copy link
Copy Markdown
Collaborator

What does this PR do?

remove old engine from query language list

@robfrank robfrank changed the title remove old engine from query language list #3946 remove old engine from query language list Apr 21, 2026
@robfrank robfrank merged commit e9156af into main Apr 21, 2026
9 of 14 checks passed
@robfrank robfrank deleted the fix/3946-remove-old-engine branch April 21, 2026 17:50
@robfrank robfrank added this to the 26.4.1 milestone Apr 21, 2026
@codacy-production
Copy link
Copy Markdown

codacy-production Bot commented Apr 21, 2026

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Coverage ∅ diff coverage · -7.85% coverage variation

Metric Results
Coverage variation -7.85% coverage variation
Diff coverage diff coverage

View coverage diff in Codacy

Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (bae159c) 117464 86547 73.68%
Head commit (338d178) 148703 (+31239) 97889 (+11342) 65.83% (-7.85%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#3947) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes. Give us feedback

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the 'Cypher (Old Engine)' option from the query language selection menu. While the UI change is correct, the cleanup is incomplete as dead code remains in the JavaScript logic, and the removal may negatively impact the user experience when loading historical queries that still reference the 'cypher' identifier.

<option value="sqlScript">SQL Script</option>
<option value="opencypher">Open Cypher (New Native Engine)</option>
<option value="gremlin">Gremlin</option>
<option value="cypher">Cypher (Old Engine)</option>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

Removing the 'Cypher (Old Engine)' option is correct as per the PR description, but the cleanup appears incomplete. The getEditorMode() function (line 522) still contains logic for the "cypher" language, which is now unreachable from the UI and becomes dead code. Furthermore, this removal may affect the user experience for queries loaded from history: if a saved query has the "cypher" language, the select element will fail to match the value, causing the editor to default to SQL highlighting. Consider mapping "cypher" to "opencypher" in the history loading logic or removing the dead code in the JavaScript.

@robfrank robfrank linked an issue Apr 21, 2026 that may be closed by this pull request
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.21%. Comparing base (bae159c) to head (338d178).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3947      +/-   ##
==========================================
+ Coverage   64.80%   65.21%   +0.40%     
==========================================
  Files        1582     1582              
  Lines      117464   117464              
  Branches    24962    24962              
==========================================
+ Hits        76128    76600     +472     
+ Misses      30947    30406     -541     
- Partials    10389    10458      +69     

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

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

ExtReMLapin pushed a commit to ExtReMLapin/arcadedb that referenced this pull request Apr 22, 2026
…o [skip ci]

Bumps [marked](https://github.com/markedjs/marked) from 18.0.0 to 18.0.2.
Release notes

*Sourced from [marked's releases](https://github.com/markedjs/marked/releases).*

> v18.0.2
> -------
>
> [18.0.2](markedjs/marked@v18.0.1...v18.0.2) (2026-04-18)
> -----------------------------------------------------------------------------------
>
> ### Bug Fixes
>
> * fix infinite loop for indented code blank line ([ArcadeData#3947](https://redirect.github.com/markedjs/marked/issues/3947)) ([58a52e8](markedjs/marked@58a52e8))
>
> v18.0.1
> -------
>
> [18.0.1](markedjs/marked@v18.0.0...v18.0.1) (2026-04-17)
> -----------------------------------------------------------------------------------
>
> ### Bug Fixes
>
> * **rules:** ensure lookbehind regex is evaluated correctly by minifiers ([ArcadeData#3945](https://redirect.github.com/markedjs/marked/issues/3945)) ([abd907a](markedjs/marked@abd907a))


Commits

* [`c4f4529`](markedjs/marked@c4f4529) chore(release): 18.0.2 [skip ci]
* [`58a52e8`](markedjs/marked@58a52e8) fix: fix infinite loop for indented code blank line ([ArcadeData#3947](https://redirect.github.com/markedjs/marked/issues/3947))
* [`98b3824`](markedjs/marked@98b3824) chore(release): 18.0.1 [skip ci]
* [`abd907a`](markedjs/marked@abd907a) fix(rules): ensure lookbehind regex is evaluated correctly by minifiers ([ArcadeData#3945](https://redirect.github.com/markedjs/marked/issues/3945))
* [`96351c4`](markedjs/marked@96351c4) chore(deps-dev): bump marked-highlight from 2.2.3 to 2.2.4 ([ArcadeData#3946](https://redirect.github.com/markedjs/marked/issues/3946))
* [`c132699`](markedjs/marked@c132699) chore: update testutils ([ArcadeData#3942](https://redirect.github.com/markedjs/marked/issues/3942))
* See full diff in [compare view](markedjs/marked@v18.0.0...v18.0.2)
  
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility\_score?dependency-name=marked&package-manager=npm\_and\_yarn&previous-version=18.0.0&new-version=18.0.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
Dependabot commands and options
  
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show  ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

remove old cypher option from studio

1 participant