Skip to content

Clean up scheduler and rest of store on CTRL C - #2

Merged
se3000 merged 3 commits into
masterfrom
features/trap-ctrl-c-gracefully
Dec 11, 2017
Merged

Clean up scheduler and rest of store on CTRL C#2
se3000 merged 3 commits into
masterfrom
features/trap-ctrl-c-gracefully

Conversation

@dimroc

@dimroc dimroc commented Dec 11, 2017

Copy link
Copy Markdown
Contributor

CTRL+C is trapped, resulting in store and scheduler cleanup.

Tracker story: https://www.pivotaltracker.com/story/show/153524353

@dimroc
dimroc requested a review from se3000 December 11, 2017 15:59
@se3000
se3000 force-pushed the features/trap-ctrl-c-gracefully branch from 9015e9e to 173fc45 Compare December 11, 2017 19:52
@se3000
se3000 merged commit ea08792 into master Dec 11, 2017
@se3000
se3000 deleted the features/trap-ctrl-c-gracefully branch January 6, 2018 17:55
jordanbonilla pushed a commit that referenced this pull request Feb 15, 2018
…efully

Clean up scheduler and rest of store on CTRL C
rupurt pushed a commit that referenced this pull request Apr 8, 2019
rupurt pushed a commit that referenced this pull request Jan 22, 2020
…-start-script

Updated package start script
rupurt pushed a commit that referenced this pull request Jan 23, 2020
…-start-script

Updated package start script
rupurt pushed a commit that referenced this pull request Jan 23, 2020
…-start-script

Updated package start script
rupurt pushed a commit that referenced this pull request Jan 29, 2020
…-start-script

Updated package start script
rupurt pushed a commit that referenced this pull request Jan 31, 2020
…-start-script

Updated package start script
rupurt pushed a commit that referenced this pull request Jan 31, 2020
…-start-script

Updated package start script
connorwstein added a commit that referenced this pull request Oct 18, 2021
* V3 listener working with integration test

* Testing offchain sim

* Address misc audit feedback

* Cleanup

* Lints, fix MaliciousConsumer test and add a reserved link test

* Fmt and fix linter after rebasing

* Contract lint

* Little more time for tx fulfillment

* Some comments about gasAfterPaymentCalc

* Address go feedback

* Add tiered fees

* More tiers

* Remove unused event and include fallback linketh price in public config

* Bump timeouts on FM tests and remove redundant app stop

* Fix FM tests, remove unused import

* One more

Co-authored-by: autorebase-bot <92488320+autorebase-bot@users.noreply.github.com>
Co-authored-by: Jordan Krage <jmank88@gmail.com>
tateexon added a commit that referenced this pull request Feb 16, 2023
@sdrug sdrug mentioned this pull request Mar 27, 2023
sdrug added a commit that referenced this pull request May 16, 2023
github-merge-queue Bot pushed a commit that referenced this pull request Sep 8, 2023
* utility for managing group of goroutines

* refactor context to StopChan

* remove limits

* leftovers

* leftovers round #2

* lint
Tofel added a commit that referenced this pull request Dec 21, 2023
github-merge-queue Bot pushed a commit that referenced this pull request Jan 24, 2024
* WIP#1

* WIP#2

* WIP#3

* WIP#4

* WIP#5

* WIP#6

* wIP#7 - overrides and validations for vrfv2

* wIP#8 - overrides and validations for vrfv2lus

* WIP#9 - adjust vrfv2/plus default configs

* fix test config test, add logger to it

* smoke tests should work now

* fix replace, fix workflow

* try to remove newlines from base64

* update ctf version, fix line wrap

* use newer version of ctf, fix log poller and workflow issues

* expand selected networks to array

* fix vrfv2 smoke test, mask baseb4 override

* define base64 override before masking it

* a couple of masks more

* set some content for BASE64_CONFIG_OVERRIDE so that it's masked

* remove masks that break toml config

* experiment with base64 #1

* fix ocr2 smoke test

* fix lints

* baseb4 experiment #2

* base64 experiment #3

* hardcode some image

* exp#5

* fail config test on purpose

* fix lints

