Skip to content

Commit ca6d620

Browse files
jhfclaude
andcommitted
test: Update generated docs and expected outputs for pipeline step weights
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 42abceb commit ca6d620

7 files changed

+206
-201
lines changed

doc/db/security.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ auto-updatable) also require INSERT.
211211
- **`pg_stat_monitor`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
212212
- **`pg_stat_statements`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
213213
- **`pg_stat_statements_info`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
214+
- **`pipeline_step_weight`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
214215
- **`power_group_active`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
215216
- **`power_group_def`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
216217
- **`power_group_membership`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
@@ -229,7 +230,7 @@ auto-updatable) also require INSERT.
229230
- **`sector_used_def`**: admin_user: INSERT, SELECT; authenticated: INSERT, SELECT; regular_user: INSERT, SELECT
230231
- **`stat_definition_active`**: admin_user: INSERT, SELECT; authenticated: INSERT, SELECT; regular_user: INSERT, SELECT
231232
- **`stat_definition_ordered`**: admin_user: INSERT, SELECT; authenticated: INSERT, SELECT; regular_user: INSERT, SELECT
232-
- **`statistical_unit_def`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
233+
- **`statistical_unit_def`**: admin_user: INSERT, SELECT; authenticated: INSERT, SELECT; regular_user: INSERT, SELECT
233234
- **`statistical_unit_facet_def`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
234235
- **`time_context`**: admin_user: SELECT; authenticated: SELECT; regular_user: SELECT
235236
- **`timeline_enterprise_def`**: admin_user: INSERT, SELECT; authenticated: INSERT, SELECT; regular_user: INSERT, SELECT

test/expected/002_generate_mermaid_er_diagram.out

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,11 @@ erDiagram
14461446
timestamp_with_time_zone updated_at
14471447
integer affected_power_group_count
14481448
}
1449+
worker_pipeline_step_weight["worker.pipeline_step_weight"] {
1450+
worker_pipeline_phase phase
1451+
text step
1452+
integer weight
1453+
}
14491454
worker_queue_registry["worker.queue_registry"] {
14501455
text queue
14511456
text description
@@ -1584,6 +1589,7 @@ erDiagram
15841589
sql_saga_updatable_view }o--|| sql_saga_era : updatable_view_table_schema_table_name_era_name_fkey
15851590
sql_saga_updatable_view }o--|| sql_saga_era : updatable_view_table_schema_table_name_era_name_fkey
15861591
worker_command_registry }o--|| worker_queue_registry : command_registry_queue_fkey
1592+
worker_pipeline_step_weight }o--|| worker_command_registry : pipeline_step_weight_step_fkey
15871593
worker_tasks }o--|| worker_command_registry : fk_tasks_command
15881594
worker_tasks }o--|| worker_command_registry : tasks_command_fkey
15891595
worker_tasks }o--o| worker_tasks : tasks_parent_id_fkey

test/expected/015_generate_data_model_doc.out

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,9 @@ SELECT :'undocumented';
375375
## Undocumented Entities +
376376
The following tables/views were found in the schema but are not yet documented. Please add them to a section or a helper pattern in `test/sql/015_generate_data_model_doc.sql`.+
377377
+
378-
- `public.timeline_power_group` (TABLE)
378+
- `public.pipeline_step_weight` (TABLE) +
379+
- `public.pipeline_step_weight` (VIEW) +
380+
- `public.timeline_power_group` (TABLE) +
381+
- `worker.pipeline_step_weight` (TABLE)
379382
(1 row)
380383

test/expected/016_generate_typescript_types_from_db.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ WITH stats AS (
1515
SELECT format('Stats: %s tables, %s views, %s enums, %s FK constraints', table_count, view_count, enum_count, fk_count) AS database_stats FROM stats;
1616
database_stats
1717
---------------------------------------------------------
18-
Stats: 64 tables, 85 views, 27 enums, 87 FK constraints
18+
Stats: 64 tables, 86 views, 27 enums, 87 FK constraints
1919
(1 row)
2020

0 commit comments

Comments
 (0)