Daniele Rossetti activity https://gitlab.com/drosse 2026-03-18T19:10:00Z tag:gitlab.com,2026-03-18:5219144169 Daniele Rossetti commented on merge request !354 at GitLab.org / GLQL 2026-03-18T19:10:00Z drosse Daniele Rossetti

@jiaan @rob.hunt ready for review!

tag:gitlab.com,2026-03-18:5219125712 Daniele Rossetti pushed to project branch drosse/add-pipeline at GitLab.org / GLQL 2026-03-18T19:03:52Z drosse Daniele Rossetti

Daniele Rossetti (8411b834) at 18 Mar 19:03

feat: improve error handling/tests

tag:gitlab.com,2026-03-18:5219124323 Daniele Rossetti commented on merge request !354 at GitLab.org / GLQL 2026-03-18T19:03:26Z drosse Daniele Rossetti

I've added a comment with a clarification

tag:gitlab.com,2026-03-18:5218986929 Daniele Rossetti commented on merge request !354 at GitLab.org / GLQL 2026-03-18T18:20:20Z drosse Daniele Rossetti

@GitLabDuo the token parser already uppercases all bare words

tag:gitlab.com,2026-03-18:5218861599 Daniele Rossetti pushed to project branch drosse/add-pipeline at GitLab.org / GLQL 2026-03-18T17:44:47Z drosse Daniele Rossetti

Daniele Rossetti (a9299026) at 18 Mar 17:44

feat: improve error handling/tests

tag:gitlab.com,2026-03-18:5218839858 Daniele Rossetti commented on merge request !227927 at GitLab.org / GitLab 2026-03-18T17:38:09Z drosse Daniele Rossetti

You made this comment 3 times

tag:gitlab.com,2026-03-18:5218839482 Daniele Rossetti pushed to project branch drosse/add-agents-tests-docs at GitLab.org / GitLab 2026-03-18T17:38:03Z drosse Daniele Rossetti

Daniele Rossetti (b629c4b4) at 18 Mar 17:38

Apply 1 suggestion(s) to 1 file(s)

tag:gitlab.com,2026-03-18:5218824924 Daniele Rossetti opened issue #594028: Update GLQL user documentation to include Pipeline/Jobs at GitLab.org / GitLab 2026-03-18T17:33:50Z drosse Daniele Rossetti tag:gitlab.com,2026-03-18:5218817568 Daniele Rossetti opened issue #594026: Update Data Analyst prompt to include Pipeline/Jobs at GitLab.org / GitLab 2026-03-18T17:31:44Z drosse Daniele Rossetti tag:gitlab.com,2026-03-18:5218816756 Daniele Rossetti opened issue #594025: Update GLQL presenter to support Pipeline/Jobs at GitLab.org / GitLab 2026-03-18T17:31:28Z drosse Daniele Rossetti tag:gitlab.com,2026-03-18:5218727759 Daniele Rossetti commented on issue #573120 at GitLab.org / GitLab 2026-03-18T17:08:09Z drosse Daniele Rossetti

Plan: Add Time Tracking Fields (timeEstimate, timeSpent)

Context

We want to add timeEstimate and timeSpent fields to GLQL. Display rendering is already partially wired up in the Rust compiler (render_query_field handles "timeEstimate" and "totalTimeSpent" via WorkItemWidgetTimeTracking), but the fields aren't in the Field enum — they pass through as UnknownField, so there's no validation.

The GitLab GraphQL schema confirms no filter arguments or sort enum values exist for time tracking on work items. The WorkItemWidgetTimeTracking model has no sorting_keys defined. So this change is display-only for now.

On the frontend, the GraphQL response returns raw seconds (integers) which currently render as plain numbers via TextPresenter. A new DurationPresenter is needed.


Part 1: Rust GLQL Compiler (glql)

Step 1: Add field variants to Field enum

File: src/types/field.rs

  • Add TimeEstimate and TimeSpent to the enum (near Weight)
  • display_field_name():
    • TimeEstimate"timeEstimate"
    • TimeSpent"totalTimeSpent"
  • From<String> aliases:
    • "timeestimate"TimeEstimate
    • "estimatedtime"TimeEstimate.aliased_as(s)
    • "timespent"TimeSpent
    • "totaltimespent"TimeSpent.aliased_as(s)
  • From<&Field> for String:
    • TimeEstimate"timeEstimate"
    • TimeSpent"timeSpent"

