apache / apache/arrow

[Release] 07-flightsqlodbc-upload.sh PHASE_BUILD_MSI doesn't correctly watch workflow run

Open
#50,363 2 comments 0 reactions 1 assignee Claimed by @amoeba View on GitHub
Component: Release Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 13h
Merged PRs (30d)
88

Description

### Describe the bug, including details regarding any error messages, version, and platform.

It looks like the watching logic in the `PHASE_BUILD_MSI` doesn't quite work like we thought.

I ran the previous step successfully,

```
$ PHASE_DEFAULT=0 PHASE_SIGN_DLL=1 dev/release/07-flightsqlodbc-upload.sh 25.0.0 1
[1/8] Downloading arrow_flight_sql_odbc_unsigned.dll from release...
[2/8] Signing arrow_flight_sql_odbc_unsigned.dll...
NOTE: Running jsign. You may be prompted for your OTP PIN...
Adding Authenticode signature to /Users/bryce/src/apache/arrow/dev/release/tmp/arrow_flight_sql_odbc_unsigned.dll
[3/8] Uploading signed DLL to GitHub Release...
Successfully uploaded 1 asset to apache-arrow-25.0.0-rc1
```

Then ran the `PHASE_BUILD_MSI` step but it didn't wait for the workflow and instead reporting "...has complete already...":

```
$ PHASE_DEFAULT=0 PHASE_BUILD_MSI=1 dev/release/07-flightsqlodbc-upload.sh 25.0.0 1
[4/8] Triggering odbc_release_step in package_odbc.yml workflow...
✓ Created workflow_dispatch event for package_odbc.yml at apache-arrow-25.0.0-rc1
https://github.com/apache/arrow/actions/runs/28679576610

To see the created workflow run, try: gh run view 28679576610
To see runs for this workflow, try: gh run list --workflow="package_odbc.yml"
[5/8] Waiting for workflow to complete. This can take a very long time...
Looking for GitHub Actions workflow on apache/arrow:apache-arrow-25.0.0-rc1
Waiting for run to start...
Found GitHub Actions workflow with ID: 28646443202
Run Package Apache Arrow Flight SQL ODBC Driver (28646443202) has already completed with 'success'
```

The workflow run is still in progress:

```
$ gh run view 28679576610

* apache-arrow-25.0.0-rc1 Package Apache Arrow Flight SQL ODBC Driver · 28679576610
Triggered via workflow_dispatch less than a minute ago

JOBS
* ODBC Windows Build & Upload Unsigned MSI (ID 85060122105)
- ODBC Windows Upload Unsigned DLL in 0s (ID 85060122620)
- Upload Unsigned ODBC DLL to Release in 0s (ID 85060122628)

For more information about a job, try: gh run view --job=
View this run on GitHub: https://github.com/apache/arrow/actions/runs/28679576610
```

### Component(s)

Release

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.