Skip to content

Conversation

@AliSoftware
Copy link
Contributor

@AliSoftware AliSoftware commented Aug 6, 2025

Note

This PR targets the HEAD branch integrate-periphery of #15962

This PR adds some optional improvements/suggestions on top of #15962.

Feel free to discard, or keep, or only merge later, but I figured opening a separate PR would allow to unblock the merging of the main one while allowing to iterate on improvements if needed 🙂

  • In .buildkite/commands/run-periphery.sh
    • Add ability to report the Periphery outcome (success, or result with log output) as Buildkite annotations
  • In setup-and-run-periphery.sh
    • Small refactor to avoid repetition of the calls to periphery scan "$@"
    • Add the --disable-update-check flag in the periphery call since the setup-and-run-periphery.sh script already handles version checks
    • Add the --relative-results flag to use relative paths in the output (instead of the absolute paths which are long and not super useful especially in CI context)

@AliSoftware AliSoftware self-assigned this Aug 6, 2025
@AliSoftware AliSoftware added the category: tooling Anything that involves building & maintaining the project, including scripts, `Fastfile`, etc. label Aug 6, 2025
@AliSoftware AliSoftware added this to the 23.0 milestone Aug 6, 2025
@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Aug 6, 2025

App Icon📲 You can test the changes from this Pull Request in WooCommerce iOS Prototype by scanning the QR code below to install the corresponding build.

App NameWooCommerce iOS Prototype
Build Numberpr15984-92b4934
Version22.9
Bundle IDcom.automattic.alpha.woocommerce
Commit92b4934
Installation URL18pjf3voc7f6g
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@AliSoftware
Copy link
Contributor Author

CI build with no violation looks like this 🎉
image

Add --disable-update-check and --relative-results flags

DRY some code to avoid repetition of the commands to run scan
@AliSoftware AliSoftware force-pushed the integrate-periphery-fancy branch from a257cc4 to 0203b2f Compare August 6, 2025 17:19
@AliSoftware
Copy link
Contributor Author

AliSoftware commented Aug 6, 2025

CI build with some violations (added on purpose here) looks like this:
image

(Note that the violations are still printed in the CI job logs too; so if someone doesn't know to look at the annotations and for some reason just looked at the job logs instead they'd still see the same info)

@AliSoftware
Copy link
Contributor Author

@RafaelKayumov Dummy changes I made to introduce fake violations have been reverted and both cases have been tested, so the PR is now ready for review 😃

(I should have set the PR to draft while I was experimenting… sorry… 🙃 )

@AliSoftware AliSoftware merged commit 147232e into integrate-periphery Aug 6, 2025
14 checks passed
@AliSoftware AliSoftware deleted the integrate-periphery-fancy branch August 6, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: tooling Anything that involves building & maintaining the project, including scripts, `Fastfile`, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants