t1051: Auto-verify deployed tasks without VERIFY.md entries#1494
t1051: Auto-verify deployed tasks without VERIFY.md entries#1494marcusquinn merged 1 commit intomainfrom
Conversation
Tasks that pass CI and PR review but have no VERIFY.md entry were stuck in 'deployed' state indefinitely (267 tasks). Now auto-verified in batches of 50 per pulse cycle. Closes #1493
Summary of ChangesHello @marcusquinn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request addresses a backlog of deployed tasks that were stalled in the verification process due to the absence of VERIFY.md entries. By introducing an auto-verification process for these tasks, it ensures that work that has already passed initial quality gates (CI and PR review) can progress without manual intervention, significantly improving workflow efficiency and unblocking numerous tasks. Highlights
Changelog
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
|
Caution Review failedThe pull request is closed. WalkthroughThe Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 Code Quality Report�[0;35m[MONITOR]�[0m Code Review Monitoring Report �[0;34m[INFO]�[0m Latest Quality Status: �[0;34m[INFO]�[0m Recent monitoring activity: 📈 Current Quality Metrics
Generated on: Sun Feb 15 15:57:13 UTC 2026 Generated by AI DevOps Framework Code Review Monitoring |
|
There was a problem hiding this comment.
Code Review
This pull request introduces a sensible change to auto-verify deployed tasks that lack a VERIFY.md entry, preventing them from getting stuck in the pipeline. The rate-limiting is a good safeguard. The implementation is logical, and I have a few suggestions to enhance code style, simplify logic, and improve observability, in line with the repository's standards.
| local verified_count=0 | ||
| local failed_count=0 | ||
| local auto_verified_count=0 | ||
| local max_auto_verify_per_pulse=50 |
There was a problem hiding this comment.
According to the repository style guide (line 39), constants should be named using UPPER_SNAKE_CASE. Please rename max_auto_verify_per_pulse to MAX_AUTO_VERIFY_PER_PULSE and update its usage on line 306 accordingly.
| local max_auto_verify_per_pulse=50 | |
| local MAX_AUTO_VERIFY_PER_PULSE=50 |
References
- Variables: UPPER_SNAKE for constants/env vars, lower_snake for locals (link)
| local has_entry=false | ||
|
|
||
| # Check if there's a pending verify entry for this task | ||
| if ! grep -q "^- \[ \] v[0-9]* $tid " "$verify_file" 2>/dev/null; then | ||
| continue | ||
| if [[ -f "$verify_file" ]] && grep -q "^- \[ \] v[0-9]* $tid " "$verify_file" 2>/dev/null; then | ||
| has_entry=true | ||
| fi | ||
|
|
||
| log_info " $tid: running verification checks" | ||
| cmd_transition "$tid" "verifying" 2>>"$SUPERVISOR_LOG" || { | ||
| log_warn " $tid: failed to transition to verifying" | ||
| continue | ||
| } | ||
| if [[ "$has_entry" == "true" ]]; then |
There was a problem hiding this comment.
The use of the has_entry flag can be simplified. Instead of setting a flag in one if block and then immediately checking it in another, you can use the condition directly in the main if/else structure. This makes the control flow more direct and removes the need for a temporary variable.
| local has_entry=false | |
| # Check if there's a pending verify entry for this task | |
| if ! grep -q "^- \[ \] v[0-9]* $tid " "$verify_file" 2>/dev/null; then | |
| continue | |
| if [[ -f "$verify_file" ]] && grep -q "^- \[ \] v[0-9]* $tid " "$verify_file" 2>/dev/null; then | |
| has_entry=true | |
| fi | |
| log_info " $tid: running verification checks" | |
| cmd_transition "$tid" "verifying" 2>>"$SUPERVISOR_LOG" || { | |
| log_warn " $tid: failed to transition to verifying" | |
| continue | |
| } | |
| if [[ "$has_entry" == "true" ]]; then | |
| if [[ -f "$verify_file" ]] && grep -q "^- \[ \] v[0-9]* $tid " "$verify_file" 2>/dev/null; then |
| log_warn " $tid: failed to auto-verify" | ||
| continue | ||
| } | ||
| auto_verified_count=$((auto_verified_count + 1)) |
There was a problem hiding this comment.
For better observability, it would be helpful to add a log message when a task is auto-verified. This would be consistent with the manual verification path, which logs a success message, and would make it clearer in the logs which specific tasks were auto-verified.
| auto_verified_count=$((auto_verified_count + 1)) | |
| auto_verified_count=$((auto_verified_count + 1)) | |
| log_info " $tid: auto-verified (no VERIFY.md entry)" |



Summary
Changes
process_verify_queue()intodo-sync.sh: instead of skipping tasks without VERIFY.md entries, auto-transitions them toverifiedCloses #1493
Summary by CodeRabbit
New Features
Bug Fixes