Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

docs(ai/imports): update for PR #12999 — importbot now runnable locally#13035

Merged
mekarpeles merged 1 commit into
masterinternetarchive/openlibrary:masterfrom
docs/ai/imports-pr12999internetarchive/openlibrary:docs/ai/imports-pr12999Copy head branch name to clipboard
Jun 24, 2026
Merged

docs(ai/imports): update for PR #12999 — importbot now runnable locally#13035
mekarpeles merged 1 commit into
masterinternetarchive/openlibrary:masterfrom
docs/ai/imports-pr12999internetarchive/openlibrary:docs/ai/imports-pr12999Copy head branch name to clipboard

Conversation

@mekarpeles

Copy link
Copy Markdown
Member

Summary

Updates the import pipeline AI docs to reflect PR #12999 ("Fix importbot + make runnable locally" by @cdrini, now merged).

Changes:

  • docs/ai/imports/index.md — updates manage-imports.py description; adds compose.near-prod.yaml to the key files table; marks Make batch importer work in local development environments #7236 as fixed
  • docs/ai/imports/debugging.md — replaces the "Local dev ImportBot does not run" limitation with a full how-to guide including the COMPOSE_FILE command, env vars (LOCAL_DEV, OL_IMPORT_ALL_SLEEP, OL_IMPORT_ALL_PROCESSES), and login credential change

What PR #12999 changed

  • Added importbot service to compose.near-prod.yaml (sets LOCAL_DEV=true, single worker, 15s poll)
  • Fixed manage-imports.py local login: ("admin","admin123")("openlibrary@example.com","admin123")
  • Made sleep/worker count configurable via env vars
  • Fixed import_data method indentation (was accidentally de-indented to top-level by Copilot in Add Content-Type header to import requests #12902)

Closes #7236

- index.md: update manage-imports.py description + add compose.near-prod.yaml entry;
  mark #7236 fixed
- debugging.md: replace 'ImportBot does not run' limitation with how-to,
  including env vars, docker compose command, and dev account credentials
@mekarpeles
mekarpeles merged commit 8fe74c7 into master Jun 24, 2026
7 checks passed
@mekarpeles
mekarpeles deleted the docs/ai/imports-pr12999 branch June 24, 2026 20:37
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.

Make batch importer work in local development environments

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.