Skip to content

Commit 1786498

Browse files
authored
chore(ci): retire weekly layer wording and schedules (#41)
1 parent 3f7965b commit 1786498

7 files changed

Lines changed: 38 additions & 10 deletions

File tree

.github/dependabot.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,42 +3,54 @@ updates:
33
- package-ecosystem: "github-actions"
44
directory: "/"
55
schedule:
6-
interval: "weekly"
6+
interval: "daily"
7+
time: "03:00"
8+
timezone: "UTC"
79
open-pull-requests-limit: 5
810
cooldown:
911
default-days: 7
1012
- package-ecosystem: "npm"
1113
directory: "/"
1214
schedule:
13-
interval: "weekly"
15+
interval: "daily"
16+
time: "03:00"
17+
timezone: "UTC"
1418
open-pull-requests-limit: 5
1519
cooldown:
1620
default-days: 7
1721
- package-ecosystem: "npm"
1822
directory: "/apps/dashboard"
1923
schedule:
20-
interval: "weekly"
24+
interval: "daily"
25+
time: "03:00"
26+
timezone: "UTC"
2127
open-pull-requests-limit: 5
2228
cooldown:
2329
default-days: 7
2430
- package-ecosystem: "npm"
2531
directory: "/apps/desktop"
2632
schedule:
27-
interval: "weekly"
33+
interval: "daily"
34+
time: "03:00"
35+
timezone: "UTC"
2836
open-pull-requests-limit: 5
2937
cooldown:
3038
default-days: 7
3139
- package-ecosystem: "pip"
3240
directory: "/apps/orchestrator"
3341
schedule:
34-
interval: "weekly"
42+
interval: "daily"
43+
time: "03:00"
44+
timezone: "UTC"
3545
open-pull-requests-limit: 5
3646
cooldown:
3747
default-days: 7
3848
- package-ecosystem: "cargo"
3949
directory: "/apps/desktop/src-tauri"
4050
schedule:
41-
interval: "weekly"
51+
interval: "daily"
52+
time: "03:00"
53+
timezone: "UTC"
4254
open-pull-requests-limit: 5
4355
cooldown:
4456
default-days: 7

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -491,6 +491,9 @@ There is no separate sixth CI layer anymore. Old extra-layer behavior now
491491
belongs either to `nightly` scheduled governance or to explicit `manual`
492492
verification.
493493

494+
Internal UI policy helpers still use `pr` as the hosted PR subprofile label.
495+
That label is not a sixth top-level CI layer alongside the five layers above.
496+
494497
`npm run test:quick` now expects the dashboard clean-room install gate to
495498
prove `jsdom` itself can load, instead of pinning success to the presence of a
496499
specific transitive dependency layout such as `data-urls`.

configs/ci_policy.profiles.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "1.0.0",
55
"layer": "profile",
66
"schema": "schemas/ci_policy.schema.json",
7-
"description": "Profile-level CI defaults (pr/nightly/manual).",
7+
"description": "UI policy defaults for the hosted PR subprofile (`pr`) plus the top-level nightly/manual lanes.",
88
"source_of_truth": [
99
"scripts/ci.sh"
1010
]

docs/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ navigation set.
136136

137137
- active CI layers are `pre-commit`, `pre-push`, `hosted`, `nightly`, and `manual`
138138
- no sixth CI/profile/workflow layer exists in this repository
139+
- internal UI policy helpers may still say `pr`; that means the hosted PR
140+
subprofile, not a sixth top-level CI layer
139141
- default public CI is hosted-first and GitHub-hosted
140142
- fork PRs stay on low-privilege checks only and must not touch secrets or
141143
live/external systems

scripts/resolve_ci_policy.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,11 @@ def main() -> int:
241241
parser = argparse.ArgumentParser(
242242
description="Resolve CI policy in shadow mode and emit auditable environment snapshot."
243243
)
244-
parser.add_argument("--profile", default="pr", help="Policy profile name, e.g. pr/nightly/manual")
244+
parser.add_argument(
245+
"--profile",
246+
default="pr",
247+
help="UI policy profile name: hosted PR subprofile (`pr`), nightly, or manual",
248+
)
245249
parser.add_argument(
246250
"--output-json",
247251
default=str(DEFAULT_OUTPUT_PATH),

scripts/ui_regression_operational_gate.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ usage() {
4040
Usage:
4141
bash scripts/ui_regression_operational_gate.sh [--profile pr|nightly|manual]
4242
43+
`pr` is the hosted PR subprofile, not a sixth top-level CI layer.
44+
4345
Env:
4446
UI_REGRESSION_PROFILE default: pr
4547
UI_REGRESSION_RUN_ID_PREFIX default: ops_ui_regression
@@ -152,7 +154,7 @@ case "$PROFILE" in
152154
P1_THRESHOLD="${UI_REGRESSION_MANUAL_P1_THRESHOLD:-1.0}"
153155
;;
154156
*)
155-
echo "❌ invalid profile: $PROFILE (allowed: pr|nightly|manual)" >&2
157+
echo "❌ invalid profile: $PROFILE (allowed: pr|nightly|manual; pr = hosted PR subprofile)" >&2
156158
exit 2
157159
;;
158160
esac

scripts/ui_regression_trend_append.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99

1010
def parse_args() -> argparse.Namespace:
1111
parser = argparse.ArgumentParser(description="Append ui regression trend snapshot.")
12-
parser.add_argument("--profile", required=True, choices=["pr", "nightly", "manual"], help="Run profile")
12+
parser.add_argument(
13+
"--profile",
14+
required=True,
15+
choices=["pr", "nightly", "manual"],
16+
help="Run profile (`pr` = hosted PR subprofile)",
17+
)
1318
parser.add_argument("--p0-report", required=True, help="Path to p0 flake report")
1419
parser.add_argument("--p1-report", required=True, help="Path to p1 flake report")
1520
parser.add_argument(

0 commit comments

Comments
 (0)