Skip to content

GH-46669: [CI][Archery] Automate Zulip and email notifications for Extra CI - #47546

Merged
raulcd merged 22 commits into
apache:mainfrom
raulcd:GH-46669
Sep 15, 2025
Merged

raulcd merged 22 commits into
apache:mainfrom
raulcd:GH-46669

Conversation

@raulcd

@raulcd raulcd commented Sep 10, 2025 •

Copy link
Copy Markdown
Member

Rationale for this change

We plan to move more Crossbow CI jobs to the main Arrow repository. We have some reporting tools like the Zulip message notifications, the email report notifications and the nightlies report page: http://crossbow.voltrondata.com/ that we should replicate for the CI.

What changes are included in this PR?

Add GH action that will send the chat and email reports. Also it adds infrastructure to archery to work with Arrow CI.

There's a lot of baggage around crossbow so I've decided to implement a new module for Arrow's ci where we can use the GitHub API and we don't require cloning and a lot of things that were required to work with crossbow. In the future we might be able to get rid of all the related crossbow CLI part.

Are these changes tested?

Via CI

Are there any user-facing changes?

No

@raulcd raulcd left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@kou I plan to ask Infra to add the ARROW_ZULIP_WEBHOOK secret to GitHub.
I have tested this on my fork on several scenarios:

What do you think about the overall approach?
I will add some Python testing but wanted to get someone else thoughts before, asking for the token and continue adding more code

Comment thread .github/workflows/cpp_extra.yml Resolved
Comment thread .github/workflows/cpp_extra.yml Resolved
Comment thread .github/workflows/cpp_extra.yml Resolved
@raulcd

raulcd commented Sep 10, 2025

Copy link
Copy Markdown
Member Author

The job will fail until infra adds the token.
We probably want to also ask Infra to add the equivalent to secrets.CROSSBOW_SMTP_PASSWORD probably ARROW_SMTP_PASSWORD for sending email. @kou you provided the SMTP account (crossbow@commit-email.info)? do you want to use a different email address? can you ask infra to add the token (or share the token with me and I'll ask).

@kou kou 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.

Thanks for working on this!

I've created a new account arrow@commit-email.info because this is not Crossbow.

I'll share the connection information for the new account. It'll be useful for local test. Could you ask INFRA to add ARROW_SMTP_PASSWORD when you ask INFRA to add ARROW_ZULIP_WEBHOOK?

Comment thread .github/workflows/cpp_extra.yml Resolved
Comment thread .github/workflows/cpp_extra.yml Resolved
Comment thread .github/workflows/cpp_extra.yml Resolved
@raulcd

raulcd commented Sep 12, 2025

Copy link
Copy Markdown
Member Author

Both tokens (ARROW_ZULIP_WEBHOOK and ARROW_SMTP_PASSWORD ) have been requested to be added to INFRA:
https://issues.apache.org/jira/projects/INFRA/issues/INFRA-27216

@raulcd raulcd changed the title GH-46669: [CI][Archery] Automate Zulip notifications for Extra CI GH-46669: [CI][Archery] Automate Zulip and email notifications for Extra CI Sep 12, 2025
@raulcd

raulcd commented Sep 12, 2025

Copy link
Copy Markdown
Member Author

Infra confirms the tokens have been added. The job fails because the tokens are not readable on PR so I've added the skip to test with the scheduled job. We will be able to test tokens once merged. I've tested tokens on my PR and locally and I've sent emails + zulip notifications.

@raulcd
raulcd marked this pull request as ready for review September 12, 2025 14:39

@kou kou 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.

+1

Thanks! I've allowed posts from arrow@commit-email.info to builds@arrow.apache.org. Let's try this!

--sender-email 'arrow@commit-email.info' \
--recipient-email 'builds@arrow.apache.org' \
--smtp-user arrow \
--smtp-port 587 \

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.

NOTE: We can also use the default 465 (submissions, submission + SSL) port.

Comment thread .github/workflows/cpp_extra.yml Resolved
Comment thread .github/workflows/cpp_extra.yml Resolved
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit a0fcb50.

There weren't enough matching historic benchmark results to make a call on whether there were regressions.

The full Conbench report has more details.

zanmato1984 pushed a commit to zanmato1984/arrow that referenced this pull request Oct 15, 2025
…for Extra CI (apache#47546)

### Rationale for this change

We plan to move more Crossbow CI jobs to the main Arrow repository. We have some reporting tools like the Zulip message notifications, the email report notifications and the nightlies report page: http://crossbow.voltrondata.com/ that we should replicate for the CI.

### What changes are included in this PR?

Add GH action that will send the chat and email reports. Also it adds infrastructure to archery to work with Arrow CI.

There's a lot of baggage around crossbow so I've decided to implement a new module for Arrow's `ci` where we can use the GitHub API and we don't require cloning and a lot of things that were required to work with crossbow. In the future we might be able to get rid of all the related `crossbow` CLI part.

### Are these changes tested?

Via CI

### Are there any user-facing changes?

No

* GitHub Issue: apache#46669

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
Mottl pushed a commit to Mottl/arrow that referenced this pull request May 26, 2026
…for Extra CI (apache#47546)

### Rationale for this change

We plan to move more Crossbow CI jobs to the main Arrow repository. We have some reporting tools like the Zulip message notifications, the email report notifications and the nightlies report page: http://crossbow.voltrondata.com/ that we should replicate for the CI.

### What changes are included in this PR?

Add GH action that will send the chat and email reports. Also it adds infrastructure to archery to work with Arrow CI.

There's a lot of baggage around crossbow so I've decided to implement a new module for Arrow's `ci` where we can use the GitHub API and we don't require cloning and a lot of things that were required to work with crossbow. In the future we might be able to get rid of all the related `crossbow` CLI part.

### Are these changes tested?

Via CI

### Are there any user-facing changes?

No

* GitHub Issue: apache#46669

Authored-by: Raúl Cumplido <raulcumplido@gmail.com>
Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
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