Skip to content

feat(ci): add actionable runner diagnostics - #1944

Merged
gerchowl merged 2 commits into
devfrom
feature/1926-runner-diagnostics
Oct 27, 2026
Merged

gerchowl merged 2 commits into
devfrom
feature/1926-runner-diagnostics

Conversation

@gerchowl

Copy link
Copy Markdown
Contributor

Description

Add ADR §3 runner diagnostics: actionable legacy migration warnings, whitespace warnings, effective-map configuration notices, and a class/source step-summary table. Diagnostics never print runner label values.

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • Derive required classes from the built-in effective lane map, ready for #1908 S1b: Per-lane size override DEVKIT_CI_LANE_SIZES #1927 to supply its override.
  • Report missing opted-in variables, partial setup, and private repositories without visible variables.
  • Execute the action Bash in tests, injecting the future effective map without implementing its parser.

Changelog Entry

Added

  • Actionable CI runner diagnostics (#1926)
    • Warn about legacy runner settings, whitespace-only variables and missing opted-in classes; report private-repository configuration gaps and class sources without printing labels

Testing

uv run --with pytest-xdist pytest tests/test_ci_runner.py -n 4 --basetemp=$HOME/.cache/devkit-pytest/1926: 213 passed, exit 0.

Pre-change diagnostic run: 25 failed, 7 passed, exit 1; committed tests before implementation. Repository hooks run inside nix develop.

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

Reviewed diagnostics against the accepted ADR §3. Lane override parsing remains scoped to #1927.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

S1 (#1925) is merged. No lane override parser is included. Required-class diagnostics consume the effective map; tests inject that map for opted-in class cases.

Refs: #1926

@gerchowl
gerchowl merged commit 672b6ac into dev Oct 27, 2026
16 checks passed
@gerchowl
gerchowl deleted the feature/1926-runner-diagnostics branch October 27, 2026 10:01
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.

1 participant