feat(q-dev): enrich logging fields, separate dashboards, add E2E tests#8786
Open
feat(q-dev): enrich logging fields, separate dashboards, add E2E tests#8786
Conversation
…e, add E2E tests - Add new fields to chat_log: CodeReferenceCount, WebLinkCount, HasFollowupPrompts (from codeReferenceEvents, supplementaryWebLinksEvent, followupPrompts in JSON) - Add new fields to completion_log: LeftContextLength, RightContextLength (from leftContext/rightContext in JSON) - Update s3_logging_extractor to parse and populate new fields - Add migration script 20260319_add_logging_fields - Create qdev_feature_metrics dashboard for legacy by_user_analytic data - Reorganize qdev_executive dashboard with Row dividers labeling data sources and cross-dashboard navigation links - Enrich qdev_logging dashboard with new panels: Chat Trigger Type Distribution, Response Enrichment Breakdown, Completion Context Size Trends, Response Enrichment Trends - Fix SQL compatibility with only_full_group_by mode in executive dashboard (Weekly Active Users Trend, New vs Returning Users) - Fix Steering Adoption stat panel returning string instead of numeric value - Add Playwright E2E test covering full pipeline flow and dashboard verification
Contributor
There was a problem hiding this comment.
license-eye has checked 3872 files.
| Valid | Invalid | Ignored | Fixed |
|---|---|---|---|
| 3030 | 2 | 840 | 0 |
Click to see the invalid file list
- e2e/playwright.config.ts
- e2e/qdev-full-flow.spec.ts
Use this command to fix any missing license headers
```bash
docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix
</details>
| @@ -0,0 +1,22 @@ | |||
| import { defineConfig } from '@playwright/test'; | |||
Contributor
There was a problem hiding this comment.
Suggested change
| import { defineConfig } from '@playwright/test'; | |
| /* | |
| * Licensed to the Apache Software Foundation (ASF) under one | |
| * or more contributor license agreements. See the NOTICE file | |
| * distributed with this work for additional information | |
| * regarding copyright ownership. The ASF licenses this file | |
| * to you under the Apache License, Version 2.0 (the | |
| * "License"); you may not use this file except in compliance | |
| * with the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, | |
| * software distributed under the License is distributed on an | |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| * KIND, either express or implied. See the License for the | |
| * specific language governing permissions and limitations | |
| * under the License. | |
| */ | |
| import { defineConfig } from '@playwright/test'; |
| @@ -0,0 +1,231 @@ | |||
| import { test, expect, request, Page } from '@playwright/test'; | |||
Contributor
There was a problem hiding this comment.
Suggested change
| import { test, expect, request, Page } from '@playwright/test'; | |
| /* | |
| * Licensed to the Apache Software Foundation (ASF) under one | |
| * or more contributor license agreements. See the NOTICE file | |
| * distributed with this work for additional information | |
| * regarding copyright ownership. The ASF licenses this file | |
| * to you under the Apache License, Version 2.0 (the | |
| * "License"); you may not use this file except in compliance | |
| * with the License. You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, | |
| * software distributed under the License is distributed on an | |
| * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| * KIND, either express or implied. See the License for the | |
| * specific language governing permissions and limitations | |
| * under the License. | |
| */ | |
| import { test, expect, request, Page } from '@playwright/test'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
CodeReferenceCount,WebLinkCount,HasFollowupPromptsto chat_log andLeftContextLength,RightContextLengthto completion_log, aligned with Kiro prompt logging docsqdev_feature_metricsdashboard for legacyby_user_analyticdata; reorganizeqdev_executivewith Row dividers clearly labeling each data source (_tool_q_dev_chat_log,_tool_q_dev_user_report, cross-source)only_full_group_byincompatibility in Weekly Active Users and New vs Returning Users queries; fix Steering Adoption stat returning string instead of numericDashboard Overview
_tool_q_dev_user_report_tool_q_dev_user_datachat_log+completion_logTest plan
go build ./plugins/q_dev/...passesgo test ./plugins/q_dev/...passes🤖 Generated with Claude Code