Skip to content

Automated Sync from main to stable - #40

Open
rhods-devops-app[bot] wants to merge 832 commits into
stablefrom
main
Open

rhods-devops-app[bot] wants to merge 832 commits into
stablefrom
main

Conversation

@rhods-devops-app

@rhods-devops-app rhods-devops-app Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Automated Sync from main to stable

This PR automatically syncs the main branch to the stable branch by opening a pull request from main into stable.

Sync Summary

  • Latest commit: 12b8b3881 Merge remote-tracking branch 'upstream/main'

  • Total commits to sync: 831

  • Source: https://github.com/red-hat-data-services/OpenShell.git @ main

  • Target: https://github.com/red-hat-data-services/OpenShell.git @ stable

  • PR head: main

Commits to be synced

Merging

GitHub automerge is enabled for this pull request once required checks pass.

Comment thread .github/workflows/codex-security.yml Dismissed
Comment thread .github/workflows/release.yml Fixed
Comment thread .github/workflows/snap-publish.yml Dismissed
@rhods-devops-app
rhods-devops-app Bot enabled auto-merge October 24, 2026 01:13
@coderabbitai

coderabbitai Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

Ask an organization administrator to verify that this bot has an active assigned CodeRabbit review seat. See the seat-assignment guide. After the seat is confirmed, request a review again.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e43da986-6b5d-4e9e-9f90-dfc60d1b5db2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Comment thread .github/workflows/release-auto-tag.yml Dismissed
Comment thread .github/workflows/release-prerelease.yml Dismissed
Comment thread .github/workflows/release.yml Dismissed
@alexxfan

alexxfan commented Nov 6, 2026

Copy link
Copy Markdown

/retest

shiju-nv and others added 3 commits November 25, 2026 19:56
…5117)

* fix(compute): preserve protobuf configuration integers

An integer driver setting such as Kubernetes `tolerationSeconds` can become a fractional JSON number during protobuf decoding and fail typed configuration parsing. This preserves whole-number values through the shared converter and the actual Kubernetes rendering path.

Signed-off-by: Shiju <shiju@nvidia.com>

* refactor(core): decode protobuf structs into typed configuration

Signed-off-by: Shiju <shiju@nvidia.com>

---------

Signed-off-by: Shiju <shiju@nvidia.com>
@rhods-ci-bot

Copy link
Copy Markdown

/retest

