Robert Hunt activity https://gitlab.com/rob.hunt 2026-03-18T16:38:01Z tag:gitlab.com,2026-03-18:5218556080 Robert Hunt deleted project branch drosse/improve-parser at GitLab.org / GLQL 2026-03-18T16:38:01Z rob.hunt Robert Hunt

Robert Hunt (432ae66d) at 18 Mar 16:38

tag:gitlab.com,2026-03-18:5218555593 Robert Hunt pushed to project branch main at GitLab.org / GLQL 2026-03-18T16:37:53Z rob.hunt Robert Hunt

Robert Hunt (4f86a3f6) at 18 Mar 16:37

Merge branch 'drosse/improve-parser' into 'main'

... and 1 more commit

tag:gitlab.com,2026-03-18:5218555586 Robert Hunt accepted merge request !356: feat: improve parser at GitLab.org / GLQL 2026-03-18T16:37:53Z rob.hunt Robert Hunt

What does this MR do and why?

Improve parser by allowing any bare word ( and underscore ) to be recognised as valid token:

  1. Moves validation to the right layer — the analyzer knows field semantics, the parser shouldn't need to
  2. Eliminates manual token maintenance — no more editing the allowlist for new sources/values
  3. Enables EnumLike everywhere — sources can use EnumLike instead of StringEnumLike for enum fields. Previously words with special chars e.g. waiting_for_something would need to be a string

#112

How to set up and validate locally

NA

tag:gitlab.com,2026-03-18:5218530368 Robert Hunt approved merge request !356: feat: improve parser at GitLab.org / GLQL 2026-03-18T16:32:13Z rob.hunt Robert Hunt

What does this MR do and why?

Improve parser by allowing any bare word ( and underscore ) to be recognised as valid token:

  1. Moves validation to the right layer — the analyzer knows field semantics, the parser shouldn't need to
  2. Eliminates manual token maintenance — no more editing the allowlist for new sources/values
  3. Enables EnumLike everywhere — sources can use EnumLike instead of StringEnumLike for enum fields. Previously words with special chars e.g. waiting_for_something would need to be a string

#112

How to set up and validate locally

NA

tag:gitlab.com,2026-03-18:5218435363 Robert Hunt commented on merge request !356 at GitLab.org / GLQL 2026-03-18T16:10:57Z rob.hunt Robert Hunt

question: @drosse the MR mentions:

Enables EnumLike everywhere — sources can use EnumLike instead of StringEnumLike for enum fields. Previously words with special chars e.g. waiting_for_something would need to be a string

But we don't action on it in this MR. I just wanted to confirm if this was missing, or it's more an FYI?

tag:gitlab.com,2026-03-18:5218358790 Robert Hunt pushed to project branch mr2-codesuggestions-source at GitLab.org / GLQL 2026-03-18T15:55:00Z rob.hunt Robert Hunt

Robert Hunt (b9c10f68) at 18 Mar 15:55

fix: update CodeSuggestions GraphQL structure to match backend impl...

... and 5 more commits

tag:gitlab.com,2026-03-18:5218309539 Robert Hunt pushed to project branch mr1-analytics-infrastructure at GitLab.org / GLQL 2026-03-18T15:44:14Z rob.hunt Robert Hunt

Robert Hunt (175c6535) at 18 Mar 15:44

feat: add orderBy conversion for analytics aggregation queries

tag:gitlab.com,2026-03-18:5218212880 Robert Hunt approved merge request !226274: Expose code suggestions AE to graphql at GitLab.org / GitLab 2026-03-18T15:24:47Z rob.hunt Robert Hunt

What does this MR do and why?

  • Adds Duo Code Suggestions aggregation engine to the GraphQL API.
  • Renames the AiUsage GraphQL type to Analytics for a more generic naming. Updates all references across group/project types, resolvers, spec files, documentation, and the GraphQL introspection result. No functional changes — purely a rename/refactor

References

Screenshots or screen recordings

image

How to set up and validate locally

  1. Setup ClickHouse in GDK
  2. Run db seeds with FILTER=ai_usage_stats bundle exec rake db:seed_fu
  3. Execute a query similar to the one shown in the screenshot above.
  4. Validate output.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-18:5218212859 Robert Hunt commented on merge request !226274 at GitLab.org / GitLab 2026-03-18T15:24:47Z rob.hunt Robert Hunt

