@rizom/ops 0.2.0-alpha.271 → 0.2.0-alpha.273

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizom/ops",
3
- "version": "0.2.0-alpha.271",
3
+ "version": "0.2.0-alpha.273",
4
4
  "description": "Operator CLI for managing private brain fleet registry repos",
5
5
  "keywords": [
6
6
  "brains",
@@ -1,6 +1,8 @@
1
1
  name: Directory Sync Stress
2
2
 
3
3
  on:
4
+ schedule:
5
+ - cron: "23 4 * * 1"
4
6
  workflow_dispatch:
5
7
  inputs:
6
8
  handle:
@@ -26,7 +28,7 @@ permissions:
26
28
  contents: read
27
29
 
28
30
  concurrency:
29
- group: directory-sync-stress-${{ inputs.handle }}
31
+ group: directory-sync-stress-${{ github.event_name == 'schedule' && 'smoke' || inputs.handle }}
30
32
  cancel-in-progress: false
31
33
 
32
34
  jobs:
@@ -48,11 +50,12 @@ jobs:
48
50
 
49
51
  - name: Run smoke directory-sync stress profile
50
52
  env:
51
- HANDLE_INPUT: ${{ inputs.handle }}
52
- CONFIRM_INPUT: ${{ inputs.confirm }}
53
+ HANDLE_INPUT: ${{ github.event_name == 'schedule' && 'smoke' || inputs.handle }}
54
+ PROFILE_INPUT: ${{ github.event_name == 'schedule' && 'regression' || inputs.profile }}
55
+ CONFIRM_INPUT: ${{ github.event_name == 'schedule' && 'stress:smoke' || inputs.confirm }}
53
56
  run: |
54
57
  bunx brains-ops stress:directory-sync "$GITHUB_WORKSPACE" "$HANDLE_INPUT" \
55
- --profile "${{ inputs.profile }}" \
58
+ --profile "$PROFILE_INPUT" \
56
59
  --confirm "$CONFIRM_INPUT" \
57
60
  --artifacts-dir "$RUNNER_TEMP/directory-sync-stress"
58
61
 
@@ -60,7 +63,7 @@ jobs:
60
63
  if: always()
61
64
  uses: actions/upload-artifact@v4
62
65
  with:
63
- name: directory-sync-stress-${{ inputs.handle }}-${{ inputs.profile }}-${{ github.run_id }}
66
+ name: directory-sync-stress-${{ github.event_name == 'schedule' && 'smoke' || inputs.handle }}-${{ github.event_name == 'schedule' && 'regression' || inputs.profile }}-${{ github.run_id }}
64
67
  path: ${{ runner.temp }}/directory-sync-stress
65
68
  if-no-files-found: warn
66
69
 
@@ -84,8 +87,8 @@ jobs:
84
87
 
85
88
  - name: Remove residual stress probes
86
89
  env:
87
- HANDLE_INPUT: ${{ inputs.handle }}
88
- CONFIRM_INPUT: ${{ inputs.confirm }}
90
+ HANDLE_INPUT: ${{ github.event_name == 'schedule' && 'smoke' || inputs.handle }}
91
+ CONFIRM_INPUT: ${{ github.event_name == 'schedule' && 'stress:smoke' || inputs.confirm }}
89
92
  run: |
90
93
  bunx brains-ops stress:directory-sync:cleanup "$GITHUB_WORKSPACE" "$HANDLE_INPUT" \
91
94
  --confirm "$CONFIRM_INPUT" \
@@ -95,6 +98,6 @@ jobs:
95
98
  if: always()
96
99
  uses: actions/upload-artifact@v4
97
100
  with:
98
- name: directory-sync-stress-cleanup-${{ inputs.handle }}-${{ github.run_id }}
101
+ name: directory-sync-stress-cleanup-${{ github.event_name == 'schedule' && 'smoke' || inputs.handle }}-${{ github.run_id }}
99
102
  path: ${{ runner.temp }}/directory-sync-stress-cleanup
100
103
  if-no-files-found: warn
@@ -176,7 +176,7 @@ Rollback must restore the prior desired-state revision and prior runtime image t
176
176
 
177
177
  Start with the public [site mockup migration guide](https://github.com/rizom-ai/brains/blob/main/docs/site-mockup-migration.md), then apply these hosted-fleet requirements:
178
178
 
179
- - A site package must default-export a valid `SitePackage` and use documented public APIs such as `@rizom/brain/site`.
179
+ - A site package must default-export `defineSite(...)` and import its authoring API only from `@rizom/site`.
180
180
  - A theme package must default-export its CSS as a string. Hosted custom themes currently use the `@rizom/*` scope so the fleet image installs them with the site package; `@brains/*` themes are bundled with `@rizom/brain`.
181
181
  - Site and custom theme packages must be public npm packages that install without registry credentials.
182
182
  - Site, theme, and brain packages publish independently. Hosted configuration requires exact site and external-theme version pins and never derives one package version from another.