Skip to content

fix(hooks): skip auto-map on remote backend; drop ingest retry (v3.1.1)#26

Merged
josephismikhail merged 1 commit into
mainfrom
fix/hook-auto-map-skip
Jun 11, 2026
Merged

fix(hooks): skip auto-map on remote backend; drop ingest retry (v3.1.1)#26
josephismikhail merged 1 commit into
mainfrom
fix/hook-auto-map-skip

Conversation

@josephismikhail

Copy link
Copy Markdown
Contributor

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.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 — background refresh stays a local convenience, and remote ingestion is left to deliberate, manual ix map. IX_AUTO_MAP_CLOUD=1 opts back in.
  • Manifest (plugin.json + marketplace.json) → 3.1.1; adds CHANGELOG.md.

Compatibility

Pairs with the ix CLI single-flight + deadline support (Ix #290). The IX_AUTO_MAP marker 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.sh passes the ingest/map paths (pre-existing env-only failures unrelated to this change).

🤖 Generated with Claude Code

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>
@josephismikhail josephismikhail merged commit 8b772e5 into main Jun 11, 2026
6 checks passed
@josephismikhail josephismikhail deleted the fix/hook-auto-map-skip branch June 11, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant