Skip to content

chore(github): improve PR process and rename workspace#12

Merged
ishandhanani merged 9 commits into
mainfrom
ishan/pr-message
Mar 4, 2025
Merged

chore(github): improve PR process and rename workspace#12
ishandhanani merged 9 commits into
mainfrom
ishan/pr-message

Conversation

@ishandhanani
Copy link
Copy Markdown
Contributor

Overview

This PR enhances the GitHub pull request process, adds PR title linting, simplifies the PR template, and renames the project workspace file.

Detailed breakdown and reasoning

We've streamlined the PR process to improve efficiency and consistency. The addition of PR title linting ensures that all PRs follow semantic versioning conventions, making it easier to track changes and generate changelogs. The simplified PR template reduces cognitive load on contributors while still capturing essential information. Lastly, renaming the workspace file aligns it with the current project name.

Changes Made

  • Added a new GitHub workflow to lint PR titles using semantic versioning
  • Simplified the pull request template, removing redundant sections and focusing on key information
  • Renamed the project workspace file from 'triton.code-workspace' to 'dynemo.code-workspace'

Comment thread .github/workflows/lint-pr-title.yaml
Comment thread .github/pull_request_template.md Outdated
Comment thread .github/pull_request_template.md Outdated
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 4, 2025

Test Results

 2 files   2 suites   25s ⏱️
71 tests 71 ✅ 0 💤 0 ❌
89 runs  88 ✅ 1 💤 0 ❌

Results for commit b5a73f5.

Comment thread .github/workflows/lint-pr-title.yaml Outdated
@ishandhanani ishandhanani merged commit 4d31cc6 into main Mar 4, 2025
@ishandhanani ishandhanani deleted the ishan/pr-message branch March 4, 2025 22:17
kylehh pushed a commit to kylehh/dynamo that referenced this pull request Apr 11, 2025
ranrubin added a commit that referenced this pull request Apr 20, 2026
Fixes all actionable items from the second review:

Bug fixes:
- #1: Change returncode=4 → returncode=2 in pytest_configure exit
  (4 is reserved by pytest for EXIT_NOTESTSCOLLECTED)
- #2: Add comment clarifying HF_HUB_OFFLINE double-clear is safe
  (already in _MODELS_DIR_ENV_KEYS; loop correctly restores original)

Test quality:
- #7: Add missing assertions to test_apply_hf_home_layout
  (HF_HUB_OFFLINE, TRANSFORMERS_OFFLINE, DYNAMO_MODELS_DIR, TRANSFORMERS_CACHE)
- #8: Use monkeypatch in tests 3 & 4 for proper env isolation
  (prevents pre-existing env vars from leaking on test failure)

Design / correctness:
- #3: Fix _models_dir_env docstring ("exactly once" → "once per worker")
- #4: Add comment noting TRANSFORMERS_CACHE deprecation
- #5: Update --models-dir help text and docs to reflect both supported
  layouts (bare HF_HUB_CACHE and HF_HOME), not just bare
- #10: Restore pytest.skip() in download_lora() (test-only infra);
  remove now-redundant guard from minio_lora_service fixture
- #11: Raise hub/ detection log to WARNING with guidance
- #12: Replace shutil.rmtree(ignore_errors=True) with try/except
  so cleanup failures are logged rather than silently swallowed

Not addressed: #6 (keep gpu_0 per project marker policy), #9 (pytester
test deferred — complex due to conftest dependencies, low severity)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Signed-off-by: rrubin <rrubin@nvidia.com>
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.

5 participants