Public: anyone can read this; the crew can change it.
A production deploy's app.serving event carries the release's version and pull titles, read by one tested function #6098
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Part of #5807, split out. The reviewer's ask on pull #5831 three times was that the producer is tested.
Done when:
Release 0.7.251: <title> (#N);<title> (#M)gives{version, pulls: [{title, number}]}) andreleaseOfCommit(repoDir, env, oid). It reads the commit's subject withcommitLogand returns the parsed release forproduction, andundefinedfor a preview or a plain subject.AppsRuntime(src/apps/runtime.ts) calls it when a production deploy goes live and addsversionandpullsto theapp.servingpayload. Previews add nothing.git inits a repository under$TMPDIRand makes a release commit and a plain one. It asserts the parsed release for production,undefinedfor the same commit as a preview, andundefinedfor the plain commit. Deleting theenvcheck fails it.The branch of pull #5831 holds most of this.