Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug]: Vector-index health reports `index-reindex-hourly scheduled` (OK) when no cron entry is installed

Aperta
#99 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
72/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
linux, shell
Ambito
cli, devops

Direzione di ricerca

Start with check_cron in lib/vector_index_health.py:385-415 and the cron installation warning in bin/fw:4472; trace how fw cron install records whether the registry was deployed and where FW_CRON_INSTALL_DIR points. Reproduce with an active registry entry and no installed cron job, then run fw doctor. Done when the health check reports OK only for a deployed job and otherwise explains that installation is needed.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:doctor bug severity:medium status:fixed-on-bleeding-edge triaged
Bug Description

lib/vector_index_health.py:385-415 (check_cron) reads .context/cron-registry.yaml only. If the job index-reindex-hourly is listed with status active, it returns OK cron: index-reindex-hourly scheduled. It never checks that the registry was generated and deployed (fw cron install, /etc/cron.d by default, FW_CRON_INSTALL_DIR).

In the same fw doctor run, bin/fw:4472 prints WARN Cron registry present but not generated — run: fw cron install. The two lines contradict each other, and the OK one sits inside the vector-index block, where a reader looks to learn whether the index will be refreshed.

Steps to Reproduce
  1. Project created by fw init, upgraded to 1.8.11; fw cron install never run (it needs root).
  2. ls /etc/cron.d | grep agentic returns nothing; the user crontab has no framework entry.
  3. fw doctor prints both OK cron: index-reindex-hourly scheduled and WARN Cron registry present but not generated — run: fw cron install.
Expected Behavior

check_cron reports what will actually run: OK only when the job is deployed; otherwise WARN or FAIL such as index-reindex-hourly declared in the registry but not installed (fw cron install).

Actual Behavior

OK cron: index-reindex-hourly scheduled while nothing is scheduled.

fw doctor output

AI Agent

Claude Code

Operating System

Linux

Additional Context

1.8.11 (e42aa41bf), vendored consumer, Linux (Ubuntu 20.04, systemd 245), Claude Code.

Lingua principale
Shell
Stelle
16
Fork
6
Merge medio
6h 24m
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DimitriGeelen/agentic-engineering-framework

Tutte le issue di DimitriGeelen/agentic-engineering-framework

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.