| Local GDK-connected development | [docs/dev/local-development.md](https://gitlab.com/gitlab-org/orbit/knowledge-graph/-/blob/main/docs/dev/local-development.md) -- `mise run dev` to launch the full local stack against an existing GDK |
| [Design Specs (Figma)](https://www.figma.com/design/GOrqDStp1E1SE0Ms7lVbXF/--588317--Orbit-GA-Designs?t=SLZ2CosGuBAzjC6r-0) | UI/UX design specs and visual references for Orbit GA features |
"gitlab.jwt.verifying_key is required (set in config/default.yaml or mount at /etc/secrets/gitlab/jwt/verifying_key)"
"gitlab.jwt.verifying_key is required (set GKG_GITLAB__JWT__VERIFYING_KEY, add to config/default.yaml, or mount at /etc/secrets/gitlab/jwt/verifying_key)"
)]
MissingJwtSecret,
}
#[cfg(test)]
modtests{
usesuper::*;
usecrate::engine::EngineConfiguration;
/// Verifies the kebab-case handler config keys in YAML actually
@@ -195,4 +201,61 @@ handlers:
Some(1)
);
}
/// Environment source with `GKG_` prefix and `__` separator maps env
/// vars to nested config keys:
/// GKG_NATS__URL -> nats.url
/// GKG_GRAPH__DATABASE -> graph.database
#[test]
fnenvironment_source_overrides_file_values(){
// Build a config that simulates what env vars would produce by
// testing the Environment source directly against a known set of
// overrides. We use Config::builder with manual set() calls to
// mirror the env var effect without mutating process state.