Skip to content

chore: update Runnable badge - #148

Merged
CaiJingLong merged 3 commits into
fluttercandies:mainfrom
guspan-tanadi:badgequery
Oct 23, 2026
Merged

CaiJingLong merged 3 commits into
fluttercandies:mainfrom
guspan-tanadi:badgequery

Conversation

@guspan-tanadi

Copy link
Copy Markdown
Contributor

No description provided.

@CaiJingLong CaiJingLong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 CaiJingLong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 CaiJingLong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 CaiJingLong left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@CaiJingLong
CaiJingLong merged commit 7ad989d into fluttercandies:main Oct 23, 2026
6 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.

2 participants