Skip to content

feat: norway data added STIT-640 - #284

Merged
jdhoffa merged 5 commits into
mainfrom
feat/norway-data-added-STIT-640
Sep 25, 2026
Merged

jdhoffa merged 5 commits into
mainfrom
feat/norway-data-added-STIT-640

Conversation

@mbarlow12

Copy link
Copy Markdown
Contributor
  • adds "nor" source key and models to stitch-ogsi
  • adds source:read:nor to permissions (already added and applied to roles in Auth0)
  • alembic migrations for priority table
  • ETL UI

- add NORSource/NORSourceView to the OGFieldSource discriminated union
- add nor to SOURCE_PRIORITY between alb and gem
- export NORSource/NORSourceView from __all__
- add SOURCE_READ_NOR constant and register it in SOURCE_READ_PERMISSIONS
- export SOURCE_READ_NOR from the package __init__
- migration renumbers priorities and inserts the nor row (rmi>wm>ccr>bc>alb>nor>gem>llm)
- add a nor case to the make_source test factory
- update the licensed_sources test fixture to include nor
- add nor color and label to sourceMeta, mention it in FieldCard's source comment
- add a Norway panel to the ETL page (empty fields, backend not built yet)
- add/update EtlPage tests for the new panel and updated panel count
@github-actions

Copy link
Copy Markdown

CD summary d1db7a0

Frontend: https://witty-mushroom-017a3dc1e-284.westus2.1.azurestaticapps.net

Deployments (4)
service url fqdn
api open pr-0284-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io
entity-linkage open pr-0284-el.purplegrass-c07d0a94.westus2.azurecontainerapps.io
frontend https://witty-mushroom-017a3dc1e-284.westus2.1.azurestaticapps.net
stitch-llm open pr-0284-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io
Database (1)
db_name postgres_host postgres_port postgres_db
pr_0284 stitch-dev.postgres.database.azure.com 5432 pr_0284
Jobs (2)
job image postgres_db api_url auth_mode
db-migrations ghcr.io/rmi/stitch-api:pr-0284@sha256:95d246c49d44ed07c991c5d6b3969ac57cc19670c932dcdddeea1ee5abee3649 pr_0284
seed ghcr.io/rmi/stitch-seed:pr-0284@sha256:6414a803b854232007f4241b0badcbb9554ed94efac9e8fcf24a14519cd87e06 https://pr-0284-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io/api/v1 stitch-client-bearer-token
Images (4)
build_time commit_time git_sha image image_digest
2026-09-23T21:08:40Z 2026-09-23T21:08:18Z d89d828 ghcr.io/rmi/stitch-api:pr-0284 ghcr.io/rmi/stitch-api:pr-0284@sha256:95d246c49d44ed07c991c5d6b3969ac57cc19670c932dcdddeea1ee5abee3649
2026-09-23T21:08:41Z 2026-09-23T21:08:18Z d89d828 ghcr.io/rmi/stitch-entity-linkage:pr-0284 ghcr.io/rmi/stitch-entity-linkage:pr-0284@sha256:c30feddf602544e27738cd1bdbdc55dfa414db2837232fb4d180326bbc625d1d
2026-09-23T21:08:43Z 2026-09-23T21:08:18Z d89d828 ghcr.io/rmi/stitch-seed:pr-0284 ghcr.io/rmi/stitch-seed:pr-0284@sha256:6414a803b854232007f4241b0badcbb9554ed94efac9e8fcf24a14519cd87e06
2026-09-23T21:08:42Z 2026-09-23T21:08:18Z d89d828 ghcr.io/rmi/stitch-stitch-llm:pr-0284 ghcr.io/rmi/stitch-stitch-llm:pr-0284@sha256:d5c856005ba6d2ad2f9365e4521f6315e530335a641bc624813bc1c7aeab9ea0

@github-actions

Copy link
Copy Markdown

CD summary 2732065

