Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81747,6 +81747,20 @@ async function run() {

core.info(`Upload complete! Upload ID: ${result.uploadId}`)

// The upload succeeded at S3, but ingestion into the BuildPulse
// dashboard depends on the BuildPulse GitHub App being installed on
// this repository — without it the processing Lambda silently drops
// the upload. Surface that as a notice so customers who follow the
// setup page literally and end up with an empty dashboard have an
// in-CI breadcrumb instead of having to dig through CloudWatch.
core.notice(
`BuildPulse received this upload. Test results normally appear in the dashboard within a few minutes. ` +
`If you don't see data after ~10 minutes, the most common cause is that the BuildPulse GitHub App ` +
`is not installed on this repository — without it uploads are silently dropped during ingestion. ` +
`Install/grant access at https://github.com/apps/buildpulse and re-run the workflow.`,
{ title: 'BuildPulse upload accepted' }
)

// Set outputs
core.setOutput('upload-id', result.uploadId)
core.setOutput('account-id', result.accountId)
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,20 @@ async function run() {

core.info(`Upload complete! Upload ID: ${result.uploadId}`)

// The upload succeeded at S3, but ingestion into the BuildPulse
// dashboard depends on the BuildPulse GitHub App being installed on
// this repository — without it the processing Lambda silently drops
// the upload. Surface that as a notice so customers who follow the
// setup page literally and end up with an empty dashboard have an
// in-CI breadcrumb instead of having to dig through CloudWatch.
core.notice(
`BuildPulse received this upload. Test results normally appear in the dashboard within a few minutes. ` +
`If you don't see data after ~10 minutes, the most common cause is that the BuildPulse GitHub App ` +
`is not installed on this repository — without it uploads are silently dropped during ingestion. ` +
`Install/grant access at https://github.com/apps/buildpulse and re-run the workflow.`,
{ title: 'BuildPulse upload accepted' }
)

// Set outputs
core.setOutput('upload-id', result.uploadId)
core.setOutput('account-id', result.accountId)
Expand Down
Loading