File tree Expand file tree Collapse file tree 2 files changed +44
-0
lines changed
Expand file tree Collapse file tree 2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : Supergraph build hibernation
3+ sidebar_label : Supergraph build hibernation
4+ sidebar_position : 20
5+ description :
6+ " Understand when DDN hibernates unused supergraph builds and how to bring them back online from the CLI or console."
7+ keywords :
8+ - supergraph builds
9+ - hibernation
10+ - hasura ddn
11+ - cli
12+ - console
13+ ---
14+
15+ import Thumbnail from " @site/src/components/Thumbnail" ;
16+
17+ # Supergraph Build Hibernation
18+
19+ ## Overview
20+
21+ Supergraph builds that remain unapplied and idle are automatically hibernated to conserve resources. Specifically:
22+
23+ - Any unapplied build that is older than two days ** and** has not received a request in the last two days is hibernated.
24+ - Hibernation pauses execution but preserves metadata and other build inputs so you can reactivate the build if needed.
25+
26+ Once hibernated, a build must be explicitly reactivated before it can start
27+ serving traffic again. Until then, all requests will fail with 409 status code.
28+
29+ ## Reactivation
30+
31+ You can bring a hibernated build back online through either the DDN CLI or the console.
32+
33+ ### Reactivate via CLI
34+
35+ Run the ` ddn supergraph build reactivate ` command to reactivate the hibernated assets. Reference the full command options in the CLI docs:
36+
37+ - [ ddn supergraph build reactivate] ( /reference/cli/commands/ddn_supergraph_build_reactivate.mdx )
38+
39+ ### Reactivate via console
40+
41+ 1 . Open your project on the Hasura console and navigate to the ** Builds** page.
42+ 2 . Locate the hibernated build and select ** Reactivate** . Confirm the action to immediately queue a rebuild and resume the associated API endpoint.
43+
44+ <Thumbnail src = " /img/supergraph-build-reactivation.png" alt = " Reactivate a hibernated supergraph build" />
You can’t perform that action at this time.
0 commit comments