Commit 48af9e7
chore(nimbus): remove GraphQL API (graphene-django) (#14892)
Because
* The Nimbus UI was fully migrated to Django form views (HTMX)
* Integration tests were decoupled from GraphQL in PRs #14815 and #14842
* The GraphQL API at `/api/v5/graphql` is no longer used by any client
* Removing it reduces maintenance burden, dependencies, and attack
surface
This commit
* Deletes the GraphQL schema, queries, mutations, types, and inputs
* Deletes the `GrapheneExceptionMiddleware`
* Removes `graphene-django` and `graphene-file-upload` from dependencies
* Removes `GRAPHENE` settings and `graphql_url` context processor
* Removes the `/api/v5/graphql` URL route (CSV, YAML, FML endpoints
preserved)
* Removes GQL-only serializers (`NimbusExperimentSerializer`,
`CloneSerializer`, and their mixins/validators) while keeping Review,
CSV, YAML, and FML serializers
* Removes unused `with_owner_features()` queryset method from models
* Deletes all graphene type stubs (`typings/graphene*`)
* Deletes GQL mutation, query, and serializer test files
* Adds test coverage for `TargetingMultipleKintoCollectionsError`
exception paths
* Net removal: ~12,800 lines across 107 files
Fixes #14890
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent ccd21a2 commit 48af9e7
File tree
107 files changed
+36
-12894
lines changed- experimenter
- experimenter
- base
- experiments
- api/v5
- tests
- api/v5
- test_serializers
- typings
- graphene_django
- debug
- sql
- filter
- forms
- management
- rest_framework
- tests
- utils
- graphene_file_upload
- django
- graphene
- pyutils
- relay
- tests
- test
- types
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
107 files changed
+36
-12894
lines changedThis file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
This file was deleted.
Lines changed: 0 additions & 100 deletions
This file was deleted.
This file was deleted.
0 commit comments