From 82f7247856b3f80432e59ed75f450fd7cbb2a848 Mon Sep 17 00:00:00 2001 From: tpateeq Date: Thu, 3 Dec 2026 17:01:37 +0530 Subject: [PATCH 1/2] Add a Build errors page that explains each failed build message One section per message the app shows, with the error codes it covers, the causes, whether Retry helps, and the fix. The app links each message to its section. Troubleshooting now points here instead of repeating a long table. Co-Authored-By: Claude Opus 5.5 --- docs.json | 1 + llms.txt | 1 + platform/support/build-errors.mdx | 204 +++++++++++++++++++++++++++ platform/support/troubleshooting.mdx | 17 +-- 4 files changed, 207 insertions(+), 16 deletions(-) create mode 100644 platform/support/build-errors.mdx diff --git a/docs.json b/docs.json index b1f50b0..b522bc6 100644 --- a/docs.json +++ b/docs.json @@ -110,6 +110,7 @@ "pages": [ "platform/support/faqs", "platform/support/troubleshooting", + "platform/support/build-errors", { "group": "Plans and pricing", "icon": "credit-card", diff --git a/llms.txt b/llms.txt index 4a8ed67..6f23112 100644 --- a/llms.txt +++ b/llms.txt @@ -95,6 +95,7 @@ Use for errors, rate limits, pricing, security, or moving from Graphify CLI to h - [FAQs](https://docs.graphify.com/platform/support/faqs.md): Answers to common Graphify questions: getting started, indexing, failed builds, plan limits, reviews, assistants, data, and where to get help. - [Troubleshooting: MCP, 429 and error codes](https://docs.graphify.com/platform/support/troubleshooting.md): Fix MCP OAuth errors, 429 rate_limited, indexing and reindex failures, query and Ask error codes, and GitHub or GitLab connection issues. +- [Build errors](https://docs.graphify.com/platform/support/build-errors.md): What each failed index build message means in Graphify, why it happens, whether Retry helps, and how to fix it. - [Plans and pricing](https://docs.graphify.com/platform/support/pricing.md): Free plan for up to 3 repositories, no card required. Compare Free, Pro, Teams, and Enterprise pricing, allowances, and billing. - [Rate limits and plan limits](https://docs.graphify.com/platform/support/rate-limits.md): Per-minute request limits for Ask, query, and MCP, memory limits, plan allowances, and how to handle a 429 from Graphify. - [Security and data handling](https://docs.graphify.com/platform/support/security.md): What Graphify stores, how long it keeps it, which GitHub and Google Drive permissions it asks for, and how assistants reach your graphs. diff --git a/platform/support/build-errors.mdx b/platform/support/build-errors.mdx new file mode 100644 index 0000000..a859623 --- /dev/null +++ b/platform/support/build-errors.mdx @@ -0,0 +1,204 @@ +--- +title: "Build errors" +sidebarTitle: "Build errors" +description: "What each failed index build message means in Graphify, why it happens, whether Retry helps, and how to fix it." +keywords: ["graphify build failed", "indexing failed", "nothing to index", "graph_empty", "extraction_failed", "repository too large", "graphifyignore"] +surface: "cloud" +icon: "triangle-alert" +--- + +When an index build fails, Graphify shows a one-line reason on **Builds**, in the repository's row on **Repositories** and **Overview**, and where the graph would appear. **Learn more** opens the section below for that reason. If you can't fix the cause yourself, the line also has a **Contact support** link that opens an email with the build ID filled in. + +A failed build never removes your last good graph. Graphify keeps serving the previous graph until a new build succeeds. + +Each section lists the error codes it covers. You see a code in the app only when Graphify has no message for it yet (see [Unknown error](#unknown-error)). The API returns the code in `errorCode`, and some codes carry a more specific `failureKind`. + +| Message | Fix it yourself? | Section | +| --- | --- | --- | +| No supported source files, so there's nothing to index. | Yes | [Nothing to index](#nothing-to-index) | +| We couldn't find anything to build a graph from. | Sometimes | [No graph built](#no-graph-built) | +| This repository is too large to index. | Usually | [Too large](#too-large) | +| Building the graph took too long and was stopped. | Usually | [Timed out](#timed-out) | +| Something went wrong on our side. | No | [Error on our side](#error-on-our-side) | +| We couldn't download this repository from your code host. | Retry | [Download failed](#download-failed) | +| Graphify can't access this repository anymore. | Yes | [No access](#no-access) | +| The default branch has no commits. | Yes | [No commits](#no-commits) | +| Indexing was temporarily unavailable. | Retry | [Indexing unavailable](#indexing-unavailable) | +| The build was interrupted on our side. | Retry | [Interrupted](#interrupted) | +| Indexing was busy, so this build didn't start. | Retry | [Indexing busy](#indexing-busy) | +| Graphify can't index repositories from this address. | No | [Address not allowed](#address-not-allowed) | +| Stopped to stay within this month's usage budget. | Yes | [Usage budget reached](#usage-budget-reached) | +| A newer build replaced this one. | Nothing to do | [Replaced by a newer build](#replaced-by-a-newer-build) | +| Cancelled because indexing was turned off. | Yes | [Indexing turned off](#indexing-turned-off) | +| Cancelled because the repository's connection changed. | Retry | [Connection changed](#connection-changed) | +| This build was cancelled. | Retry | [Cancelled](#cancelled) | +| This build stopped before it finished. | Retry | [Stopped](#stopped) | +| This build failed. | No | [Unknown error](#unknown-error) | + +## Nothing to index + +**Codes:** `graph_empty`, with `failureKind` `no_extractable_files` + +Graphify read the default branch and found no file it can turn into a graph. The build is finished: running it again gives the same result, so Graphify doesn't retry it on its own. + +Common causes: + +- The repository holds only housekeeping files, such as a fresh repository with just a `.gitignore`, `.gitattributes`, or `.editorconfig`. +- The files are in a language or format Graphify doesn't support, or have no file extension. See [supported languages](/open-source/features/languages). +- The code lives on a branch other than the default branch. Graphify indexes the default branch only. +- A `.graphifyignore` file excludes every code file. See [Ignoring files](/open-source/configuration/ignoring-files). +- On the Free plan, the repository has only documents. Free indexes code plus the README, so a documents-only repository has nothing in scope. Pro indexes every document. + +To fix it, push supported code to the default branch, loosen `.graphifyignore`, or change the default branch on your code host. Then select **Retry**. A new push to the default branch also starts a new build. + +## No graph built + +**Codes:** `graph_empty` or `extraction_failed`, with `failureKind` `graph_empty_unattributed` or `ast_yielded_no_nodes` + +The build ran but produced an empty graph, and Graphify couldn't tell why. This differs from [Nothing to index](#nothing-to-index): there, Graphify proved there was nothing to read. Here it found files but got nothing out of them. + +This can be a short-lived fault, so select **Retry** first. If it fails the same way again and the repository has code in a [supported language](/open-source/features/languages), contact support from the build's row. The build ID in that email lets us find the cause. + +## Too large + +**Codes:** `index_build_out_of_memory`, `index_build_graph_too_large` + +The repository is bigger than one build can handle. Either the build ran out of memory, or the graph it produced was over the size limit. For a repository of a given size the result is always the same, so Graphify doesn't retry it on its own. + +Most oversized repositories are large because of files that don't need to be in the graph: + +- generated code, such as protobuf output, API clients, or migrations +- vendored dependencies, such as `vendor/`, `third_party/`, or copied `node_modules` +- build output, such as `dist/`, `build/`, or minified bundles +- large fixtures and test data + +Add those paths to a `.graphifyignore` file at the repository root (see [Ignoring files](/open-source/configuration/ignoring-files)), push it, then select **Retry**. If the repository is still too large with generated and vendored code excluded, contact support. + +## Timed out + +**Codes:** `extraction_failed`, with `failureKind` `command_timeout` + +Each build has a time limit. This build reached it and was stopped. + +Select **Retry**. A busy moment can slow a build down, so the next attempt often finishes. If it keeps timing out, the repository probably has a lot of generated or vendored code. Exclude it with `.graphifyignore` as described in [Too large](#too-large), then retry. + +## Error on our side + +**Codes:** `extraction_failed`, `index_build_failed`, `artifact_validation_failed`, `internal` + +A fault in Graphify stopped the build, not something in your repository. Graphify retries some of these on its own before showing the failure. + +Select **Retry**. If it keeps failing, contact support from the build's row so we get the build ID. + +## Download failed + +**Codes:** `clone_failed` + +Graphify couldn't download the repository from GitHub or GitLab. This is usually a short outage or rate limit at the code host. + +Select **Retry**. If it keeps failing, check your code host's status page, then contact support. + +## No access + +**Codes:** `repository_unavailable` + +Graphify can no longer see the repository. It was deleted, renamed, moved to another owner, or removed from the Graphify app's repository access. GitHub returns the same answer for a missing repository and one Graphify isn't allowed to see. Retrying gives the same result, so Graphify doesn't retry on its own. + +To fix it: + +1. Check that the repository still exists on your code host. +2. On GitHub, open the Graphify Labs app's settings for the account or organization and check that the repository is selected under **Repository access**. +3. On GitLab, reconnect GitLab in Graphify. +4. Select **Retry**. + +If the repository moved, see [No longer on GitHub](/platform/repositories#no-longer-on-github). + +## No commits + +**Codes:** `repository_empty` + +The default branch has no commits, so there is no code to read yet. + +Push a commit to the default branch. That starts a build on its own. You can also select **Retry** after pushing. + +## Indexing unavailable + +**Codes:** `engine_unavailable` + +The indexing service was briefly unavailable when the build started. + +Wait a few minutes and select **Retry**. Contact support if it keeps failing. + +## Interrupted + +**Codes:** `infrastructure_interrupted` + +The machine running the build was stopped before it finished, for example when Graphify moved work to other capacity. This says nothing about your repository, and Graphify may retry it on its own. + +If the build stays failed, select **Retry**. + +## Indexing busy + +**Codes:** `dispatch_capacity_exhausted` + +Graphify had no capacity to start the build in time. + +Select **Retry**. The next attempt usually starts. Contact support if it keeps happening. + +## Address not allowed + +**Codes:** `policy_rejected` + +Graphify refused to download from the repository's address. This protects Graphify from addresses it isn't allowed to reach, such as private network hosts on a self-managed code host. + +You can't fix this from the repository. Contact support if you think the address should be allowed. + +## Usage budget reached + +**Codes:** `cancelled_over_budget` + +The workspace reached its usage budget for the month, so Graphify stopped the build to keep spend within it. + +A workspace owner can raise the budget or upgrade the plan in **Billing**, then select **Retry**. Otherwise the build can run again once the budget resets at the start of the next month. See [Rate limits and plan limits](/platform/support/rate-limits). + +## Replaced by a newer build + +**Codes:** `superseded` + +A later push to the default branch started a newer build, and that build replaced this one. Only the newest commit needs a graph. + +There's nothing to do. Check the newer build on **Builds**. + +## Indexing turned off + +**Codes:** `repository_disabled` + +Someone turned off indexing for this repository while the build was running. + +To build it, turn **Indexing** back on for the repository. A new build starts on its own. + +## Connection changed + +**Codes:** `repository_disconnected` + +The repository's GitHub or GitLab connection changed while the build was running, for example after reinstalling the app or reconnecting GitLab. + +Select **Retry** to build with the current connection. + +## Cancelled + +The build was cancelled before it finished, and no error code was recorded. + +Select **Retry** if you still want the build. + +## Stopped + +The build stopped before it finished without reporting a reason. + +Select **Retry**. If it keeps stopping, contact support from the build's row. + +## Unknown error + +The build failed with an error code Graphify doesn't have a message for yet. The app shows the code next to the message. + +Select **Retry**. If it fails again, contact support from the build's row. The email includes the code and build ID. diff --git a/platform/support/troubleshooting.mdx b/platform/support/troubleshooting.mdx index 43d8ec8..90b2b00 100644 --- a/platform/support/troubleshooting.mdx +++ b/platform/support/troubleshooting.mdx @@ -112,22 +112,7 @@ Large repositories take longer. The build is still running. Wait, and keep using Open the repository in the console and select **Retry indexing**. For a combined graph, the message is "Your graph couldn’t finish building" with a **Retry build** button. -A failed build says why. The reason shows on **Builds**, in the repository's row and notice on **Overview** and **Repositories**, and where the repository's graph would appear. When you can't fix the cause yourself, the message ends with a **Contact support** link that opens an email with the build ID filled in. - -| What you see | What it means | What to do | -| --- | --- | --- | -| No supported source files were found, so there was nothing to index | The default branch has no code in a supported language, or `.graphifyignore` excludes all of it. | Check the default branch and your `.graphifyignore`, then retry. | -| This repository is too large to index | The repository is bigger than the build can handle. | Skip generated or vendored folders with a `.graphifyignore` file, then retry. Contact support if it still fails. | -| Building the graph took too long and was stopped | The build hit its time limit. | Retry. If it keeps timing out, skip generated or vendored folders with a `.graphifyignore` file. | -| We couldn’t download this repository from your code host | The clone failed, usually for a short time. | Retry. Contact support if it keeps failing. | -| Graphify can’t access this repository anymore | The repository was deleted, moved, or no longer shared with Graphify. | Check that it still exists and that Graphify still has access on your code host. | -| The default branch has no commits | There is nothing to index yet. | Push a commit, then retry. | -| Something went wrong on our side, not in your repository | A fault in Graphify, not your code. | Retry. Contact support if it keeps failing. | -| Indexing was stopped to stay within this month’s usage budget | The workspace reached its usage budget. | Raise the budget or upgrade your plan to finish. | -| A newer build for this repository replaced this one | A later push started a newer build. | Nothing. Check the newer build. | -| Cancelled because indexing was turned off for this repository | Indexing was paused before the build finished. | Turn **Indexing** back on. | -| Cancelled because the repository’s connection changed | The GitHub or GitLab connection changed during the build. | Retry to build with the current connection. | -| This build failed, with an error code | A cause the app doesn't have a message for yet. | Retry, and include the error code and build ID if you contact support. | +A failed build says why in one line on **Builds**, in the repository's row on **Overview** and **Repositories**, and where the graph would appear. Select **Learn more** next to it, or see [Build errors](/platform/support/build-errors), for what each message means, whether **Retry** helps, and how to fix it. When you can't fix the cause yourself, the line also has a **Contact support** link that opens an email with the build ID filled in. ### "Nothing to show yet" From 69668f3cd54f74e32c022f5f7864d9e144016569 Mon Sep 17 00:00:00 2001 From: tpateeq Date: Thu, 3 Dec 2026 17:04:52 +0530 Subject: [PATCH 2/2] Build errors: match the app's failureKind mapping, OOM retry and budget recovery Co-Authored-By: Claude Opus 5.5 --- platform/support/build-errors.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/platform/support/build-errors.mdx b/platform/support/build-errors.mdx index a859623..2fe9cdb 100644 --- a/platform/support/build-errors.mdx +++ b/platform/support/build-errors.mdx @@ -27,7 +27,7 @@ Each section lists the error codes it covers. You see a code in the app only whe | The build was interrupted on our side. | Retry | [Interrupted](#interrupted) | | Indexing was busy, so this build didn't start. | Retry | [Indexing busy](#indexing-busy) | | Graphify can't index repositories from this address. | No | [Address not allowed](#address-not-allowed) | -| Stopped to stay within this month's usage budget. | Yes | [Usage budget reached](#usage-budget-reached) | +| Stopped to stay within this month's usage budget. | Upgrade or wait | [Usage budget reached](#usage-budget-reached) | | A newer build replaced this one. | Nothing to do | [Replaced by a newer build](#replaced-by-a-newer-build) | | Cancelled because indexing was turned off. | Yes | [Indexing turned off](#indexing-turned-off) | | Cancelled because the repository's connection changed. | Retry | [Connection changed](#connection-changed) | @@ -44,7 +44,7 @@ Graphify read the default branch and found no file it can turn into a graph. The Common causes: - The repository holds only housekeeping files, such as a fresh repository with just a `.gitignore`, `.gitattributes`, or `.editorconfig`. -- The files are in a language or format Graphify doesn't support, or have no file extension. See [supported languages](/open-source/features/languages). +- The files are in a language or format Graphify doesn't support, such as a file with no extension that isn't a recognized script or build file. See [supported languages](/open-source/features/languages). - The code lives on a branch other than the default branch. Graphify indexes the default branch only. - A `.graphifyignore` file excludes every code file. See [Ignoring files](/open-source/configuration/ignoring-files). - On the Free plan, the repository has only documents. Free indexes code plus the README, so a documents-only repository has nothing in scope. Pro indexes every document. @@ -53,9 +53,9 @@ To fix it, push supported code to the default branch, loosen `.graphifyignore`, ## No graph built -**Codes:** `graph_empty` or `extraction_failed`, with `failureKind` `graph_empty_unattributed` or `ast_yielded_no_nodes` +**Codes:** `graph_empty` with `failureKind` `graph_empty_unattributed` or `ast_yielded_no_nodes`, and `extraction_failed` with `failureKind` `graph_empty_unattributed` -The build ran but produced an empty graph, and Graphify couldn't tell why. This differs from [Nothing to index](#nothing-to-index): there, Graphify proved there was nothing to read. Here it found files but got nothing out of them. +The build ran but produced an empty graph, and Graphify couldn't tell why. This differs from [Nothing to index](#nothing-to-index): there, Graphify proved the repository has nothing it can read. Here it couldn't prove that. The files may all have been skipped, or a step that reads them may have failed. This can be a short-lived fault, so select **Retry** first. If it fails the same way again and the repository has code in a [supported language](/open-source/features/languages), contact support from the build's row. The build ID in that email lets us find the cause. @@ -63,7 +63,7 @@ This can be a short-lived fault, so select **Retry** first. If it fails the same **Codes:** `index_build_out_of_memory`, `index_build_graph_too_large` -The repository is bigger than one build can handle. Either the build ran out of memory, or the graph it produced was over the size limit. For a repository of a given size the result is always the same, so Graphify doesn't retry it on its own. +The repository is bigger than one build can handle. Either the build ran out of memory, or the graph it produced was over the size limit. A build that runs out of memory may get one automatic retry on a larger machine. If you still see this message, retrying again gives the same result. Most oversized repositories are large because of files that don't need to be in the graph: @@ -84,7 +84,7 @@ Select **Retry**. A busy moment can slow a build down, so the next attempt often ## Error on our side -**Codes:** `extraction_failed`, `index_build_failed`, `artifact_validation_failed`, `internal` +**Codes:** `extraction_failed` (unless its `failureKind` puts it under [Timed out](#timed-out) or [No graph built](#no-graph-built)), `index_build_failed`, `artifact_validation_failed`, `internal` A fault in Graphify stopped the build, not something in your repository. Graphify retries some of these on its own before showing the failure. @@ -159,7 +159,7 @@ You can't fix this from the repository. Contact support if you think the address The workspace reached its usage budget for the month, so Graphify stopped the build to keep spend within it. -A workspace owner can raise the budget or upgrade the plan in **Billing**, then select **Retry**. Otherwise the build can run again once the budget resets at the start of the next month. See [Rate limits and plan limits](/platform/support/rate-limits). +The budget depends on your plan. A workspace owner can upgrade the plan in **Billing** to get a higher budget, then select **Retry**. To ask for a higher budget on your current plan, contact support. Otherwise the build can run again once the budget resets at the start of the next month. See [Rate limits and plan limits](/platform/support/rate-limits). ## Replaced by a newer build