Skip to content

feat: add repo-log error logging context and settle handling - #126

Open
Amar07Singh wants to merge 3 commits into
ByteBell:mainfrom
Amar07Singh:feat/error-log
Open

Amar07Singh wants to merge 3 commits into
ByteBell:mainfrom
Amar07Singh:feat/error-log

Conversation

@Amar07Singh

@Amar07Singh Amar07Singh commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

What changed

  • Made CLI failures actionable: inline server-exit log tail, structured ingest reason/category/detail, and HTTP timeout/status hints.
  • Added per-repo index logs at logs/repos/<label>.log (moved to logs/archive/ once the job settles) plus a server-log reset on each successful index.

Why

Index errors were hard to trace: the shared server log grew unbounded and interleaved every repo, and CLI errors hid the real cause (Neo4j auth, Mongo down, OpenRouter 402/503). These changes make each failure self-explanatory and each repo's run independently readable.

How to test

  1. bytebell index <github-url> twice — confirm a fresh repos/<label>.log appears while indexing and moves to archive/<label>.log when it finishes (success or retries exhausted).

Screenshots

N/A — backend + CLI only.

@bharatsachya
bharatsachya changed the base branch from merge/embedded_prerelease to main June 5, 2026 05:49
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.

2 participants