Step 2: Register as display-only in WorkItems source analyzer

File: src/analyzer/sources/work_items.rs

  • is_valid_field(): add TimeEstimate | TimeSpent
  • field_type(): TimeEstimate | TimeSpent => NumberLike (display-only, no Nullable needed since no filtering)
  • No changes to graphql_filter_key(), graphql_filter_value(), graphql_sort_value(), or valid_sort_fields()

Step 3: Register in MergeRequests source analyzer

File: src/analyzer/sources/merge_requests.rs

  • is_valid_field(): add TimeEstimate | TimeSpent
  • field_type(): TimeEstimate | TimeSpent => NumberLike

Step 4: Add/update tests

Update: tests/field_selection_tests.rs

  • Add ("timeSpent", "totalTimeSpent") and ("estimatedTime", "timeEstimate") to alias tests for work items and merge requests

Part 2: GitLab Frontend (gitlab/app/assets/javascripts/glql/)

Step 5: Create DurationPresenter

New file: app/assets/javascripts/glql/components/presenters/duration.vue

Simple component using existing formatTimeSpent() from ~/lib/utils/datetime/date_format_utility (line 557). Accepts a Number prop, renders formatted string like "1h 30m".

Step 6: Wire up in FieldPresenter

File: app/assets/javascripts/glql/components/presenters/field.vue

  • Import DurationPresenter
  • Add to presentersByFieldKey:
    • timeEstimate: DurationPresenter
    • totalTimeSpent: DurationPresenter

Step 7: Add frontend tests

New file: spec/frontend/glql/components/presenters/duration_spec.js

  • Test renders 3600"1h", 0"0m", negative values

Update: spec/frontend/glql/components/presenters/field_spec.js

  • Add timeEstimate and totalTimeSpent to the fieldKey test cases

Verification

  1. cargo test in glql repo — all existing + updated tests pass
  2. yarn jest spec/frontend/glql/ in GDK — all existing + new tests pass
  3. E2E: use fields: timeEstimate, totalTimeSpent in a GLQL block and verify human-readable display
tag:gitlab.com,2026-03-18:5218711155 Daniele Rossetti pushed to project branch drosse/add-agents-tests-docs at GitLab.org / GitLab 2026-03-18T17:04:24Z drosse Daniele Rossetti

Daniele Rossetti (fe37f6b6) at 18 Mar 17:04

Add Integration testing foundational agents docs

tag:gitlab.com,2026-03-18:5218674302 Daniele Rossetti pushed to project branch drosse/add-pipeline at GitLab.org / GLQL 2026-03-18T16:57:29Z drosse Daniele Rossetti

Daniele Rossetti (e297cb79) at 18 Mar 16:57

feat: make Status an Enum and supports token instead of quoted stirngs

... and 3 more commits

tag:gitlab.com,2026-03-18:5218661353 Daniele Rossetti pushed to project branch drosse/add-agents-tests-docs at GitLab.org / GitLab 2026-03-18T16:55:16Z drosse Daniele Rossetti

Daniele Rossetti (c513161b) at 18 Mar 16:55

Add Integration testing foundational agents docs

tag:gitlab.com,2026-03-18:5218648181 Daniele Rossetti closed issue #112: Refactor: Make token() parser open to unify bare word and quoted string UX at GitLab.org / GLQL 2026-03-18T16:52:57Z drosse Daniele Rossetti tag:gitlab.com,2026-03-18:5218648037 Daniele Rossetti commented on merge request !227927 at GitLab.org / GitLab 2026-03-18T16:52:55Z drosse Daniele Rossetti

@GitLabDuo I think we need the full MR link here?

tag:gitlab.com,2026-03-18:5218638226 Daniele Rossetti commented on merge request !227927 at GitLab.org / GitLab 2026-03-18T16:51:07Z drosse Daniele Rossetti

@GitLabDuo isn't this clear already? deterministic responses are mentioned together with mocked tools, not with LLM responses

tag:gitlab.com,2026-03-18:5218588336 Daniele Rossetti opened merge request !227927: Add Integration testing foundational agents docs at GitLab.org / GitLab 2026-03-18T16:43:08Z drosse Daniele Rossetti

What does this MR do and why?

Adds new section about foundational agents integration testing. Based on gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!4541 and https://gitlab.com/gitlab-org/modelops/applied-ml/code-suggestions/ai-assist/-/merge_requests/4543

References

NA

Screenshots or screen recordings

NA