Skip to content

State change resources - on_change step hook #8686

Closed as not planned
Closed as not planned

Description

@kallisti5

Summary

Notification spam is annoying. As of today, there is no way to track state changes between execution of jobs in plugins (as plugins spawn in a fresh environment on every execution).

To work around this, at minimum a "on_change" step hook would allow concourse to only execute notifications (via put) on state change notifications.

Example:

  • Success build
  • Success build
  • Failed build
    • on_change fires
  • Failed build
  • Failed build
  • Success build
    • on_change fires
  • Success build

Context

  • RFC: concourse/rfcs# It was mentioned in an RFC a few years ago when the on_success, on_failure stuff was added, I can't find the exact number

Activity

  1. changed the title [-]State change resources - on_change[/-] [+]State change resources - on_change step hook[/+] on Feb 14, 2023
  2. taylorsilva commented on Jan 7, 2025

    @taylorsilva
    Member

    Issue Bankruptcy

    This issue is being closed as part of 2025's Issue Bankruptcy declaration. See here for details

    If you think this issue still has merit then feel free to open a new issue and reference this one.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions