Repository navigation
Issue #1182: feat: add the control-plane API's deploy workflow - #1464
Conversation
…ts own database First slice of #1182: a control_plane_restapi base and lif_control_plane_api project that package only cognito_auth and logging, a /health-check that pings the control plane's own database, and Cognito auth that fails closed when no user pool is configured. Local compose gets the service plus a separate Postgres container whose migrations folder (empty for now) is its initdb.d. The developer-key table and endpoints wait on #1190. The deploy workflow, CloudFormation params and Aurora database are the AWS half. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…oject uv.lock Apply #1385's pattern (Issue #957) to the new lif_control_plane_api image: the builder runs `uv sync --locked` and exports the lock to constraints.txt, and the runtime installs the wheel with `--constraint`, so local compose gets the locked versions instead of re-resolving from PyPI. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
#1398 replaced cognito_auth with the single lif.auth brick (ADR 0007). The base now composes AuthMiddleware with cognito_strategy, and with no user pool it passes no strategies, so non-public paths still fail closed without contacting Cognito. The hand-rolled deny middleware is gone, and the project packages auth instead of cognito_auth. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…p a duplicate cspell word With a user pool set and no CONTROL_PLANE_AUTH__CLIENT_ID, decode_cognito_jwt skips the aud/client_id check, so a token from any app client in the pool would pass. The control plane now treats a missing client ID like a missing pool: no strategies, every non-public path 401. main already lists asyncpg in cspell.json, so this branch's copy goes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A thin caller of _deploy-service.yml, like the other services. Its paths: cover the three bricks the project packages (control_plane_restapi, auth, logging), so a change to lif.auth or lif.logging redeploys it (#1171). The ECR repository, ECS service, params and taskdef-includes it names don't exist yet; they come with the AWS half of #1182. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…trol-plane deploy The key-endpoints PR adds both bricks to the project, so the workflow watches them too (#1171). Until that lands they are extra paths, which only cause an unneeded rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d to a workspace (#1466) ##### Description of Change > **Update 11-04:** #1384 and #1465 (ADR 0008) are merged, and main is merged in here (`1948bef`), so the diff is just this PR's 13 files. CI is green, and against real PostgreSQL the brick, control-plane and MDR key tests pass (48 passed, 0 skipped). It implements **ADR 0008**. The second slice of #1182: the control plane's developer-key table and its three endpoints. **The key store (shared brick `developer_keys`, additive)** - New `workspace_store.py`: `WorkspaceDeveloperApiKey`, one table for every workspace's keys, with an explicit `Workspace` column and a **unique `KeyHash`** (ADR 0006 decision 3). It also has `create_` / `list_` / `revoke_workspace_developer_api_key`. Key generation and the DTOs are shared with the MDR functions. - **MDR is unchanged.** The new model is on its own SQLAlchemy registry, so it never shares `SQLModel.metadata` with MDR's `DeveloperApiKey`. Both map a table called `DeveloperApiKeys`, but in different databases. Adding a `Workspace` column to MDR's model instead would have broken every MDR key query (its tenant tables have no such column) or needed an MDR Flyway migration. A test pins the separation. - **Consumers of the brick:** `lif_mdr_api` (its workflow already watches `developer_keys/**`; it only gains new, unused code) and now `lif_control_plane_api`. **The migration** `projects/lif_control_plane_database/migrations/V1.0__developer_api_keys.sql`: the control plane's own migration set, not MDR's Flyway. Its column types follow MDR's V1.5, so #1183 can copy rows across, plus `Workspace`, a unique index on `KeyHash`, and an index on `(Workspace, OwnerSub)`. It's idempotent, and the tests apply it twice. **The endpoints** (`bases/lif/control_plane_restapi/api_key_endpoints.py`) | Endpoint | Who | Result | |---|---|---| | `POST /api-keys/?workspace=W` | a Cognito member of `W` | `201`, with the raw key shown once | | `GET /api-keys/?workspace=W` | a Cognito member of `W` | the caller's own keys in `W` | | `DELETE /api-keys/{id}` | the key's owner | `204`. Needs ownership only, so it works after leaving `W`. Someone else's key is a `404`. | - **Membership** (ADR 0008 decision 4): one of the caller's `cognito:groups` must satisfy `tenant_schema_for_group(group) == W`, the rule MDR's `find_workspace` applies. Otherwise the request gets a `403`, before the database is touched. `W` is compared whole and never built from a group. - **Owner** = the token's `sub` (decision 1). A caller that isn't a Cognito user gets a `400`. That can't happen today, since Cognito is the only strategy, but it guards the decision if another strategy is ever added. - The workspace goes in the query string on both `POST` and `GET`, so the request body stays MDR's `CreateDeveloperApiKeyDTO`. **Packaging:** the project adds `developer_keys` and `tenant_routing` to its bricks, and `sqlmodel~=0.0.27`. Its lock is pinned to `0.0.27`, the version the root env and MDR's image run; an unpinned lock picked `0.0.48`. **Draft #1464's `paths:` now covers both bricks** (`9590840` there). **Limitations / not in this PR:** - No dev deploy yet: that needs #1464 and the AWS half (the database, login and migration runner). - Keys still authenticate nothing until #1184. - Copying MDR's existing keys is #1183. - Removing a user from a group doesn't revoke their keys (ADR 0008, Consequences). **How to review:** read ADR 0008 first, then `workspace_store.py` against MDR's `core.py`, then the endpoints. The tests below show which paths are covered. ##### Related Issues Refs #1182 Refs #1190 ##### Type of Change - [x] New feature (non-breaking change which adds functionality) ##### Project Area(s) Affected - [x] bases/ - [x] components/ - [x] projects/ - [x] test/ or e2e/ - [x] Database schema (migrations): the control plane's own folder, not MDR's - [x] API endpoints - [x] Documentation (docs/, READMEs, ARCHITECTURE.md, CLAUDE.md) --- ##### Checklist - [x] commit message follows commit guidelines (see commitlint.config.mjs) - [x] tests are included (unit and/or integration tests) - [x] code passes linting checks (`uv run ruff check`) - [x] code passes formatting checks (`uv run ruff format`) - [x] code passes type checking (`uv run ty check`) - [x] pre-commit hooks have been run successfully - [x] API changes: base (Python code) documentation in `docs/` and project README updated (the base, brick, project and migrations READMEs) ##### Testing - [x] Automated tests added/updated - `test/components/lif/developer_keys/test_workspace_store.py`, against a throwaway PostgreSQL with the real migration applied twice: list scoped to workspace and owner, raw key not stored, `KeyHash` uniqueness enforced by the database, revoke-by-owner with 404s and an idempotent revoke, and the store kept off MDR's metadata. - `test/bases/lif/control_plane_restapi/test_api_key_endpoints.py`: a `403` for non-members and for a caller with no groups, before the database; `422` for a missing or empty workspace; a group name or a different spelling of the schema is no match; `401` without a token; the Cognito-only owner check, at each endpoint, with a stubbed non-Cognito strategy; and the full issue → list → revoke flow against PostgreSQL. - **Full suite against real PostgreSQL** (pgtest container, so the DB-backed tests run instead of skipping): **1757 passed, 1 skipped**. The skip is the snapshot-regeneration test, which needs `LIF_UPDATE_SCHEMA_SNAPSHOTS=1`. That run includes every MDR test, among them MDR's own key endpoints. - **Mutation probes**, in a scratch worktree: disabling the membership check fails 4 tests; disabling the Cognito-only check fails the 3 endpoint cases (`096d91e`, after bjagg's review), and so does any single endpoint reading `request.state.principal` directly instead of calling `_require_owner_sub`. Against PostgreSQL: dropping the unique `KeyHash` index fails 1 test; listing without the workspace filter fails 1; revoking without the owner check fails 2; and a non-idempotent `CREATE TABLE` errors 4 tests. - [x] Manual testing performed: on a fresh `lif-control-plane-database` in local compose, initdb ran `V1.0__developer_api_keys.sql`, which created the table, `ux_DeveloperApiKeys_KeyHash` (unique) and `ix_DeveloperApiKeys_Workspace_OwnerSub`. Re-applying it with `ON_ERROR_STOP=1` exited 0. Not done: an end-to-end call in compose, because local compose has no Cognito pool, so every key path is a `401`. The Postgres-backed endpoint test covers that flow with stubbed tokens. ##### Additional Notes - **Merge order:** none left: #1384 and #1465 are merged. #1464 (draft) is independent. This one Refs #1182, because the dev deploy is still to come. - **Shared brick:** `developer_keys` is packaged by `lif_mdr_api` too. The change there is additive, and MDR's tests pass on it (see above). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: dereck <dereck.haskins@gmail.com> Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…1473) ##### Description of Change **Problem.** `DeveloperApiKeyDTO` (`components/lif/developer_keys/dto.py`) configured itself with a pydantic v1-style inner class: ```python class Config: orm_mode = True from_attributes = True ``` On pydantic 2.11.6, importing the module raises `UserWarning: 'orm_mode' has been renamed to 'from_attributes'`. That warning shows up in every test run and service start that imports the brick. bjagg flagged it in his read of #1466. **Solution.** The inner class is now `model_config = ConfigDict(from_attributes=True)`. `from_attributes` was already `True`, and v2 ignores `orm_mode` apart from the warning, so behavior doesn't change. **Blast radius.** `developer_keys` is a shared brick, packaged by: - `lif_mdr_api`: MDR's `/developer-api-keys` endpoints. `lif_mdr_api.yml`'s `paths:` already covers `components/lif/developer_keys/**`. - `lif_control_plane_api`: the `/api-keys` endpoints from #1466. This service has no deploy workflow on `main` yet (#1464 adds one, and its `paths:` covers the brick), so nothing deployed can miss the rebuild. **Limitations.** The same `orm_mode` warning still comes from `components/lif/mdr_dto/` (24 places), so the MDR test runs still show it. That's out of scope per #1467. **How to test.** - `uv run pytest test/components/lif/developer_keys/test_dto.py` - `uv run python -W error::UserWarning -c "import lif.developer_keys.dto"` exits 0. On `main` it fails with the `orm_mode` warning. ##### Related Issues Closes #1467 Refs #1466 ##### Type of Change - [x] Bug fix (non-breaking change which fixes an issue) ##### Project Area(s) Affected - [x] components/ - [x] test/ or e2e/ --- ##### Checklist - [x] commit message follows commit guidelines (see commitlint.config.mjs) - [x] tests are included (unit and/or integration tests) - [x] code passes linting checks (`uv run ruff check`) - [x] code passes formatting checks (`uv run ruff format`) - [x] code passes type checking (`uv run ty check`) - [x] pre-commit hooks have been run successfully ##### Testing - [x] Automated tests added/updated New file: `test/components/lif/developer_keys/test_dto.py`. - `test_dto_module_imports_without_a_config_warning` imports the module in a fresh interpreter with `-W error::UserWarning`. It **failed before the fix** with the `orm_mode` warning (confirmed directly, not an import error) and passes after. - `test_dto_validates_from_an_orm_row` checks that `model_validate` still builds the DTO from an attribute object, the way both key listings do. It needs no database, so it runs everywhere. The existing key tests pass against a real PostgreSQL, 51 passed with none skipped, run in the local pgtest container across: - `test/components/lif/developer_keys/` - `test/bases/lif/mdr_restapi/test_developer_api_key_{endpoints,service}.py` - `test/bases/lif/control_plane_restapi/` Without PostgreSQL, 10 of those skip. pre-commit on the changed files is green. ##### Additional Notes The diff doesn't share files with any open PR. #1464 only adds `.github/workflows/lif_control_plane_api.yml`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: dereck <dereck.haskins@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
@dereck-symmetry the names all fit: ECR We won't create the AWS resources now. Instead, let's make this PR mergeable as-is:
Then mark it ready, and I'll review. #1182 keeps the checklist for whoever deploys it. |
…ludes Modeled on learner-data-export-api's, as bjagg asked on #1464. The params differ only in the service's own values: name, domain, listener rule priority (9, unused by the other dev services), health check (/health-check), image, taskdef-includes file and port (8014). The taskdef includes set CONTROL_PLANE_AUTH__* from the MDR's Cognito pool and SPA client, as LDE does, and read CONTROL_PLANE__DATABASE_URL from SSM /<env>/control-plane-api/DatabaseUrl. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t manual-only deploys in the paths check The workflow keeps only workflow_dispatch, so merging can't start a deploy that fails before the AWS resources exist (bjagg on #1464). check_workflow_paths.py read the paths: list under push: and failed a workflow without one. A deploy workflow with no push trigger is now listed as manual-only on every run, not counted as covered; adding the trigger back puts it under the check again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bjagg
left a comment
There was a problem hiding this comment.
Thanks, Dereck. I checked it at c07dd1c:
- Params: they match LDE's file except for the service's own values, as the table says.
- Dev: listener priority 9 is free (the live rules use 2, 3, 4, 5, 6 and 8), and
/dev/mdr/CognitoUserPoolIdand/dev/mdr/CognitoSpaClientIdexist. The ECR repository and/dev/control-plane-api/DatabaseUrldon't exist yet, as the checklist expects. - Port and health check: they match the
Dockerfile(8014) andcore.py(/health-check). - Path check:
check_workflow_paths.pypasses and lists the workflow as manual-only. Its 19 tests pass.
One non-blocking note: has_push_trigger only recognizes the block form. A future workflow written on: push or on: [push, workflow_dispatch] would be listed as manual-only and skip the check. Recognizing those forms, or calling a workflow manual-only only when workflow_dispatch is its sole trigger, would close that gap.
Approving.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ok branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Deploys (09): a merge redeploys on the existing task definition, so params and taskdef changes need a stack deploy; dev runs three orgs; demo tags are timestamp plus SHA; #1464 merged (control-plane workflow is manual only); dagster_oss_ecs deploys to dev. - The Translator caches schemas for 5 minutes and fetches mappings every request. - The LDE accepts Cognito only for now; the Translator takes model Ids from its caller. - The MDR is shared by all three orgs locally. - New data source: registration call in lif_job.py, a fourth brick list, the paths: line. - The migration example is #1226; #1123 was the refresh/search_path bug. - remove_test_data.py doesn't change backup.sql. - Dockerfile2 is local; deploys build the default Dockerfile after build.sh. - 41 components, 19 projects; Postgres tests outside mdr_restapi; initdb on Debian. - Smaller: /docs routes, $push vs $set, where _shape lives, #1004 is closed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tained models (#1489) ##### Description of Change Adds the one-time conversion of the overlay models 17 (StateU LIF) and 18 (Org2 LIF) into self-contained models, in place, as decided on #1388 (ADR `data_model/0004`). Merging changes nothing at runtime: the new module is imported only by the script, and running the script is a manual step on each environment. **`components/lif/mdr_services/overlay_converter.py`**, per overlay: - **Step 0:** attributes stored with an overlay's model but associated directly from a base entity move to the base model (cbeach47's §11 line). Ids are unchanged. In the seed: 8 of model 17's attributes move to model 1. It refuses two candidates that would give the base one `UniqueName` twice. - **Steps 1–4:** the overlay's schema decides what it shows. Every foreign element it shows is copied into it, with the inclusion row's flags, along with any value set a shown attribute uses from another model. - **Step 5:** associations are rewritten or copied between the model's own rows, and every `ExtendedBy` row the overlay declares is soft-deleted. That includes the 69 inside model 16 and the ownerless 1846. - **Step 6:** own elements the schema doesn't show are soft-deleted. - **Step 7:** `BaseDataModelId` is cleared, `CopiedFrom*` is set to the base model, and the inclusion rows are deleted. - **Step 8:** every live mapping row on the model's side is re-pointed through the Id map. **It checks itself before anything commits.** Every model it touches (1, 16, 17 and 18) must generate the same schema in all 16 flag combinations, once Ids are mapped, and 17, 18 and their mapping groups must export. `required` is compared as a set, since own elements keep their Ids and the copies get new ones (option 2 on #1388). Any failure raises `ConversionFailed`, and the caller rolls back. **It refuses what the comparison can't see** (`outside_references`). After every step, a live row of a model it doesn't compare that still uses an entity or attribute it soft-deleted or changed in place fails the run: an association at either end, a `TargetEntityId`, or an inclusion row. So does a soft-deleted association of such a model, and any live mapping row, on any side, that still goes through a soft-deleted element. A row belongs to its `ExtendedByDataModelId`, or with none to its parent entity's model. **`scripts/convert_overlays.py`** runs it in `public` and then every `tenant_*` schema, each in its own transaction: - It refuses to start while `remove_test_data.py`'s rows are still live (#1479, #1487). - It skips a schema that's already converted, so a re-run converts only what's left. - It locks the 11 tables the conversion reads or writes, in `EXCLUSIVE` mode with a 10s `lock_timeout`. Reads go on and writes wait, so an MDR edit can't commit mid-run and be lost. - It writes each schema's undo record to `--undo-dir` (on a dry run too): the Id map, every row inserted or soft-deleted, and the old value of every column updated in place. - It rolls back unless `--apply`. A schema that fails its check, can't get its locks, or hits any other error is rolled back and reported, and the other schemas still run. - The undo record says `committed: false` until the commit succeeds, so a failed commit leaves a record that says so. **Docs:** four *Migration defaults* lines in spec §11 (step 0, a value set used from another model, the `ExtendedBy` rows inside other models, and 1846), a `scripts/README.md` row, and a CHANGELOG entry. **Not in this PR: `reference_data/transformations/`.** I measured it rather than regenerating it (details on #1388). The paths are names, and 105 rules in the three top-level files go through model 1 elements that 17's schema doesn't show, so they can't resolve after the conversion. Regenerating the numeric Ids from a seed run would give Ids that are wrong on dev. bjagg checked dev read-only, in all 10 schemas: none of its live mapping rows fail step 8, so the 105 rules are only in the reference files. **A follow-up PR re-exports the files from dev after dev is converted, and lists the rules that drop out** (agreed on #1388). ##### Before `--apply` on dev The MDR API image must include this PR first. Its workflow's `paths:` already cover `components/lif/mdr_services/**`. 1. Run `remove_test_data.py --apply`, including #1487's rows. 2. Take an RDS snapshot. A committed run has no automatic undo: the undo record lists every change, but reversing it is manual. 3. Run the dry run and read its output for every schema. bjagg's read-only check on 11-09 found no live row that step 8 would refuse, and no row outside 17/18 that uses what 17 soft-deletes. 4. Announce an MDR edit freeze. Writes wait on the locks, and a request can time out while they do. 5. Run `--apply`, then copy the undo directory out of the container before it stops. ##### Related Issues Refs #1388 ##### Type of Change - [x] New feature (non-breaking change which adds functionality) ##### Project Area(s) Affected - [x] components/ - [x] scripts/ - [x] test/ or e2e/ - [x] Documentation (docs/, READMEs, ARCHITECTURE.md, CLAUDE.md) `mdr_services` is packaged only by `lif_mdr_api`. ##### Testing 35 tests, all against a real Postgres. The DB-backed ones skip without `initdb`, so locally I ran them in a container with Postgres. - **On the seed after #1444's and #1479's cleanups:** - the whole seed converts and passes every check, leaving no inclusion rows on 17 or 18. Its figures are pinned: each model's copy counts, 17's soft-deleted entities and attributes by Id, every soft-delete count, and the 5 re-pointed mapping rows (group 25's 4 on step 0's attributes, group 26's 1); - step 0 moves exactly the 8 attributes; - step 0 refuses an attribute whose name the base already has, or that has another association; - it refuses an overlay with inclusion rows but no base (#1445); - it refuses a mapping row whose path goes through a row the schema hides; - it refuses when another model still uses a row it soft-deletes (bjagg's probe: a model-2 association to attribute 1820), and when a mapping row on another side goes through one; - step 0 refuses two candidates with one `UniqueName`; - the self-check fails a conversion whose copies lose a column (`Description` on attributes, `Relationship` on entity associations). - **Pure parts (16):** - the render set; - the schema rewrite, which changes only Ids, `DataModelId`, `ExtendedBy` and `Extension`; - mapping paths; - `required` order ignored, while a changed `required` and a changed `enum` order are still caught. - **Runner (8):** - it refuses before the cleanup; - it skips a converted schema; - a dry run converts, writes its undo record with `committed: false`, and changes no row in the 9 tables it writes; - `--apply` commits and a re-run skips; - it doesn't start while another transaction holds a write; - any other error rolls that schema back and is reported; - a failed commit leaves the undo record at `committed: false`; - a `tenant_*` schema converts its own rows and leaves `public` unchanged. Mutation checks: no `required` sorting, sorting every list, no commit on `--apply`, the undo record always marked `committed`, and no table lock. Each one is caught by exactly the test it should be. Full suite, Postgres-backed tests included: 1864 passed, 1 skipped (the snapshot regenerator, which runs only with `LIF_UPDATE_SCHEMA_SNAPSHOTS=1`). That run was on `e9e4e58`. After the lock fix, the merge of `main` (#1487) and the pins, I re-ran the converter's, the runner's and `remove_test_data`'s tests on `92adef4`: 38 passed, 0 skipped. After bjagg's review and a merge of `main` (#1464, #1496), on `af9f658`: the converter's and the runner's 35 pass, 0 skipped. After a further merge of `main` (#1488), the full suite with Postgres on `3abc49c`: 1893 passed, 1 skipped (the snapshot regenerator). After a merge of `main` (#1501, #1498, #1497) on `99e7079`: the converter's and the runner's 35 pass against Postgres, 0 skipped (#1498 changed the generator the self-check uses), and the full suite with Postgres: 1909 passed, 1 skipped (the snapshot regenerator). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: dereck <dereck.haskins@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Description of Change
The deploy workflow for the control-plane API, plus the params and taskdef-includes it deploys with. It's mergeable before the AWS resources exist, as @bjagg asked (comment): it runs only by hand, so merging can't start a deploy that fails. The AWS work stays on #1182, with the checklist below.
.github/workflows/lif_control_plane_api.ymlis a thin caller of_deploy-service.yml, the same shape as the other service workflows. It builds the project's defaultDockerfile, pushes:latestand a dated tag to ECR, and forces a new deployment of the ECS service. Its only trigger isworkflow_dispatch.cloudformation/dev-lif-control-plane-api.paramsis learner-data-export-api's file with only the service's own values changed:ServiceNamecontrol-plane-apiDomainNamescontrol-plane-api.dev.lif.unicon.netPriority9(the listener rules in the dev params use 1, 2, 4, 5, 6 and 8)HealthCheckUrl/health-check. It's public, and returns 503 while the database is unreachableImageUrl…/lif/dev/lif_control_plane_api:latestTaskDefIncludesFile…/dev-lif/lif-control-plane-api-taskdef-includes.ymlContainerPort8014, the port in the project'sDockerfilecloudformation/lif-control-plane-api-taskdef-includes.ymlsets the two things the service reads:CONTROL_PLANE_AUTH__USER_POOL_ID,__CLIENT_IDand__REGION, from the MDR's Cognito pool and SPA client (/<env>/mdr/CognitoUserPoolIdandCognitoSpaClientId), the same SSM keys LDE uses. Without the pool or the client ID the service fails closed: every non-public path returns 401.CONTROL_PLANE__DATABASE_URL, a secret from SSM/<env>/control-plane-api/DatabaseUrl. It's one SQLAlchemy async URL (postgresql+asyncpg://…), because the service takes a single URL rather than the MDR's fivePOSTGRESQL_*values. It's required: the service won't start without it.scripts/check_workflow_paths.py: the #1171 check reads thepaths:list underpush:, so dropping the trigger made it fail. A deploy workflow with no push trigger is now listed as manual-only on every run, not counted as covered. When the push trigger is added back, the check applies again and requires thepaths:list.To deploy
For whoever does #1182's AWS half. Merging this PR does none of it.
lif/dev/lif_control_plane_api, added torepositories.yml.dev-lif-control-plane-api.params, with aSTACKSentry. Upload the taskdef includes tos3://clir-cf-templates/dev-lif/. Confirm listener priority 9 is free on the HTTPS listener (rules created outside these files wouldn't show in the repo), and that the domain name is the one we want./dev/control-plane-api/DatabaseUrl.CONTROL_PLANE_AUTH__CLIENT_ID.projects/lif_control_plane_database/). They aren't in the API image, so decide how they run against the new database before the first deploy.push:trigger back with itspaths:list (the check will require one).Related Issues
Refs #1182
Type of Change
Project Area(s) Affected
.github/workflows/Testing
scripts/check_workflow_paths.py: 13 deploy workflows cover every packaged brick, andlif_control_plane_api.ymlis listed as manual-only. Its tests: 19 pass, including a new one for a workflow with no push trigger.build.shanddocker buildon the project'sDockerfilesucceed, and the image with no database or Cognito settings answers/health-checkwith 503 and/anythingwith 401.🤖 Generated with Claude Code