Skip to content

Dev/v2.1.2-2 - #246

Merged
luk384090-cloud merged 7 commits into
mainfrom
dev/v2.1.2-2
Nov 26, 2026
Merged

luk384090-cloud merged 7 commits into
mainfrom
dev/v2.1.2-2

Conversation

@luk384090-cloud

Copy link
Copy Markdown
Collaborator

Description

[Describe what this PR does and why]

Related Issue: Fixes #[issue_number] or Relates to #[issue_number]

Security Considerations: [Check if API keys or sensitive credentials are exposed in code/logs]

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactoring

Component(s) Affected

  • Model
  • Application
  • Common
  • Documentation
  • Tests
  • CI/CD

Checklist

  • Pre-commit hooks pass
  • Tests pass locally
  • Documentation updated (if needed)
  • Ready for review

Testing

[How to test these changes]

Additional Notes

[Optional: any other context]

luk384090-cloud added 3 commits November 24, 2026 11:47
- Introduce GitHub Actions workflow for MkDocs Material site build and deployment
- Enable docs build on PRs, pushes to main, and release publishing events
- Add hooks.py to provide dynamic substitutions for SDK version and release notes
- Implement localized rendering of release notes with support for English and Chinese
- Add release-notes.md in English and Chinese with changelog overview and 2.0 highlights
- Refine sidebar navigation and prune 404 pages from sitemap for i18n builds
- Re-export applications subpackage for improved type checking and documentation cohesion

(cherry picked from commit 6368a5b)
- Set environment variables to simulate consistent fake TTY behavior in tests
- Add test to ensure Rich spinner produces no output on TERM=dumb
- Patch sleep function to speed up test execution
- Validate that no escape sequences are emitted on dumb terminals during job wait
- Ensure text assertions are consistent across different CI and terminal environments
@luk384090-cloud luk384090-cloud changed the title Dev/v2.1.2 2 Dev/v2.1.2-2 Nov 24, 2026
luk384090-cloud and others added 4 commits November 25, 2026 16:17
- Add pymdownx.snippets to mkdocs.yml with path checking and dedenting
- Update GitHub release template markdown with improved section handling
- Enhance docs workflow to report and sync API reference coverage during build
- Simplify release notes rendering with external Python script
- Add multiple runnable example code snippets and sync them in docs/en and docs/zh
- Introduce new usage resource documentation in agentstudio reference
- Add new test for docs reference synchronization (test_docs_reference.py)
- Add tests for release notes renderer script (test_release_notes_script.py)
- Implement tools/gen_reference.py to auto-sync API reference pages with public API
- Bump version to 2.1.2
…ronization

- Split sync_page into modular helper functions (_scan_entries, _discovery_scope,
  _module_candidates, _discover_additions, _place_additions, _render_page)
- Implement canonical identity collection across locales to unify coverage
- Add _sync_locale for locale-specific synchronization with drift detection
- Enhance drift reporting with detailed added and removed directive logs
- Introduce _report_gaps to clearly report unclassified public modules
- Consolidate and clarify code for discovering additions and handling __all__
- Refactor import warnings and drift handling for improved messaging and control
- Remove duplicated logic by reusing helper functions across locale sync process

test(finetune_rl_shim): assert server module loads without importing fastapi lazily

- Add subprocess-based tests to verify lazy import behavior using fresh interpreters
- Utilize runpy and importlib.util.find_spec scripts to ensure fastapi is not pre-imported

test(docs_reference): fix test formatting and add code style improvements

- Add missing trailing commas and break long arguments into multiple lines
- Align multi-line function calls with trailing commas for clearer diffs
- Correct line breaks to respect 100 char commit message line length limit

test(release_notes_script): format code for argument parsing and function calls

- Split long argument lists into multiple lines with proper indentation
- Add missing trailing commas and use consistent parentheses style
- Clean up assertion blocks for improved readability

style(render_release_notes): format configuration and clean up string concatenation

- Break tuple entries and argument lists across multiple lines for clarity
- Simplify conditional string construction to a single line expression
- Consistently apply line breaks and indentation to argparse setup
@luk384090-cloud
luk384090-cloud merged commit b57325e into main Nov 26, 2026
11 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