Skip to content

fix(ci::dogfood): reduce compute complexity of dogfood task - #1077

Merged
twitchyliquid64 merged 1 commit into
mainfrom
tom/check-sop
Jul 29, 2026
Merged

fix(ci::dogfood): reduce compute complexity of dogfood task#1077
twitchyliquid64 merged 1 commit into
mainfrom
tom/check-sop

Conversation

@twitchyliquid64

@twitchyliquid64 twitchyliquid64 commented Jul 29, 2026

Copy link
Copy Markdown
Member

Summary

Testing

Checklist

  • Docs updated if behavior changed
  • BREAKING CHANGE: footer present if this is a breaking change

Note

Fix dogfood CI timeout by switching build-smoke task to cargo build -p common

Updates minimal.toml to run cargo build -p common instead of cargo build -p mip in the build-smoke task, which fixes the CI timeout in the dogfood pipeline.

Macroscope summarized 0feed07.

Summary by CodeRabbit

  • Chores
    • Updated the build smoke test to build the common component using its dedicated build command.
    • Replaced the previous smoke-test description to reflect the updated build process.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The tasks.build-smoke configuration now describes a generic build smoke test and builds the common package with cargo build -p common.

Changes

Smoke-test build target

Layer / File(s) Summary
Build-smoke command update
.minimal/minimal.toml
The tasks.build-smoke description and execution command now target the common package.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Poem

A rabbit hops through config bright,
“Build common” now feels just right.
The smoke test runs, the settings gleam,
Cargo follows a cleaner dream.
Binky binky, green lights beam!

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description keeps the template placeholders and leaves Summary, Testing, and Checklist essentially unfilled. Fill in the Summary and Testing sections with concrete details, and complete the checklist items or explicitly note why they do not apply.
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title is related to the CI dogfood build-smoke change, though it is a bit broader than the exact crate swap.

Comment @coderabbitai help to get the list of available commands.

@norrietaylor
norrietaylor enabled auto-merge (squash) July 29, 2026 20:11
@twitchyliquid64 twitchyliquid64 changed the title fix(ci::dogfood): fix the dogfood CI timeout fix(ci::dogfood): reduce compute complexity of dogfood task Jul 29, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/ci.yml:
- Line 100: Obtain CODEOWNER approval from `@gominimal/minimalists` before merging
the change to the CI workflow, as required by the repository’s
.github/CODEOWNERS rule.

In @.minimal/minimal.toml:
- Around line 24-25: Update the smoke-test task in minimal.toml to build the mip
CLI package instead of only common, ensuring the dogfood step validates Minimal
CLI compilation; alternatively, add a separate task that explicitly builds mip
while preserving the existing common build.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 15fcf4ff-c33d-4cf0-89b1-32ebc7c420e6

📥 Commits

Reviewing files that changed from the base of the PR and between a6c0e35 and 326e695.

📒 Files selected for processing (2)
  • .github/workflows/ci.yml
  • .minimal/minimal.toml

Comment thread .github/workflows/ci.yml Outdated
if: github.event_name != 'pull_request' || needs.changes.outputs.code == 'true'
runs-on: ubuntu-latest
timeout-minutes: 20
timeout-minutes: 25

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Inspect the workflow line in question
if [ -f .github/workflows/ci.yml ]; then
  sed -n '90,110p' .github/workflows/ci.yml
fi

# Find ownership rules that apply to workflows
if [ -f CODEOWNERS ]; then
  echo "=== CODEOWNERS ==="
  cat CODEOWNERS
fi

if [ -f .github/CODEOWNERS ]; then
  echo "=== .github/CODEOWNERS ==="
  cat .github/CODEOWNERS
fi

# Look for any repo guidance mentioning frozen workflows / CI ownership
rg -n "workflow|CODEOWNER|frozen|ci.yml" .github README.md . || true

Repository: gominimal/minimal

Length of output: 23382


Do not merge this workflow edit without CODEOWNER review. .github/CODEOWNERS assigns * to @gominimal/minimalists, so .github/workflows/ci.yml needs owner approval.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/ci.yml at line 100, Obtain CODEOWNER approval from
`@gominimal/minimalists` before merging the change to the CI workflow, as required
by the repository’s .github/CODEOWNERS rule.

Sources: Coding guidelines, Learnings

Comment thread .minimal/minimal.toml
Comment on lines +24 to +25
description = "Smoke-test that a task can build something"
exec = "cargo build -p common"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Keep the smoke test on the CLI package. cargo build -p common no longer exercises mip, so the dogfood step can pass even if the Minimal CLI stops compiling. Keep building mip here, or add a second task for it.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.minimal/minimal.toml around lines 24 - 25, Update the smoke-test task in
minimal.toml to build the mip CLI package instead of only common, ensuring the
dogfood step validates Minimal CLI compilation; alternatively, add a separate
task that explicitly builds mip while preserving the existing common build.

@twitchyliquid64
twitchyliquid64 disabled auto-merge July 29, 2026 20:54
@twitchyliquid64
twitchyliquid64 merged commit 4bc6734 into main Jul 29, 2026
27 checks passed
@twitchyliquid64
twitchyliquid64 deleted the tom/check-sop branch July 29, 2026 20:54
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