Skip to content

Release: dev → main (port 1337 + poller/SQL/UI fixes)#1060

Merged
cgcardona merged 3 commits into
mainfrom
dev
Mar 16, 2026
Merged

Release: dev → main (port 1337 + poller/SQL/UI fixes)#1060
cgcardona merged 3 commits into
mainfrom
dev

Conversation

@cgcardona

Copy link
Copy Markdown
Owner

Summary

  • Port rename — service port changed from 10003 to 1337 across all 40 files (Dockerfiles, compose, CI, docs, scripts, tests, role prompts)
  • Polling OSError backoff[Errno -2] Name or service not known DNS errors now trigger exponential backoff (30 s → 300 s max) instead of tight-looping
  • SQL fix — A/B metrics query changed from :days::integer to CAST(:days AS integer) to fix PostgresSyntaxError
  • UI layout fix — Org Designer lone-worker warning moved out of the flex header into a dedicated amber strip below it
  • Cross-platform local LLM docslocal-llm-mlx.md renamed to local-llm.md, MLX/Apple-Silicon-only framing removed throughout
  • FastEmbed permissions fix — HuggingFace cache dir moved from /root/.cache to /home/agentception/.cache so the non-root container user can write it

Test plan

  • CI green on this PR
  • curl -sf http://localhost:1337/health{"status":"ok"} (verified locally)
  • mypy agentception/ tests/ → 0 errors (verified locally)
  • 40 unit tests pass (verified locally)

cgcardona and others added 3 commits March 15, 2026 16:36
AB metrics:
- Replace ':days::integer' with 'CAST(:days AS integer)' in the
  textual SQL query — asyncpg misparses ':param::type' as a malformed
  named parameter and raises PostgresSyntaxError on every page load.
- Regression test: test_ab_metrics_sql_uses_cast_not_double_colon.

Poller:
- Add dedicated OSError handler in polling_loop() — covers
  socket.gaierror (DNS, [Errno -2] Name or service not known),
  ConnectionRefusedError, and other network-level failures.
- Backs off exponentially (30 s → 60 s → 120 s, cap 300 s) instead
  of retrying at the normal poll interval and flooding logs.
- Regression tests: test_polling_loop_oserror_triggers_backoff,
  test_polling_loop_oserror_backoff_doubles_on_repeat.

Co-authored-by: AgentCeption Bot <agent@agentception.io>
…#1058)

The warning text was crammed inside the .od-header flex row alongside
all the other buttons, stretching the row and breaking the layout.

- Pull loneWorkerWarning out of od-header__launch-group entirely.
- Add a dedicated .od-warn-strip element rendered just below the header
  (still inside the OD panel flex column) with amber colouring.
- Launch button stays in the header row unobstructed.
- Strip strips the leading emoji from the JS string to avoid duplication
  with the icon span.
- New SCSS: .od-warn-strip with icon/text sub-elements.

Co-authored-by: AgentCeption Bot <agent@agentception.io>
Updates all 40 files that referenced port 10003 — Docker images, compose
files, CI workflow, app entrypoint, scripts, all docs, tests, and derived
.agentception role prompts — to use port 1337. Verified zero remaining
10003 references, clean mypy, no template drift, and health check passes
on the new port.

Co-authored-by: AgentCeption Bot <agent@agentception.io>
@cgcardona cgcardona merged commit 470db9a into main Mar 16, 2026
2 checks passed
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.

1 participant