Repository navigation
incorrect pr - #349
Closed
itomek-amd wants to merge 1 commit into
Closed
incorrect pr#349itomek-amd wants to merge 1 commit into
itomek-amd wants to merge 1 commit into
Conversation
Collaborator
Author
|
Superseded by correct version PR — v0.15.4.1 not v0.15.5. |
4 of 5 tasks
pull Bot
pushed a commit
to bhardwajRahul/gaia
that referenced
this pull request
Jul 18, 2026
…ivilege workflow permissions (amd#2236) Any browser client of the Agent UI memory dashboard or the EMR dashboard could see raw exception text — internal file paths, exception classes, and error internals — whenever a scan, inference, or model load failed. Responses now return a generic message with a short correlation id, and the full exception (with traceback) is logged server-side, so debugging stays possible without exposing internals. `test_eval_rag.yml` also drops the default token grants in favor of an explicit `contents: read`. Closes 8 of the 9 open medium-severity CodeQL alerts in these two rule classes; the 9th is dismissed as a verified false positive. | Alert | Rule | Location | Resolution | |---|---|---|---| | #249 | py/stack-trace-exposure | `src/gaia/ui/routers/memory.py` stream-discovery SSE | Generic message + correlation id; full detail logged server-side | | #250 | py/stack-trace-exposure | `src/gaia/ui/routers/memory.py` stream-inference SSE | Same | | amd#346 | py/stack-trace-exposure | `src/gaia/ui/routers/memory.py` settings `system_context_error` | Same | | amd#347–amd#349 | py/stack-trace-exposure | EMR dashboard `/api/init` (3 sinks) | Removed `str(e)` from the returned `steps` payload; logged instead | | amd#323, amd#324 | actions/missing-workflow-permissions | `.github/workflows/test_eval_rag.yml` | Top-level `permissions: contents: read` (both jobs only checkout + run the eval) | | amd#327 | py/stack-trace-exposure | EMR dashboard `/api/chat` | **Dismissed (false positive)** — response already routed through `_sanitize_response_text`, which strips tracebacks, `File` lines, exception class names, and paths; CodeQL can't model the regex barrier | ## Test plan - [x] `python util/lint.py --all` passes - [x] `tests/unit/test_memory_router.py` — 768 passed (1 pre-existing, unrelated failure also fails on clean main: expects faiss missing, but it's installed locally) - [x] EMR package tests — 67 passed - [x] Workflow YAML parses; both jobs verified read-only (checkout + eval run, no writes to repo/issues/checks) - [ ] CodeQL on this PR reports no new alerts and closes the fixed ones after merge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/releases/v0.15.5.mdx)__version__from0.15.4→0.15.5insrc/gaia/version.pyreleases/v0.15.5to nav and update navbar label indocs/docs.jsonCloses #336, #339, #344, #345, #342, #348, #346