Skip to content
  1. Sep 22, 2020
  2. Sep 18, 2020
    • Benjamin Kampmann's avatar
      Tracing for wasm with bridging to native (#6916) · 83284b9f
      Benjamin Kampmann authored
      * implement events handling, implement parent_id for spans & events
      
      * add events to sp_io::storage
      
      * update test
      
      * add tests
      
      * adjust limit
      
      * let tracing crate handle parent_ids
      
      * re-enable current-id tracking
      
      * add test for threads with CurrentSpan
      
      * fix log level
      
      * remove redundant check for non wasm traces
      
      * remove duplicate definition in test
      
      * Adding conditional events API
      
      * prefer explicit parent_id over current,
      
      enhance test
      
      * limit changes to client::tracing event implementation
      
      * remove From impl due to fallback required on parent_id
      
      * make tracing codecable
      
      * replace with global tracing
      
      * new tracing interface
      
      * impl TracingSubscriber in client
      
      * implement access to global TracingSubscriber from primitives
      
      * span for wasm
      
      * increment towards Wasm Tracing Subscriber implementation
      
      * increment, remove sp-tracing from runtime-interface
      
      * increment, it compiles
      
      * attained original functionality with new mechanism
      
      * implement remaining TracingSubscriber functions
      
      * remove spans from decl_module
      
      * add handling for encoded values
      
      * Revert "replace with global tracing"
      
      This reverts commit 8824a60d
      
      .
      
      * Wasm Side Tracing
      
      * tracing on wasm
      
      * enable tracing wasm on node-runtime
      
      * export all the macros in std
      
      * tracing subscriber on wasm-side only
      
      * pass spans and events over and record them
      
      * reactivate previous code and  cleanup
      
      * further cleaning up
      
      * extend the span macros, activate through executive
      
      * tracking the actual extrinsic, too
      
      * style
      
      * fixing tests
      
      * spaces -> tabs
      
      * attempting to reactivate params
      
      * activate our tests in CI
      
      * some passing
      
      * tests passing
      
      * with core lazy
      
      * global tracer for wasm side with pass over
      
      * fixing metadata referencing
      
      * remove const_fn feature requirement
      
      * reenable dispatch traces
      
      * reset client tracing
      
      * further cleaning up
      
      * fixing runtime-test
      
      * move tracing-build setup into runtime-test
      
      * Merge DebugWriter from tracing and frame-support, move to sp-std
      
      * remove dangling fixme
      
      * Docs for tracing primitives
      
      * cleaning up a bit more
      
      * Wasm interface docs
      
      * optimise docs.rs setup
      
      * adding tracing flags to uncomment
      
      * remove brace
      
      * fixing imports
      
      * fixing broken syntax
      
      * add required modules
      
      * nicer formatting
      
      * better target management
      
      * adding low level storage tracing events into frame
      
      * add custom Debug impl for WasmMetadata
      
      * cloning profiler
      
      * adding info about cloning profiler
      
      * using in-scope for within calls
      
      * proper time tracing, cleaning up println
      
      * allow to disable tracing on runtime_interface-macro
      
      * disable tracing for wasm-tracing-interface
      
      * simplify wasm-tracing-api
      
      * update client to new interface
      
      * fixing docs and tests for sp-tracing
      
      * update integration tests
      
      * re-activating enter_span
      
      * dropping FIXME, it's documented
      
      * fix formatting
      
      * fix formatting
      
      * fix imports
      
      * more debug info
      
      * inform wasm about it being disabled by returning 1
      
      * only one tracer, but enabled multi-all support
      
      * make trait pub again for tests
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      
      * fixing wasm doc tests for proper usage
      
      * remove unnecessary import
      
      * fixing formatting
      
      * minor style fixes
      
      * downgrading wabt
      
      * update error message for UI
      
      * Fix interface test
      
      * next attempt to fix macros
      
      * geee
      
      * revert tracing on hashed for future PR
      
      * remove local macros, use originals
      
      * we are able to convert to static items
      
      * implement more WasmValue types
      
      * adding support to convert str, debug and encoded values
      
      * more minor fixes
      
      * revert unsafe 'static making
      
      * fix indentation
      
      * remove commented lines
      
      * bump all them tracing versions
      
      * cleaning up docs and info
      
      * document new flag
      
      * the new layered system handles span cloning better
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarDavid <[email protected]>
      
      Co-authored-by: default avatarMatt Rutherford <[email protected]>
      Co-authored-by: default avatarNiklas Adolfsson <[email protected]>
      Co-authored-by: default avatarDavid <[email protected]>
      83284b9f
  3. Sep 11, 2020
  4. Sep 01, 2020
  5. Aug 12, 2020
    • Cecile Tonglet's avatar
      Add async test helper to timeout and provide a task_executor automatically (#6651) · c495f89c
      Cecile Tonglet authored
      * Initial commit
      
      Forked at: 60e3a693
      Parent branch: origin/master
      
      * Add async test helper to timeout and provide a task_executor automatically
      
      * simplify error message to avoid difference between CI and locally
      
      * forgot env var
      
      * Use runtime env var instead of build env var
      
      * Rename variable to SUBSTRATE_TEST_TIMEOUT
      
      * CLEANUP
      
      Forked at: 60e3a693
      
      
      Parent branch: origin/master
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Re-export from test-utils
      
      * Default value to 120
      
      * fix wrong crate in ci
      
      * Revert "Default value to 120"
      
      This reverts commit 8e458717.
      
      * Fix version
      
      * WIP
      
      Forked at: 60e3a693
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 60e3a693
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 60e3a693
      Parent branch: origin/master
      
      * remove feature flag
      
      * fix missing dependency
      
      * CLEANUP
      
      Forked at: 60e3a693
      
      
      Parent branch: origin/master
      
      * fix test
      
      * Removed autotests=false
      
      * Some doc...
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * WIP
      
      Forked at: 60e3a693
      Parent branch: origin/master
      
      * WIP
      
      Forked at: 60e3a693
      
      
      Parent branch: origin/master
      
      * Update test-utils/src/lib.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      c495f89c
  6. Jul 24, 2020
  7. Jul 23, 2020
    • HarryHong's avatar
      [CI]Chaostest suite initiation (#5793) · ae579a84
      HarryHong authored
      
      
      * Initiate chaostest cli test suite: singlenodeheight on one dev node
          Added chaostest stages in CI
          Added new docker/k8s resources and environments to CI
          Added new chaos-only tag to gitlab-ci.yml
      
      * Update .maintain/chaostest/src/commands/singlenodeheight/index.js
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      
      * change nameSpace to namespace(one word)
      
      * update chaos ci job to match template
      
      * rename build-pr ci stage to docker [chaos:basic]
      
      * test gitlab-ci [chaos:basic]
      
      * Update .gitlab-ci.yml
      
      * add new build-chaos-only condition
      
      * add *default-vars to singlenodeheight [chaos:basic]
      
      * change build-only to build-rules on substrate jobs [chaos:basic]
      
      * test and change when:on_success to when:always [chaos:basic]
      
      * resolve conflicts and test [chaos:basic]
      
      Co-authored-by: default avatarMax Inden <[email protected]>
      Co-authored-by: default avatarDenis Pisarev <[email protected]>
      ae579a84
  8. Jul 21, 2020
    • Denis_P's avatar
      "cargo test" jobs optimization (#6606) · aa36bf28
      Denis_P authored
      * change (ci): 3 jobs in 1 decreases concurrency and is more effectiv; w/o release it's ~20% faster, but needs testing on prod; wasmtest tests are already running within cargo test --workspace
      
      * fix (test): these ones were failing on nightly
      
      * save: cargo profiles [skip ci]
      
      * change (ci): one test to run them all
      
      * change (ci): rebase
      
      * Revert "change (ci): rebase"
      
      This reverts commit 8a6b7ea0.
      
      * fix (config): fix manifest
      
      * change (ci): bench release
      aa36bf28
  9. Jul 16, 2020
  10. Jul 14, 2020
  11. Jul 01, 2020
  12. Jun 19, 2020
  13. Jun 16, 2020
    • Max Inden's avatar
      .gitlab-ci.yml: Run promtool on Prometheus alerting rules (#6344) · 74efab40
      Max Inden authored
      * .gitlab-ci.yml: Run promtool on Prometheus alerting rules
      
      Add a CI stage to test the Prometheus alerting rules within
      `.maintain/monitoring`.
      
      * .gitlab-ci.yml: Switch Prometheus stage to paritytech/tools image
      
      * .gitlab-ci.yml: Follow http redirects in Prometheus stage
      
      * .gitlab-ci.yml: Fix Prometheus stage promtool folder name
      74efab40
    • s3krit's avatar
      [CI] Add label enforcement (#6365) · 54d1c5c8
      s3krit authored
      * Add label enforcement
      
      * fix .gitlab-ci.yml
      
      * update check_labels.sh
      54d1c5c8
  14. Jun 10, 2020
    • Denis_P's avatar
      New CI image (#6223) · 69034ef2
      Denis_P authored
      
      
      * fix (ci): hotfix Docker release
      
      * change (ci): moving to the tested CI image with a proper name
      
      * change (ci): rename substrate-ci-linux
      
      * Reduce the lots_of_incoming_peers_works test load (#6314)
      
      * change (ci): moving to the tested CI image with a proper name
      
      * change (ci): rename substrate-ci-linux
      
      * Reduce the lots_of_incoming_peers_works test load (#6314)
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      Co-authored-by: default avatarPierre Krieger <[email protected]>
      69034ef2
  15. Jun 02, 2020
    • Denis_P's avatar
      refactor CI (#6176) · 38337226
      Denis_P authored
      * fix (ci): hotfix Docker release
      
      * test (ci): run full ci  [skip ci]
      
      * change (ci): check stage; add default variables because they were overriden; test-dep-rules goes k8s
      
      * change (ci): move companion job to another stage
      
      * change (ci): no good way to avoid artifacts downloads without dependencies
      
      * fix (ci): typo
      
      * change (ci): all CI images were moved to paritytech registry
      
      * fix (ci): return to the prev image, new needs more testing
      38337226
  16. May 23, 2020
  17. May 18, 2020
  18. May 14, 2020
  19. May 11, 2020
  20. May 05, 2020
  21. Apr 29, 2020
  22. Apr 28, 2020
    • s3krit's avatar
      [CI] Add check for draft PRs (#5800) · e2dcddd2
      s3krit authored
      
      
      * Add check for draft PRs
      
      * Add necessary gitlab-ci boilerplate
      
      * fix github API url (oops!)
      
      * Add github action to retrigger pipeline
      
      * fix workflow trigger
      
      * rename trigger job
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      e2dcddd2
    • Web3 Philosopher's avatar
      Move sc-client into sc-service (#5502) · fc6d55c9
      Web3 Philosopher authored
      * Drop client from sc-network and sc-client-db, move LongestChain to sc-client-api
      
      * move leaves, cht, in_mem to sc-client-api, drop client from sc-finality-grandpa
      
      * drop sc-service from sc-rpc
      
      * drop sc-service from sc-consensus-aura
      
      * drop sc-client from manual-seal and babe
      
      * drop sc-client from utils/frame/rpc/system and utils/frame/benchmarking-cli
      
      * drop sc-client from bin/node and bin/node-template
      
      * drop sc-client
      
      * fix tests
      
      * remove check -p sc-client from gitlab.yml
      
      * fix warnings
      
      * fixes ui test
      
      * fix light client tests
      
      * adds associated Client type to AbstractService
      
      * adds UsageProvider to Client
      
      * fixed ui test, again
      
      * tried and failed to get node-cli to compile for wasm
      
      * thanks to tomaka for helping me get node-cli to compile for wasmm
      
      * ui test pls pas 🙏🏾
      
      
      
      * all tests passing 🪄
      
      * no_run documentation code
      
      * rm -f documentation code
      
      * ClientProvider
      
      * fix mega trait
      
      * move LongestChain to sc-consensus, use adds minimal bounds to AbstractService::Client
      
      * adds license to sc-consensus
      
      Co-authored-by: default avatarBenjamin Kampmann <[email protected]>
      fc6d55c9
  23. Apr 24, 2020
  24. Apr 20, 2020
  25. Apr 17, 2020
  26. Apr 15, 2020
  27. Apr 07, 2020
    • Shawn Tabrizi's avatar
      Generate Unit Tests for Benchmarks (#5527) · 545aa615
      Shawn Tabrizi authored
      * Update to latest staking
      
      * generate tests for benchmarking
      
      * add tests, fix warnings
      
      * starting on democracy
      
      * impl_benchmark_tests
      
      * Way more readable
      
      * add test feature flag (does this work?)
      
      * Fix `successful_origin` impl
      
      * democracry benchmark tests
      
      * Fix example benchmarks, add tests
      
      * identity benchmark tests
      
      * Update im-online benchmark tests
      
      * try to add session benchmarking tests (problem with mock)
      
      * staking and timestamp
      
      * add test for treasury, issue with dynamic contains
      
      * utility
      
      * Vesting
      
      * test instead of check
      
      * hide until we figure out what is wrong
      
      * add docs
      
      * close code
      
      * Create custom mock for session-pallet-benchmarking
      
      * Use refcell pattern
      
      * make un-pub
      
      * test-linux-stable includes `runtime-benchmarks` feature
      
      * Revert "test-linux-stable includes `runtime-benchmarks` feature"
      
      This reverts commit a2dab38a.
      
      * run tests in `--release`
      
      * undo balance change
      
      * build wasm
      545aa615
    • Denis_P's avatar
      change (ci): merge check warnings into test linux job (#5546) · 8d985b06
      Denis_P authored
      * change (ci): merge check warnings into test linux job
      
      * change (ci): newline doesn't make sense here
      8d985b06
  28. Apr 06, 2020
  29. Apr 03, 2020