* run all smoke tests

* add missing test config to ocr2 test

* add missing loki_url

* remove old config files, set config override for remote runner

* fix compile errors

* fix lint

* make the vrfv2plus name in test matrix unique

* fix loki env config, adjust vrfv2 and vrfv2plus tests and configs

* add TOML-specific overriding of CL image/version in k8s

* fixed automation load test

* couple small fixes to how helm is created

* remove multiple config files, store all config versions in single product-specific toml file

* go.mod

* restore deleted test, fix vrfv2 smoke tests

* fix vrfv2plus config validation

* properly fix vrfv2plus smoke test

* fix loki basic auth passing

* add add-mask again to base64

* remove obsolete configs, use latest ctf, adjust tomls

* try another base64 hiding

* go.sum

* fix loki compile issue

* try base64 env var with _SECRET suffix

* try yet another variable name

* restore old env var name

* another obscuring attempt

* another attempt

* use newer CTF version, check what env vars are forwaded to k8s

* go.sum

* updated to latest ctf

* try on demand autonation test with base64 input

* modify all other test workflows so that they use TOML config

* update reamdes, example envs and some more workflows

* uncomment solana tests

* update to latest ctf

* update to latest ctf

* go.mod

* add MustCopy() method to TestConfig, fix failing vrvf2plus test

* fix duration usages

* fix lints

* added examples of full configs for each product

* use latest ctf

* simplify some examples, correct client compatibility workflow

* go.mod

* copy TOML configs before executing test binary in compatibility job

* use bash not sh to run the script, add missing patterns

* chmod script and run it

* add debug

* print vars before checking their number

* another debug attempt

* try double quotes

* store script and run that

* fix script formatting

* fix correct script 🤦

* fix zip command

* fix upload artifact path

* add some debug

* update tracing readme, use latest ctf

* latest ctf

* lastest ctf

* check what is the config missing

* add missing pyrscope enabled var

* remove debug

* don't notify Adam if eth client compatibility test fail

* latest ctf, faster eth2 chain by default

* latest ctf, slots per epoch = 2

* go.sum

* move convert_to_toml_array() bash function to a file and import it in GHA workflows instead of constantly defining before using

* provide default configs to live testnet tests that use test binary

* pass network config between jobs correctly

* set .root_dir for live testnet job

* try passing

* try with defined output

* define correct output for build-tests job

* fix value name

* debug

* 2x base64

* try with shorter variable

* add network config to dynamic config

* include shared function

* embed toml configs when build tag is present

* test passing shared functions as outputs

* update action version

* remove newline from base64

* newer gha

* fix log poller path, adjust client compatibility test to not copy tomls

* debug

* once more

* do not use shared function

* use correct network toml key for sepolia

* fix dynamic toml

* fix tomls

* fix sepolia endpoint, uncomment slack notifications

* remove outputs shared function from clients compatibility tests

* fix alfajores once and for all

* use newer gha to build tests

* don't fail if there's no embedded config

* remove tests we don't need anymore

* use commit from main version of GHA repository instead of branch commit for build tests action

* simplify config overriding

* fix go.mod

* remove ApplyOverride() and fix compile issue

* fix lint

* try base64 value extraction

* try anothe approach

* yet another attempt

* yet another attempt 2

* fix base64 from input

* one more time with final config

* last test

* make automation-ondemand test more secure, remove debug from on-demand-vrfv2-performance-test.yml

* uncommet test execution in vrfv2 performance workflow

* use private eth networks instead of geth in vrf load tests

* update TOML keys related to Loki and Grafana

* by default use pow, not pos

* go.mod

* latest ctf

* remove references to deleted performance test suite

* don't require Loki config when using remote runner

* latest ctf

* add Load config and figure out overrides

* append loki config to ocr soak test on demand job

* embed test configs and create .root_dir, when building test image

* define an interface for global test config

* move interface to testconfig

* set pyroscope env for cron

* fix check for remote running

* bump CTF

* use interfaces in public methods instead of TestConfig

* small adjustments

* fix test env builder

* fix automation config type cast

* use latest ctf

* add special handling for slice override for Automation

