Skip to content

Conversation

@arjunsuresh
Copy link
Contributor

βœ… PR Checklist

  • Target branch is dev

πŸ“Œ Note: PRs must be raised against dev. Do not commit directly to main.

βœ… Testing & CI

  • Have tested the changes in my local environment, else have properly conveyed in the PR description
  • The change includes a GitHub Action to test the script(if it is possible to be added).
  • No existing GitHub Actions are failing because of this change.

πŸ“š Documentation

  • README or help docs are updated for new features or changes.
  • CLI help messages are meaningful and complete.

πŸ“ File Hygiene & Output Handling

  • No unintended files (e.g., logs, cache, temp files, pycache, output folders) are committed.

πŸ›‘οΈ Safety & Security

  • No secrets or credentials are committed.
  • Paths, shell commands, and environment handling are safe and portable.

πŸ™Œ Contribution Hygiene

  • PR title and description are concise and clearly state the purpose of the change.
  • Related issues (if any) are properly referenced using Fixes # or Closes #.
  • All reviewer feedback has been addressed.

sujik18 and others added 5 commits January 14, 2026 08:09
* Update repo_action.py to force index rebuild when a new repo is pulled

* Update AI PR review workflow by adding fetch step for PR head

* Update index.py to incrementally add and remove index entries of a repo
@arjunsuresh arjunsuresh requested a review from a team as a code owner February 1, 2026 16:20
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ βœ…

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

πŸ€– AI PR Review Summary\n\nThis PR adds a new 'reindex' command to the mlc Action class to allow explicit reindexing of scripts, caches, experiments, or all targets. It enhances the Index class to better handle index rebuilding, including removal of deleted items and improved modified time tracking. New tests are added to the CI workflow to verify reindexing behavior and index consistency after manual deletion of indexed items. The changes improve index robustness and provide explicit control over reindexing. Risks include potential performance impact due to full index rebuilds on reindex commands and the partial implementation of per-target reindexing (currently all targets are rebuilt regardless of target). The index rebuild logic is complex and may require further testing to ensure no regressions in index consistency.

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.

3 participants