Frontend: https://witty-mushroom-017a3dc1e-284.westus2.1.azurestaticapps.net

Deployments (4)
service url fqdn
api open pr-0284-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io
entity-linkage open pr-0284-el.purplegrass-c07d0a94.westus2.azurecontainerapps.io
frontend https://witty-mushroom-017a3dc1e-284.westus2.1.azurestaticapps.net
stitch-llm open pr-0284-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io
Database (1)
db_name postgres_host postgres_port postgres_db
pr_0284 stitch-dev.postgres.database.azure.com 5432 pr_0284
Jobs (1)
job image postgres_db
db-migrations ghcr.io/rmi/stitch-api:pr-0284@sha256:4d879cc25cb86cb5673ff75bc3b59d85b9b9482a69a272434dd579c3b8fc0aae pr_0284
Images (4)
build_time commit_time git_sha image image_digest
2026-09-23T21:15:34Z 2026-09-23T21:15:20Z 75a576b ghcr.io/rmi/stitch-api:pr-0284 ghcr.io/rmi/stitch-api:pr-0284@sha256:4d879cc25cb86cb5673ff75bc3b59d85b9b9482a69a272434dd579c3b8fc0aae
2026-09-23T21:15:38Z 2026-09-23T21:15:20Z 75a576b ghcr.io/rmi/stitch-entity-linkage:pr-0284 ghcr.io/rmi/stitch-entity-linkage:pr-0284@sha256:833904c7457e6a68dde1332cee8ebb34b2a47288b7695717bc64d49fa2fdb8f4
2026-09-23T21:15:34Z 2026-09-23T21:15:20Z 75a576b ghcr.io/rmi/stitch-seed:pr-0284 ghcr.io/rmi/stitch-seed:pr-0284@sha256:802108becb63f0628af115affaefbdf5603c9124fac2347b02e4ec4c3478aeb2
2026-09-23T21:15:36Z 2026-09-23T21:15:20Z 75a576b ghcr.io/rmi/stitch-stitch-llm:pr-0284 ghcr.io/rmi/stitch-stitch-llm:pr-0284@sha256:6ea02c3eb7b9e2ee91e670685b9deca235871c278ca2295685f5802593d88457

@AlexAxthelm AlexAxthelm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

// stitch-etl-poc, so the real request-body shape is unknown. Leave empty (no
// inputs, empty body) until the dataset lands and the fields can be defined to
// match it.
// No run parameters needed as of 2026-09-23 for ALB or NOR.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NB: Even with no run params, we probably want to expose the same "use cached" toggle that we have for the others.

branch_labels = None
depends_on = None

_REV_SOURCE_PRIORITY = ("rmi", "wm", "ccr", "bc", "alb", "nor", "gem", "llm")

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NB (this time): It would be a good idea to have a DB test (against the applied migrations) that the DB thinks the priority list is the same as the app code SOURCE_PRIORITY. Out of scope for this PR, but it's an easy spot to have drift.

@jdhoffa
jdhoffa merged commit ae11dd4 into main Sep 25, 2026
32 checks passed
@jdhoffa
jdhoffa deleted the feat/norway-data-added-STIT-640 branch September 25, 2026 10:37
@jdhoffa
jdhoffa deployed to development September 25, 2026 10:38 — with GitHub Actions Active
@jdhoffa
jdhoffa deployed to development September 25, 2026 10:38 — with GitHub Actions Active
@jdhoffa
jdhoffa deployed to development September 25, 2026 10:38 — with GitHub Actions Active
@jdhoffa
jdhoffa deployed to development September 25, 2026 10:38 — with GitHub Actions Active
@jdhoffa
jdhoffa deployed to development September 25, 2026 10:38 — with GitHub Actions Active
@jdhoffa
jdhoffa deployed to development September 25, 2026 10:38 — with GitHub Actions Active

This branch was successfully deployed

1 active deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants