Skip to content

fix(ci,openai): unbreak Docs Lint + bump rustls-webpki sec patch#261

Merged
Destynova2 merged 2 commits intomainfrom
fix/codex-instructions-asset-location
Apr 25, 2026
Merged

fix(ci,openai): unbreak Docs Lint + bump rustls-webpki sec patch#261
Destynova2 merged 2 commits intomainfrom
fix/codex-instructions-asset-location

Conversation

@Destynova2
Copy link
Copy Markdown
Contributor

Summary

  • Relocate codex_instructions.md from docs/reference/ back to src/providers/openai/. It's a binary asset embedded via include_str!, not user docs — putting it under docs/** (commit 9cf19ea, chore: release v0.20.1 #37) made markdownlint trip on the verbatim upstream Codex CLI formatting (* lists, 4-space indent), failing 20 lint errors. Co-locating it next to its sole consumer fixes the lint scope naturally and clarifies asset-vs-doc intent for contributors.
  • Drop --exclude-mail from the lychee step in .github/workflows/docs-lint.yml. The flag was removed in lychee v0.23.0 and was failing the broken-link job with error: unexpected argument '--exclude-mail' found. No mailto links in the scoped files (docs/**/*.md, README.md, CLAUDE.md).
  • Bump rustls-webpki 0.103.12 → 0.103.13 (RUSTSEC-2026-0104, reachable panic in CRL parsing). Pulled in transitively via reqwest → rustls. Required to keep Cargo Deny green — advisory was published after the last main CI pass, so this PR would otherwise inherit the breakage.

References updated in docs/reference/providers.md and docs/decisions/0007-openai-compat-dual-surface.md.

Test plan

  • cargo check -p grob (verifies the new include_str!("./codex_instructions.md") path resolves)
  • cargo nextest run --profile ci (pre-push hook)
  • cargo deny check advisoriesadvisories ok
  • cargo fmt, cargo clippy --all-targets -- -D warnings, cargo audit, cargo machete, doc tests, doc coverage — all green via prek pre-push
  • CI: Docs Lint (markdownlint + lychee) green
  • CI: Cargo Deny green

Clément LIARD added 2 commits April 25, 2026 16:55
…chee --exclude-mail

The Codex system prompt is a binary asset embedded via include_str!,
not user documentation. Co-locating it next to its sole consumer
(src/providers/openai/) restores the asset/doc boundary and naturally
takes it out of the docs-lint scope, which was failing markdownlint
on the verbatim upstream formatting (* lists, 4-space indent).

Also drop --exclude-mail from the lychee step: the flag was removed
in lychee v0.23.0 and was failing the broken-link job with
'unexpected argument'. No mailto links exist in the scoped files.

Updated references in docs/reference/providers.md and ADR 0007.
Reachable panic in CRL parsing (BorrowedCertRevocationList::from_der /
OwnedCertRevocationList::from_der mishandling an empty BIT STRING in
the onlySomeReasons element of IssuingDistributionPoint). Pulled in
transitively via reqwest -> rustls.

Bumped via `cargo update -p rustls-webpki`. No source changes.
@Destynova2 Destynova2 enabled auto-merge April 25, 2026 15:02
@Destynova2 Destynova2 merged commit 2c154c0 into main Apr 25, 2026
43 of 44 checks passed
@Destynova2 Destynova2 deleted the fix/codex-instructions-asset-location branch April 25, 2026 15:11
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