* update examples

* slightly adjust vrfv2 configs, remove default empty values

* move creation of base64 config override env var in smoke tests to a GHA action

* fix compile error

* debug for ocr test, camelcase for base64 action, two new actions to reduce loc

* checkout repo before accessing actions

* remove unnecessary test config instance from ocr test

* mask before using input, more ocr debug

* remove debug, fix reading named configurations from base64 override

* mask input before using merge base64 action

* fix integration tests workflow

* update default.toml, add action for live testnet tests

* download test binary after creating base64 env var

* fix missing log targets

* comment out reporting part

* reuse live testnets specific action

* fix network names

* use dynamic network key

* fix automation tests (#11815)

* fix automation benchmark test action

* update default toml

* try newer run tests action

* another try

* look for .root_dir even deeper

* Update integration-tests/benchmark/keeper_test.go

* Update integration-tests/test.Dockerfile

---------

Co-authored-by: Bartek Tofel <bartek.tofel@smartcontract.com>

* fix chain config for eth2 compatibility tests

* replace in-workflow toml generation for CL version upgrade tests with GH action

* make test timeout configurable in client compatbility tests

* prepare base64 config for log poller matrix tests

---------

Co-authored-by: Ilja Pavlovs <ilja.pavlovs@gmail.com>
Co-authored-by: skudasov <f4hrenh9it@gmail.com>
Co-authored-by: Gheorghe Strimtu <studentcuza@gmail.com>
Co-authored-by: Anirudh Warrier <12178754+anirudhwarrier@users.noreply.github.com>
DeividasK added a commit that referenced this pull request Jun 16, 2024
github-merge-queue Bot pushed a commit that referenced this pull request Jun 17, 2024
* Minor gas saving refactor

* Minor gas saving refactor #2

* Split DON IDs into capabilities and workflow

* Validate that a node can belong to a single Workflow DON

* Update gas snapshot and wrappers

* Align error messages

* Changesets

* NodeInfo => NodeParams

* Add NodeInfo

* Update gas snapshot and wrappers

* Update reader integration test

* Fix Reader test

* Simplify changes

* Comment fix
Tofel added a commit that referenced this pull request Aug 2, 2024
# This is the 1st commit message:

update contract

# This is the commit message #2:

make scripts executable

# This is the commit message #3:

upload base too

# This is the commit message #4:

try again

# This is the commit message #5:

gather changesets, print products out of scope

# This is the commit message #6:

fix product finding

# This is the commit message #7:

try again

# This is the commit message #8:

debug

# This is the commit message #9:

debug 2

# This is the commit message #10:

grab only modified or added changesets

# This is the commit message #11:

try again 1

# This is the commit message #12:

remove early exit

# This is the commit message #13:

place changesets in a subfolder in final artifact

# This is the commit message #14:

validate whether everything was generated
Tofel added a commit that referenced this pull request Aug 2, 2024
# This is the 1st commit message:

fetch whole repo

# This is the commit message #2:

add comment

# This is the commit message #3:

fix paths for validation

# This is the commit message #4:

try with functions

# This is the commit message #5:

fix spelling

# This is the commit message #6:

display failed UML generation once
Tofel added a commit that referenced this pull request Aug 5, 2024
# This is the 1st commit message:

CR changes + test them

# This is the commit message #2:

use shell array
github-merge-queue Bot pushed a commit that referenced this pull request Aug 9, 2024
* More univeral lcov prunning

* update Shared code cov

* exclude deleted files from Slither

* use single source of truth for all Solidity Foundry jobs

* fix json

* compact output with jq

* fix condition for fmt

* try to scope tests to changes

* move matrix check to step level

* fix outputs path

* trigger

* test with Automation change

* try with shared

* run fmt also if any sol files were modified

* fix job name in collect metrics

* trigger pipeline only for localised change + update changes info

* add changeset

* remove test change

* do not run forge fmt if shared contracts have changed

* try artifact pipeline by hijacking hardhat

* # This is a combination of 2 commits.
# This is the 1st commit message:

CR changes + test them

# This is the commit message #2:

use shell array

* CR changes + test them

use shell array

init array

CR changes + test them

use shell array

init array

* remove test files

* do not run Slither for test files

* do not run fmt if test files were modified

* remove unused config file

* restore old Hardhat pipeline

* add missing transmission setup

* fix basic info condition, join 2 steps into 1, define higher-level coverage exclusions

* define actions for installing Slither and solc-select

* run all tests also if package.json changes; run them on all non_src changes

* add action for validating whether all Slither reports and UML diagrams were generated

* fetch origin in validation action

* compare with HEAD in validate action

* compare with origin in validation action

* handle both csv and shell arrays in the validation action

* update artifact pipeline with new actions

* fix workflow after tests

* fix how validation actions works with commits

* treat shared as any other product

* small fixes

* apply CR changes

* remove special handling for deleted files

* remove apt-get update

* use only dorny/paths

* remove unused input

* CR changes: use dorny/paths with quantifier, move scope validation to an action, remove whitespaces

* fix workflow

* fail bash scripts on erors

* add set -euo pipefail to bash scripts

* define action to detect foundry version

* fix select solc version script, better slither report output

* checkout repo

* add id
justinkaseman added a commit that referenced this pull request Sep 12, 2024
Tofel added a commit that referenced this pull request Oct 21, 2024
github-merge-queue Bot pushed a commit that referenced this pull request Jan 14, 2025
* fix(workflows/syncer): truncate workflow name

* chore: changeset patch

* (refactor): Move truncated hashed workflow name into engine. Ensure UTF8 encoding by hex encoding

* (refactor): injectable name transform

* Bump common to commit 42c3764c171e870bfd91443c6ae82a6e76bc6f1f

* Use HashTruncateName in workflow registry syncer handler

* Remove comment line

* go mod tidy

* Changes from review

---------

Co-authored-by: Michael Street <5597260+MStreet3@users.noreply.github.com>
samsondav pushed a commit that referenced this pull request Mar 31, 2025
…6972)

