You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Public links: an invalid expiry is stored, then the agent's link list returns 500 and the panel says "No public links" #3583
Build: v1.0.0-rc2 (96f88f9). Found during release-test row B16 (abilityai/trinity-enterprise#847), API + light 1440. Present at v0.9.5 too.
Steps
As the owner: POST /api/agents/<agent>/public-links with {"name":"x","expires_at":"not-a-date"}.
GET /api/agents/<agent>/public-links; open Sharing → Distribution → Public links.
Expected
A 422 validation error, and nothing stored.
Actual
The create returns 500, and the row is stored anyway.
Every later list of that agent's links returns 500. The owner panel shows "No public links" although the agent has links. Recovery needs a database delete.
Where
expires_at is accepted as a free string and stored as is; src/backend/routers/public_links.py_link_to_response then calls datetime.fromisoformat on it for every row.
src/frontend/src/components/PublicLinksPanel.vueloadLinks swallows the error and renders the empty state.
Acceptance criteria
An invalid expires_at is rejected with 422 and not stored.
A list failure is shown as a failure, not as "No public links".
Re-triaged for 1.0 (#847, row B16): P3 → P2. The panel says "No public links" while the agent's other links stay live, so the owner can't see or revoke them from the UI. Same at v0.9.5, so not a release blocker: release-note, or fix if cheap (date validation + an error state).
Activity
AndriiPasternak31 commentedon Oct 12, 2026
Re-triaged for 1.0 (#847, row B16): P3 → P2. The panel says "No public links" while the agent's other links stay live, so the owner can't see or revoke them from the UI. Same at v0.9.5, so not a release blocker: release-note, or fix if cheap (date validation + an error state).
obasilakis commentedon Oct 19, 2026
/claim
github-actions commentedon Oct 19, 2026
@obasilakis This issue is already assigned to obasilakis. Use
/unclaimfirst if you want to take over.fix(public-links): reject an invalid expiry with 422 and keep the lis…