Skip to content

feat: user name & email nullable#80

Merged
AlexAxthelm merged 5 commits into
mainfrom
feat/auth-drop-name-email-req
May 11, 2026
Merged

feat: user name & email nullable#80
AlexAxthelm merged 5 commits into
mainfrom
feat/auth-drop-name-email-req

Conversation

@mbarlow12
Copy link
Copy Markdown
Contributor

  • Makes name and email nullable on users table. User identity is now pegged just to sub and id, but since no auditing features exist (yet), we can handle this later.
  • provisions users in separate session/transaction so users still persist if the rest of the request fails

Verification

  • additional unit tests
  • Full local setup with AUTH_DISABLED=false & hack to add my personal bearer token to the seed container's env (not committed). Seed populates, entity linkage an LLM backfill fully functional.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

CD summary 8d75650

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

Warnings

  • seed: Seed ran without auth
Deployments (4)
service url fqdn
api open pr80-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io
entity-linkage open pr80-entity-linkage.purplegrass-c07d0a94.westus2.azurecontainerapps.io
frontend https://witty-mushroom-017a3dc1e-80.westus2.1.azurestaticapps.net
stitch-llm open pr80-stitch-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io
Database (1)
db_name postgres_host postgres_port postgres_db
pr_80 stitch-dev.postgres.database.azure.com 5432 pr_80
Jobs (2)
job image postgres_db api_url
db-init ghcr.io/rmi/stitch-api:pr80@sha256:fba37532c322a7e043b8c227b664c0c753cb7b2c778167641ac296cfe5b9e47a pr_80
seed ghcr.io/rmi/stitch-seed:pr80@sha256:47ccdfe40bd2c413b5d7dc9bc41dd04a1efac7ac3dd08a6b04a8e3e6d7b3cd28 https://pr80-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io/api/v1
Images (4)
build_time commit_time git_sha image image_digest
2026-05-07T21:41:44Z 2026-05-07T21:41:27Z f3130bb ghcr.io/rmi/stitch-api:pr80 ghcr.io/rmi/stitch-api:pr80@sha256:fba37532c322a7e043b8c227b664c0c753cb7b2c778167641ac296cfe5b9e47a
2026-05-07T21:41:42Z 2026-05-07T21:41:27Z f3130bb ghcr.io/rmi/stitch-entity-linkage:pr80 ghcr.io/rmi/stitch-entity-linkage:pr80@sha256:9cb2f63e0b00eb60a931148282e90dbc8a36b5dd5c044f527d2db699bc36b9e0
2026-05-07T21:41:46Z 2026-05-07T21:41:27Z f3130bb ghcr.io/rmi/stitch-seed:pr80 ghcr.io/rmi/stitch-seed:pr80@sha256:47ccdfe40bd2c413b5d7dc9bc41dd04a1efac7ac3dd08a6b04a8e3e6d7b3cd28
2026-05-07T21:41:44Z 2026-05-07T21:41:27Z f3130bb ghcr.io/rmi/stitch-stitch-llm:pr80 ghcr.io/rmi/stitch-stitch-llm:pr80@sha256:fb97f3401b116b44160b626ab6cc0ec3d4746be6bfab161adbe2766d272a014f

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

CD summary 275967b

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

Deployments (4)
service url fqdn
api open pr80-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io
entity-linkage open pr80-entity-linkage.purplegrass-c07d0a94.westus2.azurecontainerapps.io
frontend https://witty-mushroom-017a3dc1e-80.westus2.1.azurestaticapps.net
stitch-llm open pr80-stitch-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io
Database (1)
db_name postgres_host postgres_port postgres_db
pr_80 stitch-dev.postgres.database.azure.com 5432 pr_80
Jobs (1)
job image postgres_db
db-init ghcr.io/rmi/stitch-api:pr80@sha256:047f1498ebf34e5a550c9ff18b08c4a54ee46c014db13b4aeefe0ef12c5bdb98 pr_80
Images (4)
build_time commit_time git_sha image image_digest
2026-05-07T21:44:49Z 2026-05-07T21:44:33Z 22a487f ghcr.io/rmi/stitch-api:pr80 ghcr.io/rmi/stitch-api:pr80@sha256:047f1498ebf34e5a550c9ff18b08c4a54ee46c014db13b4aeefe0ef12c5bdb98
2026-05-07T21:44:50Z 2026-05-07T21:44:33Z 22a487f ghcr.io/rmi/stitch-entity-linkage:pr80 ghcr.io/rmi/stitch-entity-linkage:pr80@sha256:3bc5609f295eb3a6926dc59b20572f144059a7b2676fae3750e4900d528fbce7
2026-05-07T21:44:44Z 2026-05-07T21:44:33Z 22a487f ghcr.io/rmi/stitch-seed:pr80 ghcr.io/rmi/stitch-seed:pr80@sha256:631f266e5f576b8aeb05135e48f7395470aaa28920a71fc677974e5ee7d7753b
2026-05-07T21:44:46Z 2026-05-07T21:44:33Z 22a487f ghcr.io/rmi/stitch-stitch-llm:pr80 ghcr.io/rmi/stitch-stitch-llm:pr80@sha256:396ab5b6b27ed6575bc154bf4c2896a19a1b8f5344bba21758ff25b838355e60