…he pool route directory (ai-openshell#5888)

* perf(supervisor): look up route owners on demand instead of sending the pool route directory

A pool member's assignment snapshot no longer carries every route in the
pool. A member asks the gateway for the owner of a route it does not own
(RouteLookup/RouteOwner on the existing Attach stream) only when a sandbox
runtime reaches it for that route, so a member's messages scale with its own
sandboxes rather than with the pool.

Closes ai-openshell#5783

Signed-off-by: divesh <dgude@nvidia.com>

* fix(supervisor): keep the route directory field and fit lookups in the runtime hop budget

Keep AssignmentSnapshot.route_directory as a deprecated, unsent field so the
protobuf stays compatible on this release train. Gateways advertise
route_lookups on acceptance and hosts send RouteLookup only to replicas that
answer it, so a mixed rollout never ends a stream on an unknown message.
Bound a lookup at half the runtime's per-hop timeout so a stalled gateway
still leaves time to fall back to the local registration and reply.

Signed-off-by: divesh <dgude@nvidia.com>

---------

Signed-off-by: divesh <dgude@nvidia.com>
@rhods-ci-bot

Copy link
Copy Markdown

/retest

moulalis and others added 3 commits November 26, 2026 00:16
…s cluster (ai-openshell#5724)

* fix(tmachine): give guests a unique local IPv6 prefix

QEMU user networking defaults to the site-local fec0::/64, which Linux ranks below any global address. On a dual-stack K3s guest the node then sends to IPv6 Services from flannel's address and never gets the reply.

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* refactor(tmachine): share the K3s cluster reset tasks

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* feat(tmachine): support IPv6 gateway Services and environment Helm values in the k3s installers

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(tmachine): add an IPv6-first dual-stack k3s environment

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* ci(e2e): run k3s-ha conformance on the IPv6 k3s environment

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* refactor(tmachine): simplify the k3s installer's Helm command and gateway address

Create an empty environment Helm values file when the environment has none, so the Helm command is a plain list. Name the gateway IP and port before bracketing an IPv6 address.

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* fix(tmachine): wait for the guest's IPv6 address in the IPv6 k3s setup

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* docs(testing): describe environment Helm values for k3s installers

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* refactor(tmachine): slim the IPv6 k3s environment

The IPv6 setup now only writes the K3s configuration, so the cluster is created on its first start and needs no reset, and k3s.yaml is unchanged. The k3s installer sets the gateway and supervisor listen addresses to :: when the node's first address is IPv6, instead of reading Helm values the environment wrote.

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(conformance): skip the k3s-ha log-read tests on the IPv6 k3s environment

The IPv6 k3s-ha row has the same multi-replica log gap (ai-openshell#5752) as ubuntu-k3s/k3s-ha.

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(host-server): listen on IPv6 as well as IPv4

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(tmachine): reach the K3s node over IPv6 on an IPv6-first cluster

Set host.openshell.internal to the node's first address and enable policy DNS IPv6 egress when it is IPv6.

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(features): check policy DNS AAAA answers on the IPv6 K3s environment

Refs ai-openshell#3716

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(host-server): make the IPv6 listener dual-stack and fall back only without IPv6

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(features): check the synthetic address survives a policy reload

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(features): trim the policy-dns-ipv6 suite and installer comments

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

* test(tmachine): make the IPv6 K3s environment an IPv6-only cluster

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>

---------

Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

@rhods-ci-bot

Copy link
Copy Markdown

/retest

moulalis and others added 4 commits November 26, 2026 08:07
…enshell#5944)

* fix(ssh): hand relay grants to the proxy over private IPC

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(ssh): preserve gateway selection and drain interrupted handoffs

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* build(ssh): refresh lockfiles for the SSH handoff dependencies

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(ssh): distinguish relay admission from failed setup during recovery

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(ssh): bind uploads and gateway credentials to the selected target

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(ssh): drain grant cleanup and stop extraction on cancellation

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(ssh): cancel pending relay admission when the issuer closes

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(cli): bind credentials to the selected gateway and protect saved SSH URLs

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(cli): preserve the selected identity on shared gateway endpoints

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* refactor(ssh): isolate proxy command formatting and verify grant cleanup

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* feat(ssh): open gateway-authenticated relays for pinned sandbox IDs

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* test(proto): update the public schema fingerprint for direct SSH

TcpForwardInit adds tag 8 to its public target oneof. The durable schema and public/durable overlap retain their existing fingerprints.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

---------

Signed-off-by: Adrien Langou <alangou@nvidia.com>
* feat(cli): verify sandbox SSH host keys

The CLI, the TUI, and generated SSH config entries accepted any SSH host key. They now run ssh with StrictHostKeyChecking=yes against a per-sandbox known-hosts file. The ssh-proxy relay reads the host key from the server's key exchange reply, pins it only when its SHA-256 fingerprint equals the one the gateway published, and withholds the reply otherwise.

A sandbox with no published fingerprint is refused unless OPENSHELL_SSH_ALLOW_UNVERIFIED_HOST_KEY=1 is set. SSH config entries generated by earlier releases are refused with the command that regenerates them.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* refactor(cli): trim SSH host key verification

Restore the base shape of the SSH option and proxy-command helpers where the feature does not need a new one, fold duplicate tests into tables, and drop tests that repeat a proof at a more expensive level. No change to what is verified or refused.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(cli): keep existing SSH setups working with host key checks

Address the compatibility review of the host key verification change.

A sandbox with no published fingerprint connects with a warning instead of
being refused, so gateways that predate sandbox SSH identities keep working.
The OPENSHELL_SSH_ALLOW_UNVERIFIED_HOST_KEY opt-out is no longer needed.

SSH config entries and running clients from an earlier release keep
working: ssh-proxy relays without a check and warns, since their ssh
accepts any host key anyway.

A '%' in the config directory is escaped for ssh instead of rejected.

Harden the relay gate: an identification line is at most 255 bytes, so
the gate and every ssh release hand over to packets at the same byte, and
a group exchange reply is accepted only after its group.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* feat(cli): let users refuse unverified SSH host keys

OPENSHELL_SSH_REQUIRE_HOST_KEY turns the two unverified cases, a sandbox
with no published fingerprint and a caller that predates host-key
verification, from a warning into a refusal. It is off by default.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(cli): name the missing flags in the unverified SSH warning

The ssh-proxy warning blamed an older client, which is wrong when
someone starts the proxy by hand. It now names the missing flags.

Also say why a generated config entry turns connection sharing off: its
host alias does not name the gateway, so a shared connection would serve
the sandbox of the same name on another gateway without a host key
check. Note that the gateway issues only Ed25519 host keys, and document
that the fingerprint is read per connection and that unverified
connections are allowed by default.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* fix(cli): replace SSH config entries that accept any host key

Using --editor rewrote only the entry of the sandbox being connected, so
the entries an earlier release wrote for other sandboxes kept accepting
any host key. It now replaces each of them that is still, line for line,
what that release wrote. An entry the user edited is left alone and
keeps its warning.

The TUI also puts "SSH host key NOT verified" first in its status line
after an unverified session, because ssh takes the terminal right after
the printed warning.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* refactor(cli): return the SSH host key refusal from the relay

The relay exited the process from inside its task. It now returns the
refusal, and the CLI prints it like any other error. The exit code stays 1
and no byte of the refused key exchange reply reaches ssh.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

* feat(cli)!: refuse unverified SSH host keys by default

An SSH connection whose host key cannot be verified is now refused: a
sandbox with no published fingerprint, an SSH config entry an earlier
release wrote, or an older client that starts ssh-proxy without
--host-key. Set OPENSHELL_SSH_REQUIRE_HOST_KEY=0 to connect with a
warning instead.

A stale config entry is refused before the gateway is called, and
uploads and downloads no longer retry a host key refusal.

Signed-off-by: Adrien Langou <alangou@nvidia.com>

---------

Signed-off-by: Adrien Langou <alangou@nvidia.com>
@rhods-ci-bot

Copy link
Copy Markdown

/retest

Signed-off-by: konflux-internal-p02 <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
Co-authored-by: konflux-internal-p02[bot] <170854209+konflux-internal-p02[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gap-0a332924da0d4e2ca3f55e8eaf15f4f2 gap-0e249c51dcf0473494b193ad62505b33 gap-2fef5f03b7b34b6ba04033965b1c7c72 gap-4ea92a3db1ab4b499553b602caa59211 gap-04ed7d166bb24d10ae7dc28b95bfddc2 gap-6deb5d6e0681412e86e33651f5828212 gap-8d1fb277813a4432bc5b7bade74ce099 gap-8fcd603dc5b948e0a6f9380846258dcd gap-9ae2fd0820374d5f9c2418fe4b39f628 gap-09c808e55d77403cbbc316f7b737037c gap-9de59624a72548aab6ac083469958a6b gap-11b1474a17064599b1d621daf6bc28ff gap-19f1f8547c2246a8893138bd422f5ca1 gap-22bfbf42fa264b8c832acc6af445e1d2 gap-40c77da133b6454eb657d65a218a9038 gap-65c20b4a54fb4221ae161d227cd3402c gap-73c181e8d06e43e6b3054f6c543ddc7d gap-120b108c4b714a578079303b54baf0c3 gap-0143b9f7f21c4a9da86546d97eaf77f1 gap-155ecf5d8b924087922e925461f6c0e6 gap-0255d890cb1644dd81c2c60126c92894 gap-534adf22aab54d5fb8519ca5be7c9b40 gap-537d76644c7c4262af2db0e37a8b3395 gap-673f08be0dde4499947e0277d05cd59e gap-920a7e78f4494844963787167c3fed11 gap-932d076769314251baa3bcbffa93d700 gap-2334f6b890114bd0b16095116ae6e9c7 gap-069305e5ac8942a781ddfcca5b2111e7 gap-256640cc3ea445f38a3e9bb0336d10bd gap-627513e52a8840b789853fb6a55ea0fc gap-858558edb185461c9bfb5cdc5ac98c79 gap-1912625d44c14908a49f7c5b5882c858 gap-645407053dcb4eb7b1fa700ffaf116af gap-a835220f34874ea6a8e7859544b7d7ec gap-af177304caf148d2829222896e6ea15e gap-b983265db5d645ca8acc072b18219d51 gap-b64909566df9476a982ce10e91c24517 gap-ca30f490af954107a61b9ba559610f6f gap-d7deac0a4f9a4227ba97ee3b8b01af25 gap-e187ca30fe3b486f852ba682e008f47c gap-f53f8e8bf43749f39c991ccb7607be29 gap-fae5d94e9bb547c5ae7844baa8f6c9ec gap-fc0fe057fec141ed97d5f6e8e08d9f5e gap-ffd15cc753974b449b99d714b66e5e77 gated-artifacts-promoter

Projects

None yet

Development

Successfully merging this pull request may close these issues.