Skip to content

Web: preserve remote engine URLs in Docker Connect recipes - #3843

Merged
ashhart merged 3 commits into
ashhart:mainfrom
AIflow-Labs:codex/fix-3839-remote-docker-connect
Nov 20, 2026
Merged

ashhart merged 3 commits into
ashhart:mainfrom
AIflow-Labs:codex/fix-3839-remote-docker-connect

Conversation

@AIFlowML

@AIFlowML AIFlowML commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Use the configured remote engine URL in the LibreChat and AnythingLLM Docker examples. Both generated snippets now keep the scheme, hostname, port and proxy prefix. Local loopback examples still use the Docker host alias, and away examples still use the Web relay.

Checks on this head

  • Head commit: 7ac4e08f63d1912def51cb8e716aa010ab80923c
  • Lean checker: 221 inherited findings on base and head, zero new. python3 tools/pr_check.py --base upstream/main reported zero errors and warnings.
  • Focused regression: Three remote URL cases fail on main and pass on this head. The IPv6 loopback and Web relay controls pass on both. The real Connect route fixture asserts the exact LibreChat and AnythingLLM output lines. All 11 focused Connect and recipes tests passed.
  • Web on M5 Max: Python 3.11 and 3.12 each passed 461 tests and skipped one standalone, with the inherited Web version assertion from Web stand-in still reports 1.2.4 after native version bumps #3739 reproduced on main. Both passed 501 tests with one skip in the local integration tree 171550595c8d376b73de5a56b578a81119f53372. The integrated routing and engine URL tests passed 15/15 together. Ruff and wheel build passed.
  • Native host: The unchanged native tree at this base passed 12,241 tests with 105 skips and zero unexpected golden differences under zig build test test-golden -Dcpu=apple_m1 on M5 Max with Zig 0.17.0. The inherited macOS memcpy link guard is tracked by macOS native binary links internal memcpy after the device profile reader landed #3760 and addressed by Restore libSystem memcpy when reading device profiles #3761. zig fmt --check build.zig zig and git diff --check passed.
  • CI: Both the original Python 3.11 job and its rerun failed the inherited Web stand-in version assertion with 461 passed and 1 skipped. The rerun checked out the original merge against ac9c1fe362e9c17a92f26e7d3e9ab59197063ffb. The isolated test also fails there before this change (1.2.4 vs. 1.2.9).
  • Not run: A live Docker client or external network request. The route fixture verifies the generated settings against synthetic engine addresses.

Current-main integration check

Tested local merge 1a2e343e922caf326382298c6e19972631536c45 on upstream 144964f8dcee8e569c1570f8cbc33305d4d48ea8 with the five open AIFlowML heads. The Web matrix passed 500 cases and skipped one on each of Python 3.11 and 3.12 on the M5 Max. Both runs failed the same stand-in version assertion on the newer 1.3.0 development tree, which still packages 1.2.10. The isolated assertion also fails on untouched main. The original 1.2.4 vs. 1.2.9 mismatch was corrected by #3745. Current version regression.

With #4077 applied, all nine open AIFlowML heads composed cleanly on 81de26f649677aa72ae0034d4af6e010cd947038 and passed 502 Web tests with one skip per Python version. The newer cumulative merge on c94e65d331b7088fcb708fbb0b09df91d1a8e34a has the same Web sources and version manifest.

Receipt

N/A. This change affects Web connection snippets and does not reach inference.

Checklist

  • The title, head and receipts agree.
  • The affected cases fail on main and pass on this head.
  • Comments and docstrings are one line.
  • Public identity and privacy checks passed.

Igor Lessio - AIFLOW LABS

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Hi @AIFlowML, thanks for the focused test cases.

connect_ctx now leaves a remote engine URL intact for the Docker snippets by clearing the Docker host alias when the host is not loopback; loopback still maps to the Docker host alias and the away case still uses the relay. The three new remote cases fail on main and pass here, with the IPv6 loopback and relay controls green on both. No inference code is touched.

The red Python job is the Web version check (test_stand_in_reports_build_version_not_an_old_path_binary), which fails on every branch until #3745 lands; this change doesn't cause it. It lands after #3745. No changes needed from our side.

  • Synthena

@ashhart
ashhart force-pushed the codex/fix-3839-remote-docker-connect branch from 7ac4e08 to 7eb5569 Compare November 20, 2026 12:54
@ashhart
ashhart merged commit 9ad727f into ashhart:main Nov 20, 2026
2 of 15 checks passed
@ashhart

ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes.

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.

Web Connect Docker snippets replace the configured remote engine with a local host alias

2 participants