Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding additional logging when overflow occurs in calculate_stake_rew… #3783

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Updated code to use expects statements, and test case macros based on…

3c0e51e
Select commit
Loading
Failed to load commit list.
Open

Adding additional logging when overflow occurs in calculate_stake_rew… #3783

Updated code to use expects statements, and test case macros based on…
3c0e51e
Select commit
Loading
Failed to load commit list.
Mergify / Summary succeeded Nov 28, 2024 in 0s

2 rules match and 10 potential rules

✅ Rule: label changes from community (label)

  • author≠@core-contributors
  • author≠@monorepo-maintainers
  • author≠@monorepo-triage
  • author≠@monorepo-write
  • author≠dependabot[bot]
  • author≠github-actions[bot]
  • author≠mergify[bot]

Rule: request review for community changes (request_reviews)

  • #commented-reviews-by=0
  • #approved-reviews-by=0
  • #changes-requested-reviews-by=0
  • #review-requested=0
  • author≠@core-contributors
  • author≠@monorepo-maintainers
  • author≠@monorepo-triage
  • author≠@monorepo-write
  • author≠dependabot[bot]
  • author≠github-actions[bot]
  • author≠mergify[bot]

Rule: automatic merge (squash) on CI success (merge)

  • #approved-reviews-by >= 1 [🛡 GitHub branch protection]
  • branch-protection-review-decision = APPROVED [🛡 GitHub branch protection]
  • all of:
    • label=automerge
    • status-success=buildkite/agave
    • status-success=ci-gate
    • any of:
      • -files~=(\.rs|Cargo\.toml|Cargo\.lock|\.github/scripts/cargo-clippy-before-script\.sh|\.github/workflows/cargo\.yml)$
      • any of:
        • check-success=clippy-nightly (macos-latest)
        • check-success=clippy-nightly (macos-latest-large)
    • any of:
      • -files~=(\.rs|Cargo\.toml|Cargo\.lock|cargo-build-sbf|cargo-test-sbf|ci/downstream-projects/run-spl\.sh|\.github/workflows/downstream-project-spl\.yml)$
      • all of:
        • status-success=cargo-test-sbf (associated-token-account/program, associated-token-account/program-test)
        • status-success=cargo-test-sbf (feature-proposal/program)
        • status-success=cargo-test-sbf (governance/addin-mock/program, governance/program)
        • status-success=cargo-test-sbf (instruction-padding/program, token/program-2022, token/program-2022-test)
        • status-success=cargo-test-sbf (name-service/program)
        • status-success=cargo-test-sbf (single-pool/program)
        • status-success=cargo-test-sbf (stake-pool/program)
        • status-success=cargo-test-sbf (token-upgrade/program)
        • status-success=cargo-test-sbf (token/program)
    • label!=no-automerge
    • any of:
      • -files~=^docs/
      • status-success=build & deploy docs
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • -closed [📌 merge requirement]
  • -conflict [📌 merge requirement]
  • -draft [📌 merge requirement]
  • any of: [📌 merge -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = Configuration changed

Rule: remove automerge label on CI failure (comment, label)

  • all of:
    • #status-failure!=0
    • label=automerge
    • -merged

Rule: v2.0 feature-gate backport (backport)

  • label=feature-gate
  • label=v2.0
  • merged [📌 backport requirement]

Rule: v2.0 non-feature-gate backport (backport)

  • label=v2.0
  • merged [📌 backport requirement]
  • label!=feature-gate

Rule: v2.0 backport warning comment (comment)

  • label=v2.0

Rule: v2.1 feature-gate backport (backport)

  • label=feature-gate
  • label=v2.1
  • merged [📌 backport requirement]

Rule: v2.1 non-feature-gate backport (backport)

  • label=v2.1
  • merged [📌 backport requirement]
  • label!=feature-gate

Rule: v2.1 backport warning comment (comment)

  • label=v2.1

Rule: Reminder to update RPC clients for changes in rpc/ (comment)

  • any of:
    • files~=^rpc-client-api/src/.*\.rs$
    • files~=^rpc/src/rpc\.rs$
    • files~=^rpc/src/rpc_pubsub\.rs$

✅ Rule: Reminder to add Firedancer team to changes in programs/ and sdk/ (comment)

  • any of:
    • files~=^programs/stake/src/.*\.rs$
    • files~=^programs/address-lookup-table/src/.*\.rs$
    • files~=^programs/bpf_loader/src/.*\.rs$
    • files~=^programs/compute_budget/src/.*\.rs$
    • files~=^programs/config/src/.*\.rs$
    • files~=^programs/loader-v4/src/.*\.rs$
    • files~=^programs/system/src/.*\.rs$
    • files~=^programs/vote/src/.*\.rs$
    • files~=^programs/zk-elgamal-proof/src/.*\.rs$
    • files~=^sdk/program/src/stake.*\.rs$
    • files~=^sdk/program/src/vote/.*\.rs$

1 not applicable rule

Rule: label changes from monorepo-triage (label)

  • author=@monorepo-triage
  • author≠@core-contributors
  • author≠@monorepo-maintainers
  • author≠@monorepo-write
  • author≠dependabot[bot]
  • author≠github-actions[bot]
  • author≠mergify[bot]
Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com