You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "warren830 (via GitHub)" <gi...@apache.org> on 2026/03/20 14:36:35 UTC
[PR] feat(q-dev): enrich logging fields, separate dashboards, add E2E tests [incubator-devlake]
warren830 opened a new pull request, #8786:
URL: https://github.com/apache/incubator-devlake/pull/8786
## Summary
- **New logging fields**: Add `CodeReferenceCount`, `WebLinkCount`, `HasFollowupPrompts` to chat_log and `LeftContextLength`, `RightContextLength` to completion_log, aligned with [Kiro prompt logging docs](https://kiro.dev/docs/enterprise/monitor-and-track/prompt-logging/)
- **Dashboard separation**: Create dedicated `qdev_feature_metrics` dashboard for legacy `by_user_analytic` data; reorganize `qdev_executive` with Row dividers clearly labeling each data source (`_tool_q_dev_chat_log`, `_tool_q_dev_user_report`, cross-source)
- **Dashboard enrichment**: Add Chat Trigger Type Distribution, Response Enrichment Breakdown, Completion Context Size Trends, and Response Enrichment Trends panels to logging dashboard
- **SQL fixes**: Fix `only_full_group_by` incompatibility in Weekly Active Users and New vs Returning Users queries; fix Steering Adoption stat returning string instead of numeric
- **E2E tests**: Add Playwright test suite covering full pipeline flow (connection → scope → blueprint → pipeline → Grafana dashboard verification)
## Dashboard Overview
| Dashboard | Data Source | Purpose |
|---|---|---|
| Kiro Usage Dashboard | `_tool_q_dev_user_report` | New format: credits, messages, subscriptions |
| Kiro Legacy Feature Metrics (NEW) | `_tool_q_dev_user_data` | Legacy: feature-level metrics |
| Kiro AI Activity Insights | `chat_log` + `completion_log` | Prompt logging |
| Kiro Executive Dashboard | Cross-source | KPIs with clear data source labels |
## Test plan
- [x] `go build ./plugins/q_dev/...` passes
- [x] `go test ./plugins/q_dev/...` passes
- [x] Playwright E2E: 13/13 tests pass (connection, scope, blueprint, pipeline, 4 dashboards)
- [x] All dashboard panels render with data (verified via screenshots)
- [ ] Review migration script for production safety
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(q-dev): enrich logging fields, separate dashboards, add E2E tests [incubator-devlake]
Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn merged PR #8786:
URL: https://github.com/apache/incubator-devlake/pull/8786
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat(q-dev): enrich logging fields, separate dashboards, add E2E tests [incubator-devlake]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on code in PR #8786:
URL: https://github.com/apache/incubator-devlake/pull/8786#discussion_r2966151483
##########
e2e/playwright.config.ts:
##########
@@ -0,0 +1,22 @@
+import { defineConfig } from '@playwright/test';
Review Comment:
```suggestion
/*
* 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';
```
<!-- license-eye hidden identification -->
##########
e2e/qdev-full-flow.spec.ts:
##########
@@ -0,0 +1,231 @@
+import { test, expect, request, Page } from '@playwright/test';
Review Comment:
```suggestion
/*
* 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';
```
<!-- license-eye hidden identification -->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org