Skip to content

fix: address PR #76 review comments - #125

Merged
Anish701 merged 1 commit into
deep-agentfrom
fix/pr-76-review-comments
Aug 12, 2026
Merged

fix: address PR #76 review comments#125
Anish701 merged 1 commit into
deep-agentfrom
fix/pr-76-review-comments

Conversation

@NP-compete

@NP-compete NP-compete commented Aug 12, 2026

Copy link
Copy Markdown
Member

Closes #126

Summary

  • Addresses all CodeRabbit and CodeQL review comments from PR chore: merge deep-agent into main #76
  • Fixes 2 critical, 4 major, and ~40 minor issues across 35 files
  • All lint, typecheck, unit tests (253/253), and build pass locally

Critical

  • Fix mismatched <think>/</redacted_thinking> regex in ChatMessagesView
  • Clear refresh interval after 401 in useRefreshableToken

Major

  • Await server deletion results before showing success toast in ProfileSection
  • Move getStreamingManager out of render into useEffect (no side effects during render)
  • Ensure resumeInterrupt promise settles on error/cancellation

Security & Hardening

  • Add CI workflow permissions: contents: read and persist-credentials: false
  • Reject prototype keys (__proto__, constructor, prototype) in deepMerge
  • Escape agentName before HTML interpolation in client router
  • Validate x-trace-id header against safe charset and max length

Minor

  • Tailwind v4 important syntax (!utilityutility!) across 5 files
  • A11y: live regions, ARIA roles, <main> landmark, removed conflicting aria-label
  • Guard clipboard, popup, sessionStorage, and stream message updates
  • Fix rate limit timer drift, sidebar search reset, empty rename rejection
  • Move QUICK_PROMPTS inside component, default dark theme when missing
  • Rename CSS keyframes to kebab-case, extend focus selectors
  • Docs: language tags, hot-reload alignment, auth docs, shell exports
  • Add Node.js >=22.13.0 engine requirement

Test plan

  • npm run lint — 0 errors
  • npx tsc --noEmit — clean
  • npm test — 253/253 passed
  • npm run build — successful (frontend + server)

@NP-compete
NP-compete requested a review from a team as a code owner August 12, 2026 13:17
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: 2657af45-ebde-4ea7-b306-7ad384393a57

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Critical:
- Fix mismatched thinking-tag regex in ChatMessagesView
- Clear refresh interval after 401 in useRefreshableToken

Major:
- Await server deletion results before showing success in ProfileSection
- Move getStreamingManager out of render into useEffect
- Ensure resumeInterrupt promise settles on error/cancellation

Security & hardening:
- Add CI workflow permissions and persist-credentials: false
- Reject prototype keys in deepMerge
- Escape agentName in HTML title
- Validate x-trace-id against safe charset

Minor fixes:
- Tailwind v4 important syntax across 5 files
- A11y: live regions, ARIA roles, main landmark
- Guard clipboard, popup, sessionStorage, stream updates
- Fix rate limit timer drift, sidebar search reset, empty rename
- Move QUICK_PROMPTS inside component, default dark theme
- Rename keyframes to kebab-case, extend CSS focus selectors
- Docs: language tags, hot-reload, auth docs, shell exports
- Add Node.js >=22.13.0 engine requirement

Signed-off-by: Soham Dutta <19648293+NP-compete@users.noreply.github.com>
@NP-compete
NP-compete force-pushed the fix/pr-76-review-comments branch from 688ba8a to c82a3e0 Compare August 12, 2026 13:20
@NP-compete NP-compete linked an issue Aug 12, 2026 that may be closed by this pull request

@Anish701 Anish701 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Anish701
Anish701 merged commit 03a8037 into deep-agent Aug 12, 2026
16 of 19 checks passed
@Anish701
Anish701 deleted the fix/pr-76-review-comments branch August 12, 2026 13:29
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.

Address PR #76 review comments from CodeRabbit and CodeQL

2 participants