Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #357 fix collapse #359

Merged
merged 6 commits into from
Feb 6, 2025
Merged

Fix #357 fix collapse #359

merged 6 commits into from
Feb 6, 2025

Conversation

Anchel123
Copy link
Contributor

Refactor CodeGraph and GraphView components to improve node expansion handling and neighbor deletion logic. Updated deleteNeighbors function to handle expanded nodes correctly and replaced direct calls with handleExpand in GraphView for better clarity and maintainability.

… handling and neighbor deletion logic. Updated deleteNeighbors function to handle expanded nodes correctly and replaced direct calls with handleExpand in GraphView for better clarity and maintainability.
Copy link

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
code-graph ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2025 10:09am

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

Hi! Looks like you've reached your API usage limit. You can increase it from your account settings page here: app.greptile.com/settings/billing/code-review

💡 (5/5) You can turn off certain types of comments like style here!

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

Copy link
Contributor

coderabbitai bot commented Jan 22, 2025

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.

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


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@Anchel123 Anchel123 requested a review from AviAvni January 22, 2025 14:17
@Anchel123 Anchel123 linked an issue Jan 22, 2025 that may be closed by this pull request
@Anchel123 Anchel123 changed the title Fix # fix collapse Fix #357 fix collapse Jan 27, 2025
Copy link
Contributor

qodo-merge-pro bot commented Jan 27, 2025

CI Feedback 🧐

(Feedback updated until commit 3281912)

A test triggered by this PR failed. Here is an AI-generated analysis of the failure:

Action: test

Failed stage: Set up environment variables and run tests [❌]

Failed test name: chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat

Failure summary:

