Skip to content

fix(ci): swagger-ui v5 Forbidden + bump mitmproxy2swagger to 0.15.0 - #65

Merged
Arkptz merged 2 commits into
mainfrom
fix/demo-gif-and-bench-update
Aug 1, 2026
Merged

fix(ci): swagger-ui v5 Forbidden + bump mitmproxy2swagger to 0.15.0#65
Arkptz merged 2 commits into
mainfrom
fix/demo-gif-and-bench-update

Conversation

@Arkptz

@Arkptz Arkptz commented Aug 1, 2026

Copy link
Copy Markdown
Owner

Summary

Swagger UI v5+ broke the SWAGGER_JSON env var in the demo GIF pipeline (phase3) — nginx returns 403 Forbidden because the entrypoint no longer symlinks the spec into the html root. Also bumps the Python mitmproxy2swagger benchmark dependency to 0.15.0.

Type of Change

  • CI / build / tooling

Checklist

  • cargo fmt --all clean (no Rust changes)
  • cargo clippy --all-targets --all-features -- -D warnings clean (no Rust changes)
  • cargo test passes locally (no Rust changes)
  • Added or updated tests for the change
  • Updated README / CLI help text if user-facing behavior changed
  • Added entry to CHANGELOG.md under [Unreleased] (if user-facing)
  • Used conventional commit style in commit messages (feat:, fix:, docs:, etc.)

Testing

CI-only changes — verified by triggering the demo-gif and bench workflows:

  1. phase3.spec.ts: mount openapi.yaml directly into /usr/share/nginx/html/ and use URL env var instead of deprecated SWAGGER_JSON. Bypasses the broken symlink mechanism entirely.
  2. bench.yml: mitmproxy2swagger==0.15.0 declares its own deps (mitmproxy>=12.2.3), so manual "mitmproxy<12" and "ruamel.yaml<0.19" pins dropped.

Related Issues

None

Arkptz added 2 commits August 1, 2026 21:19
- phase3.spec.ts: mount spec directly into nginx html root and use URL
  env var instead of SWAGGER_JSON (broken symlink mechanism in v5+)
- bench.yml: mitmproxy2swagger 0.14.0 → 0.15.0, drop manual mitmproxy
  and ruamel.yaml pins (0.15.0 declares its own deps)
@Arkptz
Arkptz merged commit b2d5fff into main Aug 1, 2026
11 of 14 checks passed
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