kernelfoundry.gui.job_logs

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

Functions

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_full_count()

Get the total count of jobs for pagination.

get_rows(pagination)

Get paginated job rows.

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.

load_jobs()

Load jobs with pagination.

on_request(e)

Handle pagination requests.

kernelfoundry.gui.job_logs.get_full_count()[source]

Get the total count of jobs for pagination.

kernelfoundry.gui.job_logs.get_rows(pagination)[source]

Get paginated job rows.

kernelfoundry.gui.job_logs.on_request(e: GenericEventArguments) None[source]

Handle pagination requests.

kernelfoundry.gui.job_logs.load_jobs()[source]

Load jobs with pagination.

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

Main page showing list of all jobs with logs.

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_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.