Files
esp-idf/components/console/test_apps/.build-test-rules.yml
T
Konstantin Kondrashov b332db39a5 fix(console): Avoid REPL task busy loop when linenoise returns NULL
When the REPL input backend is unavailable, linenoise() may return NULL
immediately. esp_console_repl_task() currently retries without yielding,
which can make the console_repl task spin continuously.

For USB Serial/JTAG console this can happen when the REPL is started
without an attached USB host. Since the REPL task has priority 2, this
can starve lower-priority tasks, prevent app_main from continuing after
esp_console_start_repl(), and trigger the task watchdog due to IDLE not
running.

Add a small delay before retrying when linenoise() returns NULL.

Closes https://github.com/espressif/esp-idf/issues/18485
2026-05-11 13:05:26 +03:00

23 lines
646 B
YAML

# Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps
components/console/test_apps/console:
enable:
- if: IDF_TARGET in["esp32", "esp32c3", "linux"]
reason: Testing all major architectures
depends_components:
- console
- esp_driver_uart
- esp_driver_usb_serial_jtag
- esp_usb_cdc_rom_console
- esp_stdio
- vfs
components/console/test_apps/usb_serial_jtag_repl_no_input:
disable:
- if: IDF_TARGET not in ["esp32c6"]
reason: Single-target regression coverage to reduce CI load
depends_components:
- console
- esp_driver_uart
- esp_driver_usb_serial_jtag