New: Automatic Test Deployments for TW5 Pull Requests

With help from @linonetwo, we now have Vercel set up to make a preview deployment of every commit to the TiddlyWiki5 repository. This should make it much easier for contributors to check that their PRs are working as expected without having to set up a TW5 build environment on ones own machine.

For example, here are the deployment details for the PR for parameterised transclusion:

https://vercel.com/jermolene/tiddlywiki5/3v8JsEW16yzzGt4mShZ7NBDeGnn7

The preview deployment is linked from a comment in the PR on GitHub:

Note that preview deployments do not occur retrospectively for existing branches/PRs. If you own a PR you’ll need to make a commit to to trigger the creation of a preview build.

3 Likes

Hmm. Even after logging in to Vercel, I get a 404.

Permissions issue perhaps?

Ah, the Vercel bot posts a link in the PR that leads to an accessible URl, in this case:
https://tiddlywiki5-419lockmg-jermolene.vercel.app/

Old PRs will receive this too if a new push happened to them. Let me try one.


This is the admin link about the build process. Only accessible to the owner, we won’t need to see it. So it is ok to be 404.
Deployment Overview

This Visit Preview is the correct link for public.

1 Like

I tested that by updating #6666 from master, and it worked OK.

It’s a minor shame because it might be useful for contributors from a debugging perspective.