8000 Results tab disappears if query fails · Issue #185 · src-d/gitbase-web · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Results tab disappears if query fails #185
Closed
@bzz

Description

@bzz

Right now, if a new query fails after some time of execution (~30sec) - error message is shown, but the tab disappear 😕

That is inconsistent with the rest of the tab behaviour. To be consistent, we should keep the tab open, it should have empty results and an some kind of "error" state of a "broken robot".

@ricardobaeta what do you think?

Example of the query that fails slow in details below.

SELECT files.repository_id, files.file_path,
 ARRAY_LENGTH(UAST(
   files.blob_content,
   LANGUAGE(files.file_path, files.blob_content),
   '//*[@roleFunction and @roleDeclaration]'
 )) as functions
FROM files
NATURAL JOIN refs
WHERE 
LANGUAGE(files.file_path,files.blob_content) = 'Go'
AND refs.ref_name = 'HEAD'
ORDER BY functions

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0