question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add mechanism to communicate back to Bitballoon from Build Plugins

See original GitHub issue

We need a way to communicate back to bitballoon from build plugins.

If an error occurs, it would be great if we can surface those issues to users like described in https://github.com/netlify/build/issues/711#issuecomment-575853008

Additionally plugin outputs & other data would likely need to pipe back into the deploy UI of app.netlify.com to enhance the experience. You an imagine this structured information being shown on the deploy summary for example:

image


So we need some sort of mechanism to pass back errors / stack traces when build fail.

Additionally we need a mechanism that will allow plugins to communicate back and display additional information (in deploy summary or elsewhere depending on where design lands)

Perhaps something like:

function netlifyPlugin(config) {
  return {
    name: 'my-plugin-one',
    onInit: async (pluginApi) => {
      pluginApi.utils.report({
        message: 'Thing XYZ happened'
      })
    },
  }
}

However it materializes, we should keep in mind how this can & should evolve.

Related https://github.com/netlify/build/issues/161

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
erquhartcommented, Mar 30, 2020

Nice!! If the utilities work is complete, we can close this and use #711 to drive requirements for surfacing errors in the UI.

0reactions
ehmickycommented, Mar 26, 2020

The utils.build is now complete. We currently have two pending items on the UI / front-end side:

  • The error type (e.g. “Canceled”) should be shown in the UI instead of “Failed” (see this comment)
  • The error information should be added to the Deploy summary in the UI (see this comment)
Read more comments on GitHub >

github_iconTop Results From Across the Web

Communication between two plugins in C# - Stack Overflow
One fairly simple way would be with a system wide synchronization event. Both plugins would each create a EventWaitHandle with the same name....
Read more >
Communication Mechanisms - Ionic Portals
Communicating through a Portal from web to native, or vice versa, creates immersive experiences that blurs the boundary between where native ends and...
Read more >
Travis CI Tutorial
This is a very short guide to using Travis CI with your cloud platform hosted code repository. If you're new to continuous integration...
Read more >
How Servlet Filter Plugin Module communicate with JIRA ...
Hi,. I am confused about communcation mechanism between JIAR software(Not Cloud) and Plugin Module. For example: I intend to utilize Servlet Filter Plugin...
Read more >
Detailed description of MDSip plugins - MdsWiki - MDSplus
Using this same mechanism we hope to add other protocol options using other communication tools which provide functionality such as secure authentication and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found