fix(hooks): skip auto-map on remote backend; drop ingest retry (v3.1.1)#26
Merged
Conversation
Hardening for the auto-ingestion hooks so background graph refresh is safe to run frequently. - ix-ingest.sh no longer retries `ix map` itself. The ix CLI now owns retry/backoff and a per-run wall-clock deadline and is single-flight per workspace, so a shell-level retry only amplified load against a slow backend. - Both refresh hooks mark their map as automatic (IX_AUTO_MAP=1). The CLI skips an automatic map when the active backend is remote, keeping background refresh a local convenience; remote ingestion stays deliberate. Opt in to remote auto-refresh with IX_AUTO_MAP_CLOUD=1. Bumps plugin + marketplace manifest to 3.1.1. Pairs with Ix #290. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.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.
What
Hardens the auto-ingestion hooks so background graph refresh is safe to run frequently, and bumps the plugin to 3.1.1.
Changes
ix-ingest.shno longer retriesix mapitself. TheixCLI now owns retry/backoff and a per-run wall-clock deadline, and is single-flight per workspace, so a shell-level retry only amplified load against a slow backend.IX_AUTO_MAP=1). The CLI skips an automatic map when the active backend is remote — background refresh stays a local convenience, and remote ingestion is left to deliberate, manualix map.IX_AUTO_MAP_CLOUD=1opts back in.plugin.json+marketplace.json) → 3.1.1; addsCHANGELOG.md.Compatibility
Pairs with the
ixCLI single-flight + deadline support (Ix #290). TheIX_AUTO_MAPmarker is a no-op on older CLIs (they just run the map as before), so this is safe to ship independently.Tests
bash tests/test_hooks.shpasses the ingest/map paths (pre-existing env-only failures unrelated to this change).🤖 Generated with Claude Code