@nanobpm/nano-workforce 0.101.0 → 0.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/app/github.test.ts +36 -1
- package/app/github.ts +35 -2
- package/app/mergesPerDay.test.ts +173 -0
- package/app/mergesPerDay.ts +150 -0
- package/app/queuedVerdict.test.ts +1 -0
- package/app/reviewReadinessGate.test.ts +15 -3
- package/app/service.ts +20 -1
- package/db/migrations/051_merges_per_day.sql +33 -0
- package/package.json +1 -1
- package/pages/_nav.json +2 -1
- package/pages/board.page.json +4 -0
- package/pages/cockpit.page.json +4 -0
- package/pages/epic-detail.page.json +4 -0
- package/pages/epic.page.json +4 -0
- package/pages/feature.page.json +4 -0
- package/pages/home.page.json +4 -0
- package/pages/lineage.page.json +4 -0
- package/pages/overview.page.json +4 -0
- package/pages/tasks.page.json +4 -0
- package/pages/velocity.page.json +92 -0
- package/resources/processes/merge-loop.bpmn +174 -148
- package/scripts/check-migrations.ts +12 -1
- package/workers/merge/worker.test.ts +45 -0
- package/workers/merge/worker.ts +32 -4
package/pages/epic.page.json
CHANGED
package/pages/feature.page.json
CHANGED
package/pages/home.page.json
CHANGED
package/pages/lineage.page.json
CHANGED
package/pages/overview.page.json
CHANGED
package/pages/tasks.page.json
CHANGED
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0",
|
|
3
|
+
"title": "Velocity",
|
|
4
|
+
"nodes": [
|
|
5
|
+
{
|
|
6
|
+
"type": "nav",
|
|
7
|
+
"id": "nav",
|
|
8
|
+
"props": {
|
|
9
|
+
"variant": "bar",
|
|
10
|
+
"title": "Nano Workforce",
|
|
11
|
+
"items": [
|
|
12
|
+
{
|
|
13
|
+
"label": "Overview",
|
|
14
|
+
"page": "overview"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"label": "Lineage",
|
|
18
|
+
"page": "lineage"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"label": "Convergence",
|
|
22
|
+
"page": "home"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"label": "Epics",
|
|
26
|
+
"page": "epic"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"label": "Feature",
|
|
30
|
+
"page": "feature"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"label": "Tasks",
|
|
34
|
+
"page": "tasks",
|
|
35
|
+
"badge": {
|
|
36
|
+
"source": "app",
|
|
37
|
+
"table": "user_tasks",
|
|
38
|
+
"filter": [],
|
|
39
|
+
"tone": "danger",
|
|
40
|
+
"refreshMs": 5000,
|
|
41
|
+
"hideWhenZero": true
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"label": "Cockpit",
|
|
46
|
+
"page": "cockpit"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"label": "Board",
|
|
50
|
+
"page": "board"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"label": "Velocity",
|
|
54
|
+
"page": "velocity"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"sticky": true
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"type": "text",
|
|
62
|
+
"id": "title",
|
|
63
|
+
"props": { "text": "Velocity", "variant": "heading" }
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"type": "text",
|
|
67
|
+
"id": "subtitle",
|
|
68
|
+
"props": {
|
|
69
|
+
"text": "Merged-per-day throughput \u2014 how many PRs the fleet landed each calendar day, derived directly from the merge audit trail. Each row is one day: the bar is scaled against the busiest day, the header shows that day's merged count and the running burn-up total.",
|
|
70
|
+
"variant": "sub"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"type": "prose",
|
|
75
|
+
"id": "merges-per-day",
|
|
76
|
+
"props": {
|
|
77
|
+
"title": "PRs merged per day",
|
|
78
|
+
"refreshMs": 5000,
|
|
79
|
+
"measure": 60,
|
|
80
|
+
"empty": "No merges recorded yet.",
|
|
81
|
+
"data": {
|
|
82
|
+
"kind": "datasource",
|
|
83
|
+
"source": "app",
|
|
84
|
+
"table": "merges_per_day",
|
|
85
|
+
"orderBy": { "field": "day", "dir": "asc" }
|
|
86
|
+
},
|
|
87
|
+
"header": "{{day}} \u00b7 {{merged}} merged \u00b7 \u03a3 {{cumulative}}",
|
|
88
|
+
"body": "bar"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
]
|
|
92
|
+
}
|