* Make StreamValue from int64 values (#16836)

* Make StreamValue from int64 values

* Demonstrate behaviour in integration tests

* Fix RMN flaky tests (#16748)

* Fix RMN flaky tests

* Change image type for Curse Uncurse tests

* Remove Skip on Curse and Uncurse

* Make RMN tests timeout 30m

* libocr@609ec10a551016e01f8af2e4efaa6a24b0c3601e

---------

Co-authored-by: martin-cll <121895364+martin-cll@users.noreply.github.com>
Co-authored-by: Simon B.Robert <simrob7000@gmail.com>
Co-authored-by: Bruno Moura <brunotm@gmail.com>
sdrug added a commit that referenced this pull request Jun 4, 2025
sdrug added a commit that referenced this pull request Jun 18, 2025
sdrug added a commit that referenced this pull request Jun 23, 2025
chainchad added a commit that referenced this pull request Aug 25, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Aug 25, 2025
…ion (#19098)

* Bump reusable workflow to fix intermittent docker manifest list creation

* Fix input

* Temporarily use unreleased workflow with potential fixes

* Empty commit

* Kick CI #2

* Kick CI #3

* Kick CI #4

* Kick CI #5

* Use latest workflow with fixes
justinkaseman added a commit that referenced this pull request Nov 6, 2025
github-merge-queue Bot pushed a commit that referenced this pull request Nov 7, 2025
* (fix): Propose gateway job FetchNodeChainConfigsFromJD uses product and enivornment filter selectors

* Build all filters one level higher within the operation logic

* Restore missing Target DON name filter

* (test): add propose_gateway_job unit test

* lint

* Lint #2

* Amend test output with changes from develop

* Soothe the linter

* Add fail early if no nodes or chain configs are found

* Attempt removing p2p id filter from system test gateway job proposal

* Changes from review

* Docstring
cyh7789 pushed a commit to cyh7789/chainlink that referenced this pull request Sep 8, 2026
…contractkit#2) (smartcontractkit#23674)

* cre-6391: refactor of ShardID into DonID as being the same (att.smartcontractkit#2)

* cre-6391: tests fix

* cre-6391: linter fix
@cl-sonarqube-production

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants