Back to list
dartsim

dart-ci

by dartsim

C++20 physics engine for robotics and animation with collision, constraints, and Python bindings

1,045🍴 294📅 Jan 23, 2026

SKILL.md


name: dart-ci description: DART CI/CD troubleshooting - GitHub Actions, cache debugging, platform-specific failures

DART CI/CD Troubleshooting

Load this skill when debugging CI failures or working with GitHub Actions.

Quick Commands

# Monitor PR checks
gh pr checks <PR_NUMBER>
gh pr checks <PR_NUMBER> --watch --interval 30 --fail-fast

# View run details
gh run list --branch <BRANCH> -e pull_request -L 20
gh run watch <RUN_ID> --interval 30
gh run view <RUN_ID> --json status,conclusion,url

# Debug failures
gh run view <RUN_ID> --job <JOB_ID> --log-failed
gh run view <RUN_ID> --json jobs --jq '.jobs[] | {name, databaseId}'

# Rerun failed jobs
gh run rerun <RUN_ID> --failed
gh run rerun <RUN_ID> --job <DATABASE_ID>

Full Documentation

For complete CI/CD guide: docs/onboarding/ci-cd.md

Common Failure Modes

Failure TypeSolution
Formatting failspixi run lint then push
Codecov patch failsAdd tests for uncovered lines
FreeBSD RTTI failsUse type enums + static_cast instead of dynamic_cast
macOS ARM64 SEGFAULTReplace alloca()/VLAs with std::vector<T>
RTD build failsUse defensive .get(key, default) patterns
gz-physics failsReproduce with pixi run -e gazebo test-gz

Workflow Architecture

WorkflowPurposePlatforms
ci_lint.ymlFormattingUbuntu
ci_ubuntu.ymlBuild + test + coverageUbuntu
ci_macos.ymlBuild + testmacOS
ci_windows.ymlBuild + testWindows
ci_freebsd.ymlBuild + test (VM)FreeBSD
ci_gz_physics.ymlGazebo integrationUbuntu

Fast Iteration Loop

  1. Identify failing step from job logs
  2. Reproduce locally with same build toggles
  3. Fix the smallest failing test
  4. Push and monitor: gh run watch <RUN_ID>

Caching

  • sccache/ccache reduces build time 50-70%
  • Check cache hit rates in workflow logs
  • Force cache bust by changing cache key if needed

Expected CI Times

PlatformCachedUncached
Ubuntu20-30 min45-60 min
macOS15-25 min30-45 min
Windows15-20 min25-35 min

Score

Total Score

85/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 1000以上

+15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon