Skip to content

hotfix(docs): exclude AirSim scene binaries from docs builds (0.20.8) - #421

Merged
andrewjong merged 2 commits into
mainfrom
hotfix/docs-exclude-airsim-binaries
Sep 5, 2026
Merged

hotfix(docs): exclude AirSim scene binaries from docs builds (0.20.8)#421
andrewjong merged 2 commits into
mainfrom
hotfix/docs-exclude-airsim-binaries

Conversation

@andrewjong

@andrewjong andrewjong commented Sep 5, 2026

Copy link
Copy Markdown
Member

Summary

  • Add simulation/ms-airsim/assets/scenes/** and simulation/ms-airsim/environments/** to exclude_docs in mkdocs.yml.
  • Bump VERSION 0.20.7 → 0.20.8 and record the change in docs/release_notes/index.md.
  • Fix the pre-existing red unit-tests job: teach the docs-catalog contract test's YAML loader the mkdocs !ENV tag that hotfix(docs): README-page 404s, link previews, edit-this-page button (0.20.7) #419 introduced (all four test_docs_catalog_contract.py tests had failed on main and develop since 2026-08-29).

Why

The same-dir plugin publishes the whole repo tree as site content. The downloaded Microsoft AirSim UE4 scenes and environments are gitignored but were not excluded from docs, so every mkdocs build / docs serve on a machine with scenes fetched copied ~15 GB of Unreal .debug binaries and zips into the site directory. On one dev machine this had accumulated to ~70 GB across ../site and stale build dirs.

No pages or links reference either directory (checked mkdocs.yml nav and docs/).

Verification

  • mkdocs.config.load_config loads the config; pattern match test:
    • EXCLUDED simulation/ms-airsim/assets/scenes/Blocks/LinuxNoEditor/Blocks.debug
    • EXCLUDED simulation/ms-airsim/environments/AbandonedPark.zip
    • kept simulation/ms-airsim/docker/README.md
    • kept docs/simulation/ms-airsim/index.md
  • Full mkdocs build with the same two patterns on a machine with all four scenes plus AbandonedPark fetched: build output dropped from ~17–20 GB to ~2.5 GB, and simulation/ms-airsim/assets/scenes/ and simulation/ms-airsim/environments/ are absent from the output.
  • pytest tests/meta/test_docs_catalog_contract.py: 4 failed → 15 passed.

Supersedes #420 (head branch renamed to satisfy enforce-branch-targets).

🤖 Generated with Claude Code

andrewjong and others added 2 commits September 4, 2026 20:25
The same-dir plugin publishes the whole repo tree as site content, and the
downloaded Microsoft AirSim UE4 scenes (simulation/ms-airsim/assets/scenes/)
and environments (simulation/ms-airsim/environments/) were not in
exclude_docs, so every mkdocs build/serve on a machine with scenes fetched
copied ~15 GB of Unreal .debug binaries and zips into the site directory.
No pages or links reference either directory.

Bumps VERSION 0.20.7 -> 0.20.8 and records the change in the release notes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
PR #419 added 'edit_uri: !ENV [DOCS_EDIT_URI, "edit/main/"]' to mkdocs.yml.
The contract test parses mkdocs.yml with a SafeLoader that only knew the
!!python/name tag, so all four docs-catalog contract tests have failed on
main and develop since 2026-08-29. Collapse !ENV to its default value.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@andrewjong
andrewjong merged commit a6dad8c into main Sep 5, 2026
4 checks passed
@andrewjong
andrewjong deleted the hotfix/docs-exclude-airsim-binaries branch September 5, 2026 00:39
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Test Metrics — a0e28a573015e9fdaafa1a696565c36d2b068f73

This was a unit/build-only run. Simulation regression comparison does not apply.

system.test_build_packages

Pass rates

Test Pass Fail Skip Rate
test_colcon_build_gcs 1 0 0 100%
test_colcon_build_ms_airsim 1 0 0 100%
test_colcon_build_robot 1 0 0 100%
test_colcon_test_robot 1 0 0 100%

Metrics

Test Metric Value
test_colcon_build_robot duration_s 101.8s
test_colcon_test_robot duration_s 40.82s
test_colcon_build_gcs duration_s 70.21s
test_colcon_build_ms_airsim duration_s 14.68s

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