@mbarlow12 mbarlow12 requested a review from AlexAxthelm May 7, 2026 21:51
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 7, 2026

CD summary 3448290

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

Deployments (4)
service url fqdn
api open pr80-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io
entity-linkage open pr80-entity-linkage.purplegrass-c07d0a94.westus2.azurecontainerapps.io
frontend https://witty-mushroom-017a3dc1e-80.westus2.1.azurestaticapps.net
stitch-llm open pr80-stitch-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io
Database (1)
db_name postgres_host postgres_port postgres_db
pr_80 stitch-dev.postgres.database.azure.com 5432 pr_80
Jobs (1)
job image postgres_db
db-init ghcr.io/rmi/stitch-api:pr80@sha256:05875aba09c69f7aac336ab1a2151e7ed3c0c2ef89721474b699ce3693d1c48c pr_80
Images (4)
build_time commit_time git_sha image image_digest
2026-05-07T21:55:00Z 2026-05-07T21:54:50Z fa478d0 ghcr.io/rmi/stitch-api:pr80 ghcr.io/rmi/stitch-api:pr80@sha256:05875aba09c69f7aac336ab1a2151e7ed3c0c2ef89721474b699ce3693d1c48c
2026-05-07T21:55:05Z 2026-05-07T21:54:50Z fa478d0 ghcr.io/rmi/stitch-entity-linkage:pr80 ghcr.io/rmi/stitch-entity-linkage:pr80@sha256:c70ad639774a758e5bb3421ff7a0350326663454935523a4bb21d73dd8c2af87
2026-05-07T21:55:08Z 2026-05-07T21:54:50Z fa478d0 ghcr.io/rmi/stitch-seed:pr80 ghcr.io/rmi/stitch-seed:pr80@sha256:1d6066e5ec6edb2639ba2828a824a2ece1ae802d1dfe34a2c05ef72a7fa03b8e
2026-05-07T21:55:02Z 2026-05-07T21:54:50Z fa478d0 ghcr.io/rmi/stitch-stitch-llm:pr80 ghcr.io/rmi/stitch-stitch-llm:pr80@sha256:7d60885644424d7c5d5138d6a0e1740ecbd78382175e49ab6b6b380794452743

Copy link
Copy Markdown
Collaborator

@AlexAxthelm AlexAxthelm left a comment

Choose a reason for hiding this comment

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

Confirmed that running with AUTH_DISABLED=false allows my actual Auth0 token to JIT provision a user on the users table

role: str | None = None
email: EmailStr
name: str
email: str | None = None
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: Noting that the EmailStr validation is probably still what we want here. Added back in #85

@github-actions
Copy link
Copy Markdown

CD summary 4dc8feb

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

Deployments (4)
service url fqdn
api open pr80-api.purplegrass-c07d0a94.westus2.azurecontainerapps.io
entity-linkage open pr80-entity-linkage.purplegrass-c07d0a94.westus2.azurecontainerapps.io
frontend https://witty-mushroom-017a3dc1e-80.westus2.1.azurestaticapps.net
stitch-llm open pr80-stitch-llm.purplegrass-c07d0a94.westus2.azurecontainerapps.io
Database (1)
db_name postgres_host postgres_port postgres_db
pr_80 stitch-dev.postgres.database.azure.com 5432 pr_80
Jobs (1)
job image postgres_db
db-init ghcr.io/rmi/stitch-api:pr80@sha256:2a6e356bbc3ddd6c32e8f53103a18d0ba55ddabca8534f7b4115920545a62b1a pr_80
Images (4)
build_time commit_time git_sha image image_digest
2026-05-11T10:09:42Z 2026-05-11T10:09:31Z f046f61 ghcr.io/rmi/stitch-api:pr80 ghcr.io/rmi/stitch-api:pr80@sha256:2a6e356bbc3ddd6c32e8f53103a18d0ba55ddabca8534f7b4115920545a62b1a
2026-05-11T10:09:48Z 2026-05-11T10:09:31Z f046f61 ghcr.io/rmi/stitch-entity-linkage:pr80 ghcr.io/rmi/stitch-entity-linkage:pr80@sha256:161689878fbb1cc1fa4dff20a1e15cc67034d6d90964c5330834b81ac3550300
2026-05-11T10:09:42Z 2026-05-11T10:09:31Z f046f61 ghcr.io/rmi/stitch-seed:pr80 ghcr.io/rmi/stitch-seed:pr80@sha256:7050824bcdd6cfc234b339b14da9360e1613b1aae4d6fdd478e6e90df5d5f510
2026-05-11T10:09:46Z 2026-05-11T10:09:31Z f046f61 ghcr.io/rmi/stitch-stitch-llm:pr80 ghcr.io/rmi/stitch-stitch-llm:pr80@sha256:34c7770e05130c6cdcb5ffe0ce927ff44ce18dbc03468ae68fa6c74b5e7aa9ea

@AlexAxthelm AlexAxthelm merged commit 18005d0 into main May 11, 2026
26 checks passed
@AlexAxthelm AlexAxthelm deleted the feat/auth-drop-name-email-req branch May 11, 2026 11:21
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.

2 participants