Skip to content

docs(api): open_with_limits, the writer's round trip and render_plan_svg have examples CI runs (#872) - #925

Merged
DrunkOnJava merged 3 commits into
mainfrom
docs/runnable-entry-examples
Oct 23, 2026
Merged

DrunkOnJava merged 3 commits into
mainfrom
docs/runnable-entry-examples

Conversation

@DrunkOnJava

Copy link
Copy Markdown
Owner

Summary

The last three user entry points without an example CI runs get one, and 1.0 criterion S3 (#872) now says what is measured.

  • RevitFile::open_with_limits: was no_run against a made-up path. It now opens the tier-1 fixture under a 100 MB limit, and shows a 1 KB limit refusing the file with Error::TooLarge.
  • writer::verify_patches_applied (with write_with_patches): was no_run with an empty patch. It now writes the fixture's BasicFileInfo back verbatim to a temporary file, checks the round trip, and removes the file.
  • ifc::sheet::render_plan_svg: had no example. It now exports the fixture and renders its plan.

docs/release-1.0-criteria.md S3 lists the entry points whose examples run in CI's doctests (cargo test --profile ci --doc, #900), and the three user examples (#904). It stays failed: the bar is what docs.rs shows, and docs.rs still shows 0.6.1, which has none of them. It passes when a release publishes them.

Testing

  • rustfmt --check.
  • The doctests: this PR's CI (cargo test --profile ci --doc).

Audit-honesty checklist

  • README / docs reflect the current state after this PR
  • No limitation resolved or introduced
  • Commit messages describe what and why
  • No emojis
  • No private paths, personal email addresses, or internal jargon in committed files
  • Reverse-engineering finding: N/A

Legal and contribution hygiene

  • I agree this work is licensable under Apache-2.0
  • This PR contains no Autodesk proprietary source, decompiled internals, or NDA'd SDK content

…svg have examples CI runs, and S3 says what is measured (#872)
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 23, 2026 17:31

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e2c89d2ec4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread docs/release-1.0-criteria.md Resolved
@DrunkOnJava
DrunkOnJava merged commit b07b0af into main Oct 23, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/runnable-entry-examples branch October 23, 2026 19:49
Repository owner deleted a comment from chatgpt-codex-connector Bot Oct 31, 2026
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