Commit d6cd40b
Collapse statusinfo subpackage into modules/actions
modules/actions/statusinfo only existed to dodge the modules/actions ->
services/context leak from artifacts.go. With that file moved, the
subpackage is unneeded. Rename types to avoid stutter in their new
home: statusinfo.ActionInfo -> actions.CommitStatusInfo and
statusinfo.GetActionInfo -> actions.GetCommitStatusInfo.
Also tighten doc on util_actions.go's ActionsUtils (drop drift-prone
cross-file comparison and a duplicated rationale on the one-line
wrapper method).
Co-Authored-By: Claude (Opus 4.7) <noreply@anthropic.com>1 parent 6cb3859 commit d6cd40b
3 files changed
Lines changed: 23 additions & 26 deletions
File tree
- modules
- actions
- templates
- tests/integration
Lines changed: 16 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | | - | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | | - | |
| 69 | + | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 23 | + | |
| 24 | + | |
29 | 25 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
1810 | 1809 | | |
1811 | 1810 | | |
1812 | 1811 | | |
1813 | | - | |
| 1812 | + | |
1814 | 1813 | | |
1815 | 1814 | | |
1816 | 1815 | | |
| |||
1850 | 1849 | | |
1851 | 1850 | | |
1852 | 1851 | | |
1853 | | - | |
| 1852 | + | |
1854 | 1853 | | |
1855 | 1854 | | |
1856 | 1855 | | |
1857 | | - | |
| 1856 | + | |
1858 | 1857 | | |
1859 | 1858 | | |
1860 | 1859 | | |
| |||
0 commit comments