The action failed due to multiple chat-related test failures in both Chromium and Firefox browsers:

  • Test "Verify auto-scroll and manual scroll in chat" failed with timeout errors after 5000ms while
    waiting for elements to be enabled
  • Test "Validate consistent UI responses for repeated questions in chat" failed with 30000ms timeout
    errors
  • Test "Validate UI response matches API response" failed with timeout errors and undefined API
    responses
  • The failures appear to be caused by the chat functionality timing out or becoming unresponsive, with
    errors like "FUNCTION_INVOCATION_TIMEOUT" and "500 Internal Server Error" occurring frequently

  • Relevant error logs:
    1:  ##[group]Operating System
    2:  Ubuntu
    ...
    
    1553:  ⚠ The requested resource "/dots.gif" is an animated image so it will not be optimized. Consider adding the "unoptimized" property to the <Image>.
    1554:  ·  ✓  23 [chromium] › canvas.spec.ts:200:9 › Canvas tests › Validate node path connection in canvas ui and confirm via api for path test_kg_delete and list_graphs (12.7s)
    1555:  ·  ✓  26 [chromium] › canvas.spec.ts:133:9 › Canvas tests › Validate canvas node dragging for node: 2 (8.4s)
    1556:  ·  ✓  28 [chromium] › canvas.spec.ts:145:7 › Canvas tests › Validate node and edge counts in canvas match API data (3.3s)
    1557:  ·  ✓  25 [chromium] › chat.spec.ts:29:7 › Chat tests › Validate that multiple consecutive questions receive individual answers (13.1s)
    1558:  ·  ✓  27 [chromium] › chat.spec.ts:91:9 › Chat tests › Verify successful node path connection between two nodes in chat for import_data and add_edge (11.3s)
    1559:  ×  ✘  30 [chromium] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat (11.2s)
    1560:  ·  ✓  31 [chromium] › chat.spec.ts:91:9 › Chat tests › Verify successful node path connection between two nodes in chat for test_kg_delete and list_graphs (11.9s)
    1561:  Error: An error occurred with your deployment
    1562:  FUNCTION_INVOCATION_TIMEOUT
    1563:  cle1::xpkxs-1738765343161-3ca23fa1a653
    1564:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1565:  Error: An error occurred with your deployment
    1566:  FUNCTION_INVOCATION_TIMEOUT
    1567:  cle1::v7spr-1738765343227-83129eef6316
    1568:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1569:  ·  ✓  29 [chromium] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 0 in chat after selection from options menu (21.5s)
    1570:  ×  ✘  32 [chromium] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat (retry #1) (11.7s)
    1571:  ·  ✓  33 [chromium] › chat.spec.ts:103:9 › Chat tests › Verify unsuccessful node path connection between two nodes in chat for import_data and add_edge (11.3s)
    1572:  Error: <!doctype html>
    1573:  <html lang=en>
    1574:  <title>500 Internal Server Error</title>
    1575:  <h1>Internal Server Error</h1>
    1576:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
    1577:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1578:  Error: An error occurred with your deployment
    1579:  FUNCTION_INVOCATION_TIMEOUT
    1580:  cle1::44xr9-1738765355446-c72329fc3c03
    1581:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1582:  ·  ✓  36 [chromium] › chat.spec.ts:103:9 › Chat tests › Verify unsuccessful node path connection between two nodes in chat for test_kg_delete and list_graphs (11.0s)
    1583:  F  ✘  35 [chromium] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat (retry #2) (14.6s)
    1584:  Error: An error occurred with your deployment
    1585:  FUNCTION_INVOCATION_TIMEOUT
    1586:  cle1::d24px-1738765364477-2c916ddd46a0
    1587:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1588:  ·  ✓  34 [chromium] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 1 in chat after selection from options menu (21.6s)
    1589:  ·  ✓  37 [chromium] › chat.spec.ts:114:7 › Chat tests › Validate error notification and its closure when sending an empty question in chat (4.1s)
    1590:  ·  ✓  40 [chromium] › navBar.spec.ts:17:7 ›  Navbar tests › Verify clicking on falkordb logo redirects to specified URL (2.7s)
    1591:  Error: An error occurred with your deployment
    1592:  FUNCTION_INVOCATION_TIMEOUT
    1593:  cle1::62pl4-1738765371258-d8e2ffff9d27
    1594:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1595:  ·  ✓  41 [chromium] › navBar.spec.ts:29:9 ›  Navbar tests › Verify clicking on Home redirects to specified URL (876ms)
    1596:  ·  ✓  42 [chromium] › navBar.spec.ts:29:9 ›  Navbar tests › Verify clicking on Github redirects to specified URL (1.5s)
    1597:  °  -  43 [chromium] › navBar.spec.ts:36:8 ›  Navbar tests › Verify that clicking the Create New Project button displays the correct dialog
    1598:  ·  ✓  44 [chromium] › navBar.spec.ts:42:7 ›  Navbar tests › Validate Tip popup visibility and closure functionality (4.1s)
    1599:  Error: An error occurred with your deployment
    1600:  FUNCTION_INVOCATION_TIMEOUT
    1601:  cle1::b9drb-1738765383449-f3366f75dcb3
    1602:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1603:  ·  ✓  45 [chromium] › nodeDetailsPanel.spec.ts:22:9 › Node details panel tests › Validate node details panel displayed on node click for ask (7.9s)
    1604:  Error: An error occurred with your deployment
    ...
    
    1612:  ·  ✓  47 [chromium] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 3 in chat after selection from options menu (14.3s)
    1613:  ·  ✓  50 [chromium] › nodeDetailsPanel.spec.ts:36:9 › Node details panel tests › Validate node details panel is not displayed after close interaction for add_edge (7.8s)
    1614:  ·  ✓  51 [chromium] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 4 in chat after selection from options menu (8.4s)
    1615:  ·  ✓  52 [chromium] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: ask (7.6s)
    1616:  ·  ✓  53 [chromium] › nodeDetailsPanel.spec.ts:62:9 › Node details panel tests › Validate copy functionality for node inside node details panel and verify with api for ask (8.3s)
    1617:  ·  ✓  54 [chromium] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: add_edge (7.2s)
    1618:  ×  ✘  49 [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat (retry #1) (30.1s)
    1619:  ·  ✓  55 [chromium] › nodeDetailsPanel.spec.ts:62:9 › Node details panel tests › Validate copy functionality for node inside node details panel and verify with api for add_edge (8.1s)
    1620:  Error: An error occurred with your deployment
    1621:  FUNCTION_INVOCATION_TIMEOUT
    1622:  cle1::4zv27-1738765430274-ea3bebb0dd66
    1623:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1624:  ·  ✓  56 [chromium] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: test_kg_delete (7.2s)
    1625:  ·  ✓  59 [chromium] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: list_graphs (7.2s)
    1626:  ·  ✓  58 [chromium] › nodeDetailsPanel.spec.ts:79:9 › Node details panel tests › Validate view node panel keys via api for ask (12.3s)
    1627:  ·  ✓  60 [chromium] › searchBar.spec.ts:22:9 › search bar tests › Verify search bar auto-complete behavior for input: test via UI (4.3s)
    1628:  Error: An error occurred with your deployment
    ...
    
    1697:  ·  ✓  127 [firefox] › canvas.spec.ts:145:7 › Canvas tests › Validate node and edge counts in canvas match API data (3.3s)
    1698:  ·  ✓  125 [firefox] › canvas.spec.ts:185:9 › Canvas tests › Verify successful node path connection in canvas between test_kg_delete and list_graphs via UI (12.3s)
    1699:  ×  ✘  126 [firefox] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat (14.8s)
    1700:  ·  ✓  128 [firefox] › chat.spec.ts:91:9 › Chat tests › Verify successful node path connection between two nodes in chat for import_data and add_edge (11.7s)
    1701:  ·  ✓  129 [firefox] › canvas.spec.ts:200:9 › Canvas tests › Validate node path connection in canvas ui and confirm via api for path import_data and add_edge (12.8s)
    1702:  ·  ✓  131 [firefox] › chat.spec.ts:91:9 › Chat tests › Verify successful node path connection between two nodes in chat for test_kg_delete and list_graphs (11.0s)
    1703:  ×  ✘  130 [firefox] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat (retry #1) (11.7s)
    1704:  ·  ✓  132 [firefox] › canvas.spec.ts:200:9 › Canvas tests › Validate node path connection in canvas ui and confirm via api for path test_kg_delete and list_graphs (12.7s)
    1705:  Error: An error occurred with your deployment
    1706:  FUNCTION_INVOCATION_TIMEOUT
    1707:  cle1::vd9nf-1738765609535-e74bf86c8020
    1708:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1709:  ·  ✓  133 [firefox] › chat.spec.ts:103:9 › Chat tests › Verify unsuccessful node path connection between two nodes in chat for import_data and add_edge (11.1s)
    1710:  F  ✘  134 [firefox] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat (retry #2) (11.6s)
    1711:  Error: An error occurred with your deployment
    1712:  FUNCTION_INVOCATION_TIMEOUT
    1713:  cle1::lrcbg-1738765622214-e51d164bbd61
    1714:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1715:  ·  ✓  136 [firefox] › chat.spec.ts:103:9 › Chat tests › Verify unsuccessful node path connection between two nodes in chat for test_kg_delete and list_graphs (11.1s)
    1716:  Error: An error occurred with your deployment
    1717:  FUNCTION_INVOCATION_TIMEOUT
    1718:  cle1::tr67s-1738765625400-d8738cb792c5
    1719:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1720:  ·  ✓  135 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 0 in chat after selection from options menu (21.8s)
    1721:  ·  ✓  138 [firefox] › chat.spec.ts:114:7 › Chat tests › Validate error notification and its closure when sending an empty question in chat (4.1s)
    1722:  ·  ✓  140 [firefox] › navBar.spec.ts:17:7 ›  Navbar tests › Verify clicking on falkordb logo redirects to specified URL (1.3s)
    1723:  ·  ✓  141 [firefox] › navBar.spec.ts:29:9 ›  Navbar tests › Verify clicking on Home redirects to specified URL (882ms)
    1724:  ·  ✓  142 [firefox] › navBar.spec.ts:29:9 ›  Navbar tests › Verify clicking on Github redirects to specified URL (1.4s)
    1725:  °  -  143 [firefox] › navBar.spec.ts:36:8 ›  Navbar tests › Verify that clicking the Create New Project button displays the correct dialog
    1726:  Error: An error occurred with your deployment
    ...
    
    1728:  cle1::5xzx5-1738765634482-30e3fdbc9250
    1729:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1730:  ·  ✓  144 [firefox] › navBar.spec.ts:42:7 ›  Navbar tests › Validate Tip popup visibility and closure functionality (4.1s)
    1731:  ·  ✓  139 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 1 in chat after selection from options menu (8.5s)
    1732:  ·  ✓  145 [firefox] › nodeDetailsPanel.spec.ts:22:9 › Node details panel tests › Validate node details panel displayed on node click for ask (8.0s)
    1733:  ×  ✘  137 [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat (30.1s)
    1734:  ·  ✓  147 [firefox] › nodeDetailsPanel.spec.ts:22:9 › Node details panel tests › Validate node details panel displayed on node click for add_edge (7.7s)
    1735:  ·  ✓  146 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 2 in chat after selection from options menu (18.4s)
    1736:  Error: <!doctype html>
    1737:  <html lang=en>
    1738:  <title>500 Internal Server Error</title>
    1739:  <h1>Internal Server Error</h1>
    1740:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
    1741:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1742:  ·  ✓  149 [firefox] › nodeDetailsPanel.spec.ts:36:9 › Node details panel tests › Validate node details panel is not displayed after close interaction for ask (7.8s)
    1743:  Error: <!doctype html>
    1744:  <html lang=en>
    1745:  <title>500 Internal Server Error</title>
    1746:  <h1>Internal Server Error</h1>
    1747:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
    1748:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1749:  ·  ✓  150 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 3 in chat after selection from options menu (7.7s)
    1750:  ·  ✓  151 [firefox] › nodeDetailsPanel.spec.ts:36:9 › Node details panel tests › Validate node details panel is not displayed after close interaction for add_edge (7.7s)
    1751:  ·  ✓  153 [firefox] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: ask (7.5s)
    1752:  ×  ✘  148 [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat (retry #1) (30.1s)
    1753:  Error: An error occurred with your deployment
    1754:  FUNCTION_INVOCATION_TIMEOUT
    1755:  cle1::qz6f8-1738765681414-d4df1013b6a1
    1756:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1757:  Error: An error occurred with your deployment
    1758:  FUNCTION_INVOCATION_TIMEOUT
    1759:  cle1::8d4zq-1738765682631-d4e4116b583a
    1760:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1761:  ·  ✓  154 [firefox] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: add_edge (7.3s)
    1762:  ·  ✓  152 [firefox] › chat.spec.ts:125:9 › Chat tests › Validate displaying question 4 in chat after selection from options menu (21.5s)
    1763:  ·  ✓  156 [firefox] › nodeDetailsPanel.spec.ts:50:9 › Node details panel tests › Validate node details panel header displays correct node name: test_kg_delete (7.2s)
    1764:  ·  ✓  157 [firefox] › nodeDetailsPanel.spec.ts:62:9 › Node details panel tests › Validate copy functionality for node inside node details panel and verify with api for ask (8.3s)
    1765:  Error: An error occurred with your deployment
    ...
    
    1773:  T  ✘  155 [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat (retry #2) (30.1s)
    1774:  ·  ✓  161 [firefox] › nodeDetailsPanel.spec.ts:79:9 › Node details panel tests › Validate view node panel keys via api for ask (7.9s)
    1775:  ·  ✓  163 [firefox] › searchBar.spec.ts:35:9 › search bar tests › Validate search bar updates with selected element: low (4.4s)
    1776:  ·  ✓  166 [firefox] › searchBar.spec.ts:35:9 › search bar tests › Validate search bar updates with selected element: as (4.5s)
    1777:  ·  ✓  164 [firefox] › nodeDetailsPanel.spec.ts:79:9 › Node details panel tests › Validate view node panel keys via api for add_edge (8.0s)
    1778:  ·  ✓  167 [firefox] › searchBar.spec.ts:47:9 › search bar tests › Verify auto-scroll scroll in search bar list for: test (4.4s)
    1779:  ·  ✓  168 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: } (4.4s)
    1780:  ·  ✓  169 [firefox] › searchBar.spec.ts:47:9 › search bar tests › Verify auto-scroll scroll in search bar list for: set (4.3s)
    1781:  Error: An error occurred with your deployment
    ...
    
    1789:  ·  ✓  174 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: " (4.1s)
    1790:  ·  ✓  175 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ( (4.1s)
    1791:  ·  ✓  176 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: | (4.1s)
    1792:  ×  ✘  165 [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat (30.1s)
    1793:  ·  ✓  177 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ) (4.1s)
    1794:  ·  ✓  178 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ~ (4.1s)
    1795:  ·  ✓  179 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: - (4.1s)
    1796:  ·  ✓  181 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ! (4.1s)
    1797:  Error: An error occurred with your deployment
    ...
    
    1806:  ·  ✓  187 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ^ (4.1s)
    1807:  ·  ✓  188 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: , (4.4s)
    1808:  ·  ✓  189 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: _ (4.1s)
    1809:  ·  ✓  190 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: . (4.1s)
    1810:  ·  ✓  191 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: = (4.1s)
    1811:  ·  ✓  192 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: < (4.0s)
    1812:  ·  ✓  193 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: + (4.0s)
    1813:  ×  ✘  180 [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat (retry #1) (30.1s)
    1814:  Error: <!doctype html>
    1815:  <html lang=en>
    1816:  <title>500 Internal Server Error</title>
    1817:  <h1>Internal Server Error</h1>
    1818:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
    1819:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1820:  ·  ✓  194 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: > (4.0s)
    1821:  Error: An error occurred with your deployment
    1822:  FUNCTION_INVOCATION_TIMEOUT
    1823:  cle1::snrv6-1738765773096-fb41e4f472be
    1824:  at u (.next/server/app/api/chat/[graph]/route.js:1:1160)
    1825:  ·  ✓  195 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ' (4.0s)
    1826:  ·  ✓  197 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: / (4.1s)
    1827:  Error: <!doctype html>
    1828:  <html lang=en>
    1829:  <title>500 Internal Server Error</title>
    1830:  <h1>Internal Server Error</h1>
    1831:  <p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>
    ...
    
    1834:  F  ✘  196 [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat (retry #2) (10.7s)
    1835:  ·  ✓  199 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: \ (4.0s)
    1836:  ·  ✓  200 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: ` (4.0s)
    1837:  ·  ✓  201 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: & (4.0s)
    1838:  ·  ✓  202 [firefox] › searchBar.spec.ts:57:9 › search bar tests › Verify entering special characters behavior in search bar for: # (4.0s)
    1839:  ·  ✓  203 [firefox] › searchBar.spec.ts:67:9 › search bar tests › search bar auto complete via ui and validating via api for: test (4.8s)
    1840:  ·  ✓  204 [firefox] › searchBar.spec.ts:67:9 › search bar tests › search bar auto complete via ui and validating via api for: set (4.8s)
    1841:  1) [chromium] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat ────
    1842:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    1843:  at ../logic/utils.ts:9
    1844:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    1847:  |                          ^
    1848:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    1849:  11 |         elementHandle,
    1850:  12 |         { timeout }
    1851:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    1852:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    1853:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    1854:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1855:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium/test-failed-1.png
    1856:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1857:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    1858:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    1859:  at ../logic/utils.ts:9
    1860:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    1863:  |                          ^
    1864:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    1865:  11 |         elementHandle,
    1866:  12 |         { timeout }
    1867:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    1868:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    1869:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    1870:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1871:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium-retry1/test-failed-1.png
    1872:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1873:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    1874:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium-retry1/trace.zip
    1875:  Usage:
    1876:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium-retry1/trace.zip
    1877:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1878:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    1879:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    1880:  at ../logic/utils.ts:9
    1881:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    1884:  |                          ^
    1885:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    1886:  11 |         elementHandle,
    1887:  12 |         { timeout }
    1888:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    1889:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    1890:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    1891:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1892:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium-retry2/test-failed-1.png
    1893:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1894:  2) [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
    1895:  �[31mTest timeout of 30000ms exceeded.�[39m
    1896:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1897:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium/test-failed-1.png
    1898:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1899:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    1900:  �[31mTest timeout of 30000ms exceeded.�[39m
    1901:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    1908:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    1909:  |                                                ^
    1910:  304 |         return await waitForStableText(this.lastElementInChat);
    1911:  305 |     }
    1912:  306 |
    1913:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    1914:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:33
    1915:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1916:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/test-failed-1.png
    ...
    
    1918:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    1919:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/trace.zip
    1920:  Usage:
    1921:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/trace.zip
    1922:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1923:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    1924:  �[31mTest timeout of 30000ms exceeded.�[39m
    1925:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1926:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry2/test-failed-1.png
    1927:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1928:  3) [firefox] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat ─────
    1929:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    1930:  at ../logic/utils.ts:9
    1931:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    1934:  |                          ^
    1935:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    1936:  11 |         elementHandle,
    1937:  12 |         { timeout }
    1938:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    1939:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    1940:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    1941:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1942:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox/test-failed-1.png
    1943:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1944:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    1945:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    1946:  at ../logic/utils.ts:9
    1947:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    1950:  |                          ^
    1951:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    1952:  11 |         elementHandle,
    1953:  12 |         { timeout }
    1954:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    1955:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    1956:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    1957:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1958:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox-retry1/test-failed-1.png
    1959:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1960:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    1961:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox-retry1/trace.zip
    1962:  Usage:
    1963:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox-retry1/trace.zip
    1964:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1965:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    1966:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    1967:  at ../logic/utils.ts:9
    1968:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    1971:  |                          ^
    1972:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    1973:  11 |         elementHandle,
    1974:  12 |         { timeout }
    1975:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    1976:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    1977:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    1978:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1979:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox-retry2/test-failed-1.png
    1980:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1981:  4) [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
    1982:  �[31mTest timeout of 30000ms exceeded.�[39m
    1983:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    1984:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox/test-failed-1.png
    1985:  ────────────────────────────────────────────────────────────────────────────────────────────────
    1986:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    1987:  �[31mTest timeout of 30000ms exceeded.�[39m
    1988:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    1995:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    1996:  |                                                ^
    1997:  304 |         return await waitForStableText(this.lastElementInChat);
    1998:  305 |     }
    1999:  306 |
    2000:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2001:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:33
    2002:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2003:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox-retry1/test-failed-1.png
    2004:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2005:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    2006:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox-retry1/trace.zip
    2007:  Usage:
    2008:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox-retry1/trace.zip
    2009:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2010:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    2011:  �[31mTest timeout of 30000ms exceeded.�[39m
    2012:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    2019:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    2020:  |                                                ^
    2021:  304 |         return await waitForStableText(this.lastElementInChat);
    2022:  305 |     }
    2023:  306 |
    2024:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2025:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:33
    2026:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2027:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox-retry2/test-failed-1.png
    2028:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2029:  5) [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
    2030:  �[31mTest timeout of 30000ms exceeded.�[39m
    2031:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    2038:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    2039:  |                                                ^
    2040:  304 |         return await waitForStableText(this.lastElementInChat);
    2041:  305 |     }
    2042:  306 |
    2043:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2044:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:84:35
    2045:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2046:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox/test-failed-1.png
    2047:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2048:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    2049:  �[31mTest timeout of 30000ms exceeded.�[39m
    2050:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    2057:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    2058:  |                                                ^
    2059:  304 |         return await waitForStableText(this.lastElementInChat);
    2060:  305 |     }
    2061:  306 |
    2062:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2063:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:84:35
    2064:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2065:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/test-failed-1.png
    2066:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2067:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    2068:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/trace.zip
    2069:  Usage:
    2070:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/trace.zip
    2071:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2072:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    2073:  TypeError: Cannot read properties of undefined (reading 'response')
    ...
    
    2075:  86 |     
    2076:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
    2077:  |                                               ^
    2078:  88 |   });
    2079:  89 |
    2080:  90 |   nodesPath.forEach((path) => {
    2081:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:47
    2082:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2083:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry2/test-failed-1.png
    2084:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2085:  5 failed
    2086:  [chromium] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat ─────
    2087:  [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
    2088:  [firefox] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat ──────
    2089:  [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
    2090:  [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
    2091:  2 skipped
    2092:  187 passed (9.4m)
    2093:  1) [chromium] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat ────
    2094:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    2095:  at ../logic/utils.ts:9
    2096:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    2099:  |                          ^
    2100:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    2101:  11 |         elementHandle,
    2102:  12 |         { timeout }
    2103:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    2104:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    2105:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    2106:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2107:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium/test-failed-1.png
    2108:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2109:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    2110:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    2111:  at ../logic/utils.ts:9
    2112:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    2115:  |                          ^
    2116:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    2117:  11 |         elementHandle,
    2118:  12 |         { timeout }
    2119:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    2120:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    2121:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    2122:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2123:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium-retry1/test-failed-1.png
    2124:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2125:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    2126:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium-retry1/trace.zip
    2127:  Usage:
    2128:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium-retry1/trace.zip
    2129:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2130:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    2131:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    2132:  at ../logic/utils.ts:9
    2133:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    2136:  |                          ^
    2137:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    2138:  11 |         elementHandle,
    2139:  12 |         { timeout }
    2140:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    2141:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    2142:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    2143:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2144:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-chromium-retry2/test-failed-1.png
    2145:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2146:  2) [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
    2147:  �[31mTest timeout of 30000ms exceeded.�[39m
    2148:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2149:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium/test-failed-1.png
    2150:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2151:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    2152:  �[31mTest timeout of 30000ms exceeded.�[39m
    2153:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    2160:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    2161:  |                                                ^
    2162:  304 |         return await waitForStableText(this.lastElementInChat);
    2163:  305 |     }
    2164:  306 |
    2165:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2166:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:33
    2167:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2168:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/test-failed-1.png
    ...
    
    2170:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    2171:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/trace.zip
    2172:  Usage:
    2173:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry1/trace.zip
    2174:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2175:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    2176:  �[31mTest timeout of 30000ms exceeded.�[39m
    2177:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2178:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-chromium-retry2/test-failed-1.png
    2179:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2180:  3) [firefox] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat ─────
    2181:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    2182:  at ../logic/utils.ts:9
    2183:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    2186:  |                          ^
    2187:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    2188:  11 |         elementHandle,
    2189:  12 |         { timeout }
    2190:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    2191:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    2192:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    2193:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2194:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox/test-failed-1.png
    2195:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2196:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    2197:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    2198:  at ../logic/utils.ts:9
    2199:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    2202:  |                          ^
    2203:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    2204:  11 |         elementHandle,
    2205:  12 |         { timeout }
    2206:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    2207:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    2208:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    2209:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2210:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox-retry1/test-failed-1.png
    2211:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2212:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    2213:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox-retry1/trace.zip
    2214:  Usage:
    2215:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox-retry1/trace.zip
    2216:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2217:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    2218:  TimeoutError: page.waitForFunction: Timeout 5000ms exceeded.
    2219:  at ../logic/utils.ts:9
    2220:  7 |     if (!elementHandle) throw new Error("Element not found");
    ...
    
    2223:  |                          ^
    2224:  10 |         (el) => el && !(el as HTMLElement).hasAttribute("disabled"),
    2225:  11 |         elementHandle,
    2226:  12 |         { timeout }
    2227:  at waitToBeEnabled (/home/runner/work/code-graph/code-graph/e2e/logic/utils.ts:9:26)
    2228:  at CodeGraph.sendMessage (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:293:9)
    2229:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:50:7
    2230:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2231:  playwright-report/artifacts/chat-Chat-tests-Verify-auto-scroll-and-manual-scroll-in-chat-firefox-retry2/test-failed-1.png
    2232:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2233:  4) [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
    2234:  �[31mTest timeout of 30000ms exceeded.�[39m
    2235:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2236:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox/test-failed-1.png
    2237:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2238:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    2239:  �[31mTest timeout of 30000ms exceeded.�[39m
    2240:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    2247:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    2248:  |                                                ^
    2249:  304 |         return await waitForStableText(this.lastElementInChat);
    2250:  305 |     }
    2251:  306 |
    2252:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2253:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:33
    2254:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2255:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox-retry1/test-failed-1.png
    2256:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2257:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    2258:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox-retry1/trace.zip
    2259:  Usage:
    2260:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox-retry1/trace.zip
    2261:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2262:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    2263:  �[31mTest timeout of 30000ms exceeded.�[39m
    2264:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    2271:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    2272:  |                                                ^
    2273:  304 |         return await waitForStableText(this.lastElementInChat);
    2274:  305 |     }
    2275:  306 |
    2276:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2277:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:68:33
    2278:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2279:  playwright-report/artifacts/chat-Chat-tests-Validate-c-a5003--repeated-questions-in-chat-firefox-retry2/test-failed-1.png
    2280:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2281:  5) [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
    2282:  �[31mTest timeout of 30000ms exceeded.�[39m
    2283:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    2290:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    2291:  |                                                ^
    2292:  304 |         return await waitForStableText(this.lastElementInChat);
    2293:  305 |     }
    2294:  306 |
    2295:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2296:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:84:35
    2297:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2298:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox/test-failed-1.png
    2299:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2300:  Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
    2301:  �[31mTest timeout of 30000ms exceeded.�[39m
    2302:  Error: locator.waitFor: Target page, context or browser has been closed
    ...
    
    2309:  > 303 |         await this.waitingForResponseIndicator.waitFor({ state: 'hidden' });
    2310:  |                                                ^
    2311:  304 |         return await waitForStableText(this.lastElementInChat);
    2312:  305 |     }
    2313:  306 |
    2314:  at CodeGraph.getTextInLastChatElement (/home/runner/work/code-graph/code-graph/e2e/logic/POM/codeGraph.ts:303:48)
    2315:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:84:35
    2316:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2317:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/test-failed-1.png
    2318:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2319:  attachment #2: trace (application/zip) ─────────────────────────────────────────────────────────
    2320:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/trace.zip
    2321:  Usage:
    2322:  npx playwright show-trace playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry1/trace.zip
    2323:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2324:  Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
    2325:  TypeError: Cannot read properties of undefined (reading 'response')
    ...
    
    2327:  86 |     
    2328:  > 87 |     expect(number).toEqual(apiResponse.result.response.match(/\d+/g)?.[0]);
    2329:  |                                               ^
    2330:  88 |   });
    2331:  89 |
    2332:  90 |   nodesPath.forEach((path) => {
    2333:  at /home/runner/work/code-graph/code-graph/e2e/tests/chat.spec.ts:87:47
    2334:  attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
    2335:  playwright-report/artifacts/chat-Chat-tests-Validate-U-0d538-or-a-given-question-in-chat-firefox-retry2/test-failed-1.png
    2336:  ────────────────────────────────────────────────────────────────────────────────────────────────
    2337:  5 failed
    2338:  [chromium] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat ─────
    2339:  [chromium] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
    2340:  [firefox] › chat.spec.ts:46:7 › Chat tests › Verify auto-scroll and manual scroll in chat ──────
    2341:  [firefox] › chat.spec.ts:62:7 › Chat tests › Validate consistent UI responses for repeated questions in chat 
    2342:  [firefox] › chat.spec.ts:77:7 › Chat tests › Validate UI response matches API response for a given question in chat 
    2343:  2 skipped
    2344:  187 passed (9.4m)
    2345:  ##[error]Process completed with exit code 1.
    ...
    
    2364:  Finished uploading artifact content to blob storage!
    2365:  SHA256 hash of uploaded artifact zip is 69349c91adfd4be8d4114fc8eb1ed248ad8531966477ab71171175d771348de8
    2366:  Finalizing artifact upload
    2367:  Artifact playwright-report.zip successfully finalized. Artifact ID 2541223068
    2368:  Artifact playwright-report has been successfully uploaded! Final size is 28948117 bytes. Artifact ID is 2541223068
    2369:  Artifact download URL: https://github.com/FalkorDB/code-graph/actions/runs/13159400661/artifacts/2541223068
    2370:  ##[group]Run actions/upload-artifact@v4
    2371:  with:
    2372:  name: failed-test-screenshots
    ...
    
    2383:  Beginning upload of artifact content to blob storage
    2384:  Uploaded bytes 8388608
    2385:  Uploaded bytes 16777216
    2386:  Uploaded bytes 25165824
    2387:  Uploaded bytes 28947717
    2388:  Finished uploading artifact content to blob storage!
    2389:  SHA256 hash of uploaded artifact zip is 5d39efd90117dbde73dcbe3c6225d895984e6d75af3d58dec72f08ef3587a947
    2390:  Finalizing artifact upload
    2391:  Artifact failed-test-screenshots.zip successfully finalized. Artifact ID 2541223296
    2392:  Artifact failed-test-screenshots has been successfully uploaded! Final size is 28947717 bytes. Artifact ID is 2541223296
    ...
    
    2400:  [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
    2401:  [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
    2402:  [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
    2403:  http.https://github.com/.extraheader
    2404:  [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
    2405:  [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
    2406:  Print service container logs: 2721fa0c142145e6a69c85a38ec80869_falkordbfalkordblatest_242b75
    2407:  ##[command]/usr/bin/docker logs --details 874ba1683247ea0e34dcd624bfe4b02801a264143189964bf5476d20f04fff9a
    2408:  11:C 05 Feb 2025 14:19:06.103 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
    

    barakb
    barakb previously approved these changes Feb 5, 2025
    @Anchel123 Anchel123 merged commit d1ed6c1 into staging Feb 6, 2025
    7 checks passed
    @Anchel123 Anchel123 deleted the fix-collapse branch February 6, 2025 10:54
    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.

    node collapse doesn't work as excepted
    2 participants