profile
viewpoint

PR opened ipfs/go-ipfs

Load plugins on darwin/macOS
+1 -0

0 comment

1 changed file

pr created time in 15 days

create barnchfd/go-ipfs

branch : fix/plugins/enable-darwin

created branch time in 15 days

PR opened ipfs/go-ipfs

Close started plugins when one of them fails to start.

See: https://github.com/ipfs/go-ipfs/pull/5955#discussion_r292395838

+1 -1

0 comment

1 changed file

pr created time in 15 days

create barnchfd/go-ipfs

branch : fix/dameon/close-started-plugins

created branch time in 15 days

fork fd/go-ipfs

IPFS implementation in Go

https://ipfs.io

fork in 15 days

Pull request review commentipfs/go-ipfs

plugin: add a daemon plugin with access to the CoreAPI

 func (loader *PluginLoader) Initialize() error { 	return nil } -//Run the plugins-func (loader *PluginLoader) Run() error {+// Inject hooks all the plugins into the appropriate subsystems.+func (loader *PluginLoader) Inject() error { 	for _, pl := range loader.plugins {-		switch pl := pl.(type) {-		case plugin.PluginIPLD:-			err := runIPLDPlugin(pl)+		if pl, ok := pl.(plugin.PluginIPLD); ok {+			err := injectIPLDPlugin(pl)+			if err != nil {+				return err+			}+		}+		if pl, ok := pl.(plugin.PluginTracer); ok {+			err := injectTracerPlugin(pl) 			if err != nil { 				return err 			}-		case plugin.PluginTracer:-			err := runTracerPlugin(pl)+		}+		if pl, ok := pl.(plugin.PluginDatastore); ok {+			err := injectDatastorePlugin(pl) 			if err != nil { 				return err 			}-		case plugin.PluginDatastore:-			err := fsrepo.AddDatastoreConfigHandler(pl.DatastoreTypeName(), pl.DatastoreConfigParser())+		}+	}+	return nil+}++// Start starts all long-running plugins.+func (loader *PluginLoader) Start(iface coreiface.CoreAPI) error {+	for i, pl := range loader.plugins {+		if pl, ok := pl.(plugin.PluginDaemon); ok {+			err := pl.Start(iface) 			if err != nil {+				closePlugins(loader.plugins[i:])

I'll send a PR.

Stebalien

comment created time in 15 days

CommitCommentEvent

Pull request review commentipfs/go-ipfs

plugin: add a daemon plugin with access to the CoreAPI

 func (loader *PluginLoader) Initialize() error { 	return nil } -//Run the plugins-func (loader *PluginLoader) Run() error {+// Inject hooks all the plugins into the appropriate subsystems.+func (loader *PluginLoader) Inject() error { 	for _, pl := range loader.plugins {-		switch pl := pl.(type) {-		case plugin.PluginIPLD:-			err := runIPLDPlugin(pl)+		if pl, ok := pl.(plugin.PluginIPLD); ok {+			err := injectIPLDPlugin(pl)+			if err != nil {+				return err+			}+		}+		if pl, ok := pl.(plugin.PluginTracer); ok {+			err := injectTracerPlugin(pl) 			if err != nil { 				return err 			}-		case plugin.PluginTracer:-			err := runTracerPlugin(pl)+		}+		if pl, ok := pl.(plugin.PluginDatastore); ok {+			err := injectDatastorePlugin(pl) 			if err != nil { 				return err 			}-		case plugin.PluginDatastore:-			err := fsrepo.AddDatastoreConfigHandler(pl.DatastoreTypeName(), pl.DatastoreConfigParser())+		}+	}+	return nil+}++// Start starts all long-running plugins.+func (loader *PluginLoader) Start(iface coreiface.CoreAPI) error {+	for i, pl := range loader.plugins {+		if pl, ok := pl.(plugin.PluginDaemon); ok {+			err := pl.Start(iface) 			if err != nil {+				closePlugins(loader.plugins[i:])

I believe this is a bug. It should read loader.plugins[:i] as all plugins before i have been started not those after i.

Stebalien

comment created time in 16 days

delete branch fd/go-nat

delete branch : dependabot/go_modules/golang.org/x/text-0.3.2

delete time in 24 days

push eventfd/go-nat

dependabot-preview[bot]

commit sha 2ea09e24b89a2879a5baecce307f808184ba4b1b

Bump golang.org/x/text from 0.3.0 to 0.3.2 (#13) Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.0 to 0.3.2. - [Release notes](https://github.com/golang/text/releases) - [Commits](https://github.com/golang/text/compare/v0.3.0...v0.3.2) Signed-off-by: dependabot[bot] <support@dependabot.com>

view details

push time in 24 days

PR merged fd/go-nat

Bump golang.org/x/text from 0.3.0 to 0.3.2 dependencies

Bumps golang.org/x/text from 0.3.0 to 0.3.2. <details> <summary>Commits</summary>

  • 342b2e1 all: upgrade to Unicode 11
  • b1379a7 gen.go: update due to changes to core
  • c942b20 cases: fix case mappings to allow for Gregorian uppercase
  • 009a891 cases: add bit for exception index
  • c40a8cc internal/export/unicode: add scripts tests
  • e46505f internal/export/unicode: simplified generation
  • f4905fb transform, unicode/cldr: spell "Deprecated: Use etc" consistently
  • 31e7599 currency: disable flaky TestLinking
  • e3703dc internal/export/idna: hoist conformance test
  • fe223c5 gen: prepare for move to Unicode 11
  • Additional commits viewable in compare view </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>

+1 -1

0 comment

1 changed file

dependabot-preview[bot]

pr closed time in 24 days

delete branch mrhenry/core-web

delete branch : dependabot/npm_and_yarn/fstream-1.0.12

delete time in a month

push eventmrhenry/core-web

dependabot[bot]

commit sha d4e9b88bd46e955da79fc994ec4b87658513d375

Bump fstream from 1.0.11 to 1.0.12 (#9) Bumps [fstream](https://github.com/npm/fstream) from 1.0.11 to 1.0.12. - [Release notes](https://github.com/npm/fstream/releases) - [Commits](https://github.com/npm/fstream/compare/v1.0.11...v1.0.12)

view details

push time in a month

PR merged mrhenry/core-web

Bump fstream from 1.0.11 to 1.0.12 dependencies

Bumps fstream from 1.0.11 to 1.0.12. <details> <summary>Commits</summary>

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

</details>

+16 -4

0 comment

1 changed file

dependabot[bot]

pr closed time in a month

startedrustwasm/walrus

started time in a month

startedkubernetes-sigs/kubebuilder-declarative-pattern

started time in 2 months

startedlni/dragonboat

started time in 2 months

startedlni/dragonboat-example

started time in 2 months

issue openedwasmerio/wasmer

Is forceful termination possible

Summary

Is there a way to forcefully terminate a running wasm function call.

Additional details

Currently when a module with an infinite loop is run there seems to be no way to interrupt the function call. What would be the best way to guard against this kind of code? Would it make sense to preprocess the wasm module and inject a maybe_halt function call?

(module
  (func $run 
    (loop
      (br 0)
    ))
  (export "run" (func $run))
)

created time in 3 months

startedticky/trans

started time in 3 months

startedchronoxor/FastBinaryEncoding

started time in 3 months

startedfastly/lucet

started time in 3 months

startedcloudflare/boringtun

started time in 3 months

startedcloudflare/boringtun

started time in 3 months

more