@pshutsin I pulled this branch down to my GDK, generated a GLQL gem via the GLQL branch I'm currently working on, and verified that GLQL generates the right queries for this endpoint, and that the response is expected 🎉.

For transparency, I used test_queries.rb to run some basic tests. You can pretty much ignore this though, as it's specific to the GQL use-case 🙂.

Comparing this against CodeSuggestion: end-to-end GLQL aggregation int... (gitlab-org#21212), I can confirm that the endpoint is matching the expected I/O 👍

tag:gitlab.com,2026-03-18:5218212833 Robert Hunt commented on merge request !226274 at GitLab.org / GitLab 2026-03-18T15:24:47Z rob.hunt Robert Hunt

question (non-blocking): @pshutsin the examples given are all group-level only. I just want to confirm that we expect duoCodeSuggestions to return results for project-level queries too?

tag:gitlab.com,2026-03-18:5218037814 Robert Hunt pushed to project branch mr2-codesuggestions-source at GitLab.org / GLQL 2026-03-18T14:50:29Z rob.hunt Robert Hunt

Robert Hunt (57251876) at 18 Mar 14:50

fix: remove redundant dimensions parameter from aggregated() call

tag:gitlab.com,2026-03-18:5217954838 Robert Hunt pushed to project branch mr2-codesuggestions-source at GitLab.org / GLQL 2026-03-18T14:35:13Z rob.hunt Robert Hunt

Robert Hunt (3379b2ca) at 18 Mar 14:35

fix: convert sort parameter to orderBy format for analytics queries

tag:gitlab.com,2026-03-18:5217724517 Robert Hunt commented on merge request !226274 at GitLab.org / GitLab 2026-03-18T13:51:27Z rob.hunt Robert Hunt

@pshutsin specific to code suggestions, we're hoping to have this type released in %18.11 as soon as we've validated end-to-end. The existing dashboards won't be using the new endpoint yet though, so we need to maintain the existing endpoints.

tag:gitlab.com,2026-03-18:5217168070 Robert Hunt pushed to project branch mr2-codesuggestions-source at GitLab.org / GLQL 2026-03-18T11:56:01Z rob.hunt Robert Hunt

Robert Hunt (aa9ee4b0) at 18 Mar 11:56

fix: update CodeSuggestions GraphQL structure to match backend impl...

tag:gitlab.com,2026-03-18:5217039096 Robert Hunt pushed to project branch mr2-codesuggestions-source at GitLab.org / GLQL 2026-03-18T11:25:05Z rob.hunt Robert Hunt

Robert Hunt (3be9d601) at 18 Mar 11:25

refactor: revert token match changes

tag:gitlab.com,2026-03-18:5217012838 Robert Hunt pushed to project branch mr2-codesuggestions-source at GitLab.org / GLQL 2026-03-18T11:19:05Z rob.hunt Robert Hunt

Robert Hunt (71605ec3) at 18 Mar 11:19

feat: add dimension validation for analytics queries

tag:gitlab.com,2026-03-18:5216448449 Robert Hunt pushed to project branch mr2-codesuggestions-source at GitLab.org / GLQL 2026-03-18T09:20:19Z rob.hunt Robert Hunt

Robert Hunt (2da95ad5) at 18 Mar 09:20

chore: remove continuation guide

tag:gitlab.com,2026-03-18:5216441972 Robert Hunt pushed to project branch mr2-codesuggestions-source at GitLab.org / GLQL 2026-03-18T09:18:58Z rob.hunt Robert Hunt

Robert Hunt (2a0922f7) at 18 Mar 09:18

feat: implement CodeSuggestions analytics source

... and 22 more commits

tag:gitlab.com,2026-03-17:5215144677 Robert Hunt commented on merge request !355 at GitLab.org / GLQL 2026-03-17T23:31:12Z rob.hunt Robert Hunt

This is fine

tag:gitlab.com,2026-03-17:5215139193 Robert Hunt pushed to project branch mr3-timesegment-support at GitLab.org / GLQL 2026-03-17T23:28:10Z rob.hunt Robert Hunt

Robert Hunt (46c1904c) at 17 Mar 23:28

feat: add timeSegment() function support for analytics

... and 3 more commits