A GLQL panel can be written three ways: a YAML block with a query: key, frontmatter plus a query, or a bare query. The GLQL parser and the GLQL API already accept all three. Analyze with Duo did not. withFilters parsed the panel as a single YAML document and required a query key, so the other two forms threw, were reported to Sentry, and never reached the agent.
There was a second crash in the same area. A map without a query key was treated as config, and parseQuery threw TypeError . Users got a frontend exception instead of a compiler syntax error.
This is the story of gitlab-org/gitlab!270787 , a parse path that follows the API, and a review that kept correcting my examples until they were real GLQL.
The issue: two failures, one root
The issue was gitlab-org/gitlab#639779 , opened by Miguel Rincon. The title is the whole bug: the GLQL frontend failed on blocks the GLQL API already accepted.…