job_logs#

Page for showing job logs (build logs, test logs, profiling logs) and a job overview page

Functions

create_agent_session_log_section(title, logs)

Create a section displaying logs.

create_log_section(title, logs)

Create a section displaying logs.

create_side_by_side_log_section(title, log_data)

Create a section displaying logs side by side (reference vs custom).

create_summary_section(log_groups[, ...])

Create a summary section showing status for each log category.

get_status_from_logs(logs[, extract_runtime])

Determine status from log entries by checking for return codes.

job_logs_detail_page(job_id)

Detailed page showing job logs for a specific job.

job_logs_main_page([user_id])

Main page showing list of all jobs with logs.

kernelfoundry.gui.job_logs.job_logs_main_page(user_id: str | None = None)[source]#

Main page showing list of all jobs with logs.

All state below is local to this call so that concurrent clients (browser tabs/users) never share or clobber each other’s filters, pagination, or table container.

kernelfoundry.gui.job_logs.job_logs_detail_page(job_id: int)[source]#

Detailed page showing job logs for a specific job.

kernelfoundry.gui.job_logs.create_log_section(title, logs)[source]#

Create a section displaying logs.

kernelfoundry.gui.job_logs.create_agent_session_log_section(title, logs)[source]#

Create a section displaying logs.

kernelfoundry.gui.job_logs.create_side_by_side_log_section(title, log_data)[source]#

Create a section displaying logs side by side (reference vs custom).

kernelfoundry.gui.job_logs.get_status_from_logs(logs, extract_runtime=False)[source]#

Determine status from log entries by checking for return codes.

kernelfoundry.gui.job_logs.create_summary_section(log_groups, is_validation_job=False)[source]#

Create a summary section showing status for each log category.