Repository navigation
chore: update Runnable badge - #148
Conversation
CaiJingLong
left a comment
There was a problem hiding this comment.
Non-blocking review: the clickable badge is useful, but the badge image and Actions page use different query parameters.
At image_editor/README.md:3, badge.svg?query=event%3Apush does not apply the documented badge event filter. GitHub documents ?event=push for the image; ?query=event%3Apush is appropriate for the linked Actions page. Please choose an event the workflow actually runs on and use matching filters for the badge and destination. The current runnable workflow only triggers on pull requests, so simply restoring event=push shows no status until push runs exist (as proposed separately in #159).
Validation: reviewed the one-line diff and workflow triggers, checked GitHub's badge documentation (https://docs.github.com/en/actions/how-tos/monitor-workflows/add-a-status-badge), and fetched both image URLs: the new query URL currently reports passing, while the explicit push filter reports no status. No code tests are needed for this Markdown-only change. Reviewed 00c4865.
Use the badge event parameter and match the pull_request workflow trigger. Co-Authored-By: OpenAI Codex <noreply@openai.com>
CaiJingLong
left a comment
There was a problem hiding this comment.
Approved after correcting the badge filters at the updated head. image_editor/README.md:3 now uses badge.svg?event=pull_request for the image and query=event%3Apull_request for the linked Actions page. This preserves the clickable badge and matches the existing pull_request trigger, independently of whether #159 adds push runs.
Validation: inspected the one-line Markdown change and current workflow trigger; git diff --check passes. No application code changed and no application tests are needed for this documentation-only update. The prior non-blocking feedback is addressed.
CaiJingLong
left a comment
There was a problem hiding this comment.
Approved after correcting the badge filters at the updated head. image_editor/README.md:3 now uses badge.svg?event=pull_request for the image and query=event%3Apull_request for the linked Actions page. This preserves the clickable badge and matches the existing pull_request trigger, independently of whether #159 adds push runs.
Validation: inspected the one-line Markdown change and current workflow trigger; git diff --check passes. No application code changed and no application tests are needed for this documentation-only update. The prior non-blocking feedback is addressed.
Post-review CI attribution: the new run on this documentation-only head uses the old project workflows. Analyze fails on the existing example deprecated APIs; Flutter 3.0.5 Apple jobs fail because the old pod helper calls File.exists? under current Ruby; older Windows jobs request Visual Studio 2019 absent from the current runner. These files are unchanged by this PR. The project repair in #159 now passes all 12 checks, including restored old-SDK/unit-test coverage. Merge that baseline repair and refresh this branch before treating its CI as ready; the badge-only code approval is unchanged.
CaiJingLong
left a comment
There was a problem hiding this comment.
Approved code review at e635865e66be4b0ff2266b0c0a6b2af9d7004aa8. No blocking findings.
After syncing the merged CI fix #159 and current main, the full PR diff is exactly one README badge line. The badge image filters event=pull_request and its hyperlink filters the same event. No application or workflow changes remain in this PR. git diff --check passed.
This reconfirms the earlier substantive review after synchronization. Merge remains conditional on the current GitHub checks completing successfully.
No description provided.