Skip to content

Fix editorconfig violations in FTBFS dashboard template#3334

Closed
Copilot wants to merge 4 commits into
masterfrom
copilot/fix-editorconfig-job
Closed

Fix editorconfig violations in FTBFS dashboard template#3334
Copilot wants to merge 4 commits into
masterfrom
copilot/fix-editorconfig-job

Conversation

Copilot AI commented Jun 12, 2026

Copy link
Copy Markdown

The editorconfig GitHub Actions job was failing on the newly added FTBFS dashboard template. The template contained multiple lines with odd-width left padding, which violated the repository’s .editorconfig indentation rules.

  • Root cause

    • dashboard/templates/ftbfs.html used inconsistent leading whitespace on several HTML/Jinja and inline JS lines.
    • editorconfig-checker rejected these lines because indentation must be a multiple of 2 spaces.
  • Change

    • Normalize indentation in dashboard/templates/ftbfs.html only.
    • Keep markup structure and behavior unchanged; this is a formatting-only fix targeted at the failing file.
  • Example

    -       <h1 class="h5 mb-0 fw-bold">FTFBS report at {{ rebuild_pct }}% build</h1>
    +      <h1 class="h5 mb-0 fw-bold">FTFBS report at {{ rebuild_pct }}% build</h1>
    
    -       row.classList.toggle('d-none', !pkg.includes(q));
    +      row.classList.toggle('d-none', !pkg.includes(q));

ana and others added 2 commits June 12, 2026 15:25
This dashboard helps to keep track of the build failures in
openSUSE:Factory:Rebuild and compares with the current status
in openSUSE:Factory and upcoming fixes.

Regenerate the dashboard every 30 min only if Rebuild has completed
at least the 60% of the builds.
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'editorconfig' Fix editorconfig violations in FTBFS dashboard template Jun 12, 2026
Copilot finished work on behalf of ana June 12, 2026 13:34
Copilot AI requested a review from ana June 12, 2026 13:34
@ana ana closed this Jun 12, 2026
@ana ana reopened this Jun 12, 2026
@ana

ana commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

not super helpful

@ana ana closed this Jun 12, 2026
@ana ana deleted the copilot/fix-editorconfig-job branch June 12, 2026 13:48
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