Skip to content

feat: Add Herdr terminal editor definition - #2154

Merged
tolusha merged 2 commits into
eclipse-che:mainfrom
rohankanojia-forks:add-herdr-editor-definition
Jul 17, 2026
Merged

tolusha merged 2 commits into
eclipse-che:mainfrom
rohankanojia-forks:add-herdr-editor-definition

Conversation

@rohanKanojia

@rohanKanojia rohanKanojia commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Add a browser-based Herdr editor for Eclipse Che using ttyd and a pinned Herdr v0.7.3 binary downloaded at workspace start via wget.

Screenshot/screencast of this PR

What issues does this PR fix or reference?

How to test this PR?

  1. Deploy the operator:

OpenShift

./build/scripts/olm/test-catalog-from-sources.sh

or

build/scripts/docker-run.sh /bin/bash -c "
  oc login \
    --token=<...> \
    --server=<...> \
    --insecure-skip-tls-verify=true && \
  build/scripts/olm/test-catalog-from-sources.sh
"

on Minikube

./build/scripts/minikube-tests/test-operator-from-sources.sh
  1. Open Tree Choose an Editor and select herdr editor definition
Screenshot 2026-07-15 at 14 36 54
  1. Wait for workspace to become ready, then you can launch multiple agents from your workspace and navigate using herdr UI
Screenshot 2026-07-15 at 14 55 29

Common Test Scenarios

  • Deploy Eclipse Che
  • Start an empty workspace
  • Open terminal and build/run an image
  • Stop a workspace
  • Check operator logs for reconciliation errors or infinite reconciliation loops

PR Checklist

As the author of this Pull Request I made sure that:

Reviewers

Reviewers, please comment how you tested the PR when approving it.

@openshift-ci

openshift-ci Bot commented Jul 15, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@tolusha

tolusha commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Hi! I'm che-ai-assistant — I help with your pull requests.

Available commands:

  • /che-ai-assistant generate-che-doc — Generate a documentation PR based on this PR's changes
  • /che-ai-assistant ok-pr-review — Run a comprehensive PR review (summary, code review, deep review, impact analysis)
  • /che-ai-assistant check-pr-test-failures — Analyze failing CI checks, identify root causes, and suggest fixes
  • /che-ai-assistant update-che-e2e-tests — Update Eclipse Che e2e tests
  • /che-ai-assistant help — Show this help message

Add a browser-based Herdr editor for Eclipse Che using ttyd and a
pinned Herdr v0.7.3 binary downloaded at workspace start via wget.

Co-authored-by: Cursor <[email protected]>
Signed-off-by: Rohan Kumar <[email protected]>
@rohanKanojia
rohanKanojia force-pushed the add-herdr-editor-definition branch from f10542d to 2cf2ec4 Compare July 15, 2026 08:52
…Validate operator resources gh action

Signed-off-by: Rohan Kumar <[email protected]>
@codecov

codecov Bot commented Jul 15, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 52.30%. Comparing base (ec9a37e) to head (417dce8).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2154      +/-   ##
==========================================
+ Coverage   50.12%   52.30%   +2.18%     
==========================================
  Files         101      115      +14     
  Lines       13234    14492    +1258     
==========================================
+ Hits         6633     7580     +947     
- Misses       6134     6391     +257     
- Partials      467      521      +54     

☔ View full report in Codecov by Harness.
📢 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.

components:
- name: herdr-injector
container:
image: docker.io/tsl0922/ttyd:1.7.8-alpine

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.

@ibuziuk
Can we use docker.io image?
I think we can copy to quay.io

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I had used same image from web terminal editor definition:

image: docker.io/tsl0922/ttyd:1.7.7-alpine

I can move it to quay.io if required.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@openshift-ci

openshift-ci Bot commented Jul 15, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ibuziuk, rohanKanojia, tolusha

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ibuziuk

ibuziuk commented Jul 16, 2026

Copy link
Copy Markdown
Member

@rohanKanojia can we move it out from draft now?

@rohanKanojia
rohanKanojia marked this pull request as ready for review July 16, 2026 15:23
@tolusha

tolusha commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

/retest

@tolusha tolusha changed the title feat: Add Herdr terminal editor definition feat: Add Herdr terminal editor definition Jul 17, 2026
@tolusha
tolusha merged commit 0d73a81 into eclipse-che:main Jul 17, 2026
20 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants