Commit Graph

13 Commits

Author SHA1 Message Date
Zeke Foppa 8552048aca CI - Clearer CTA in discord post (#3738)
# Description of Changes

Our automated discord posts have a more explicit call to action for the
PR author.

# API and ABI breaking changes

None

# Expected complexity level and risk

1

# Testing

Did a test post and it looks fine

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-11-24 20:48:55 +00:00
Zeke Foppa 2902441898 CI - No discord ping for skipped checks (#3718)
# Description of Changes

I thought this was covered by the `NEUTRAL` case, but apparently
`SKIPPED` is separate.

# API and ABI breaking changes

None

# Expected complexity level and risk

1

# Testing

We'll see when it merges 🤷

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-11-20 21:11:45 +00:00
Zeke Foppa cb5eb21eae CI - Fix empty lookup (#3693)
# Description of Changes

When the author isn't in the lookup table, we were getting `null`
instead of the empty string. This fixes that.

# API and ABI breaking changes

None. CI only.

# Expected complexity level and risk

1

# Testing

None

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-11-19 00:02:57 +00:00
Zeke Foppa 9d57c4d4ea CI - Ping PR author directly if checks fail (#3671)
# Description of Changes

When a merged PR fails checks, ping the PR author as well.

# API and ABI breaking changes

None. CI only.

# Expected complexity level and risk

2

# Testing

Demo message (not on an actual PR merge):
<img width="508" height="202" alt="image"
src="https://github.com/user-attachments/assets/69c16cf8-cad3-4744-8054-ea2b2d74cee0"
/>

---------

Co-authored-by: John Detter <4099508+jdetter@users.noreply.github.com>
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-11-17 22:39:17 +00:00
Zeke Foppa a5602a3845 Fix noisy Discord notifications on PR merge (#3650)
# Description of Changes

Filter out the discord notification job itself, as well as any neutral
results.

# API and ABI breaking changes

CI only.

# Expected complexity level and risk

1

# Testing

Unsure how to test this without merging the PR

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-11-12 21:18:08 +00:00
Zeke Foppa 6e0a752ceb PR merge discord post includes all non-successful checks (#3594)
# Description of Changes

Now, the "PR merged" discord post will include all non-successful CI.

# API and ABI breaking changes

CI-only.

# Expected complexity level and risk

2

# Testing

Note: I tested this by commenting out / hardcoding some pieces, rather
than by actually merging PRs in some other repo.

Some test posts it generated:
<img width="528" height="266" alt="image"
src="https://github.com/user-attachments/assets/27151c5f-216a-47aa-9f3b-74d991bcbbe7"
/>
<img width="493" height="146" alt="image"
src="https://github.com/user-attachments/assets/677de1d5-8268-400c-be16-b3806382bb51"
/>

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-11-12 18:35:36 +00:00
Zeke Foppa 0f0cb47d03 CI - Move Internal Tests to GitHub (#3436)
# Description of Changes

Move a version of the Jenkins logic into a GitHub workflow. See the
linked issue for more context.

# API and ABI breaking changes

None. CI only.

# Expected complexity level and risk

2

# Testing

- [x] Tests currently passing on this PR
- [x] Tests fail with appropriate error if made to fail, e.g. version
bump
(https://github.com/clockworklabs/SpacetimeDB/actions/runs/18666569784/job/53219039721)
- [x] If the timeout is sharply reduced, we get an appropriate timeout
message
(https://github.com/clockworklabs/SpacetimeDB/actions/runs/18693760959/job/53305759272?pr=3436)

---------

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-10-21 19:33:17 +00:00
Zeke Foppa dac57e4a58 CI - Remove previews on discord posts for merged PRs (#3445)
# Description of Changes

The previews only work for public repos, meaning that the posts end up
looking inconsistent. I don't believe the previews add much information
anyway. _If_ there's information in there that we want, we should add it
to the post itself.

# API and ABI breaking changes

No.

# Expected complexity level and risk

1

# Testing

None. We'll see when it merges!

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-10-21 18:20:47 +00:00
Zeke Foppa 9b98d5ca5b CI - apt install invocations correctly pass -y (#3324)
# Description of Changes

We had places that weren't passing `-y`. I assume these were only
working because they were in environments where the things were already
installed, so there wasn't any confirmation dialog. For some reason, the
arm runner now newly needs to install packages, so CI invocations began
failing.

# API and ABI breaking changes

None. CI only.

# Expected complexity level and risk

1

# Testing

- [x] CI passes
- [ ] the "Test spacetimedb-update" flow passes on arm, which is not
currently true elsewhere.

Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2025-10-01 02:55:15 +00:00
Zeke Foppa 74a0f59331 CI - Discord post will ping a particular role if CI check was not successful (#1715)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-09-19 07:47:17 -05:00
Zeke Foppa 3fcb5056b2 CI - Discord PR merge notification includes status of Internal tests check (#1713)
Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
2024-09-17 02:20:35 +00:00
Zeke Foppa 2b291b025c CI - Post-to-discord workflow only fires if the PR merged to master (#1520)
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-16 17:16:33 +00:00
Zeke Foppa e536a6df0b Automated Discord post when a PR merges (#1470)
Co-authored-by: Zeke Foppa <github.com/bfops>
2024-07-02 02:41:41 +08:00