Skip to content

Commit 0808b28

Browse files
committed
chore: merge main into schedule data source contracts branch
2 parents fbe4eb9 + 67909d6 commit 0808b28

509 files changed

Lines changed: 6260 additions & 205400 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.firebase/hosting.YnVpbGQvd2Vi.cache

Lines changed: 0 additions & 96 deletions
This file was deleted.

.firebase/hosting.d2Vi.cache

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/copilot-instructions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,11 @@ class ScheduleRepositoryImpl implements ScheduleRepository {
199199

200200
## Code Generation Files
201201

202-
**Never manually edit** generated files (`.g.dart`, `.freezed.dart`, `di_setup.config.dart`). These are created by:
202+
**Never manually edit or commit** generated Dart files (`.g.dart`, `.freezed.dart`, `.mocks.dart`, `di_setup.config.dart`, Widgetbook `*.directories.g.dart`). These are ignored build artifacts created by:
203203

204204
- `build_runner` for JSON serialization, Freezed, Injectable, Drift
205-
- Regenerate after modifying annotated classes
205+
- Widgetbook code generation for component directories
206+
- Regenerate after modifying annotated classes, then stage only source/configuration changes
206207

207208
## Testing
208209

.github/workflows/android-play-closed.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ jobs:
106106
- name: Run code generation
107107
run: dart run build_runner build --delete-conflicting-outputs
108108

109-
- name: Verify generated files are current
109+
- name: Check generated Dart policy
110+
run: dart run tool/check_generated_dart_policy.dart
111+
112+
- name: Verify generation left tracked files unchanged
110113
run: git diff --exit-code
111114

112115
- name: Analyze

.github/workflows/android-play-internal.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,10 @@ jobs:
102102
- name: Run code generation
103103
run: dart run build_runner build --delete-conflicting-outputs
104104

105-
- name: Verify generated files are current
105+
- name: Check generated Dart policy
106+
run: dart run tool/check_generated_dart_policy.dart
107+
108+
- name: Verify generation left tracked files unchanged
106109
run: git diff --exit-code
107110

108111
- name: Analyze

.github/workflows/firebase-hosting-merge.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
- run: flutter pub get
3333

3434
- run: dart run build_runner build -d
35+
36+
- name: Check generated Dart policy
37+
run: dart run tool/check_generated_dart_policy.dart
38+
3539
- name: Build Web
3640
env:
3741
REST_API_URL: ${{ vars.REST_API_URL }}

.github/workflows/firebase-hosting-pull-request-widgetbook.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ jobs:
3737
- run: dart run build_runner build -d
3838
working-directory: ${{ env.working-directory }}
3939

40+
- name: Check generated Dart policy
41+
run: dart run tool/check_generated_dart_policy.dart
42+
4043
- run: flutter build web --release
4144
working-directory: ${{ env.working-directory }}
4245

.github/workflows/firebase-hosting-pull-request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535

3636
- run: dart run build_runner build -d
3737

38+
- name: Check generated Dart policy
39+
run: dart run tool/check_generated_dart_policy.dart
40+
3841
- name: Build Web
3942
env:
4043
REST_API_URL: ${{ vars.REST_API_URL }}

.github/workflows/firebase_hosting-merge-widgetbook.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434

3535
- run: dart run build_runner build -d
3636
working-directory: ${{ env.working-directory }}
37+
38+
- name: Check generated Dart policy
39+
run: dart run tool/check_generated_dart_policy.dart
3740

3841
- run: flutter build web --release
3942
working-directory: ${{ env.working-directory }}

.github/workflows/flutter_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
run: flutter --version
3030
- name: Run generator
3131
run: dart run build_runner build --delete-conflicting-outputs
32+
- name: Check generated Dart policy
33+
run: dart run tool/check_generated_dart_policy.dart
3234
- name: Analyze
3335
run: flutter analyze
3436
- name: Run test with coverage

0 commit comments

Comments
 (0)