Increase @sap/cds-indexer timeout from 2 min to 10 min#308
Merged
data-douser merged 2 commits intodd/cds-extractor-update/1from Feb 23, 2026
Merged
Increase @sap/cds-indexer timeout from 2 min to 10 min#308data-douser merged 2 commits intodd/cds-extractor-update/1from
data-douser merged 2 commits intodd/cds-extractor-update/1from
Conversation
Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Address feedback on timeout for @sap/cds-indexer support
Increase @sap/cds-indexer timeout from 2 min to 10 min
Feb 23, 2026
data-douser
added a commit
that referenced
this pull request
Feb 26, 2026
* Add best-effort @sap/cds-indexer support to CDS extractor - Integrate indexer orchestration into cds-extractor.ts between dependency installation and compilation phases - New src/cds/indexer.ts: detect projects using @sap/cds-indexer and run `npx --yes @sap/cds-indexer` before compilation, with graceful error handling and diagnostic warnings on failure - Include @sap/cds-indexer in dependency cache when declared in project package.json (dependencies or devDependencies) - Add addCdsIndexerDiagnostic() to diagnostics.ts - Add unit tests to cover new indexer and diagnostic functions - Fix Jest localstorage-file warnings on Node.js v25+ * Update extractors/cds/tools/src/diagnostics.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Sync dist/cds-extractor.bundle.js.map * Increase @sap/cds-indexer timeout from 2 min to 10 min (#308) * Initial plan * Increase CDS indexer timeout from 120s to 600s (10 minutes) Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: data-douser <70299490+data-douser@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Projects declaring
@sap/cds-indexeras a dependency are inherently large CAP projects — a 120-second timeout is inadequate for indexing all their*.cdsfiles.What This PR Contributes
CDS_INDEXER_TIMEOUT_MSinextractors/cds/tools/src/cds/indexer.tsfrom120_000ms (2 min) to600_000ms (10 min)Future Works
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.