Skip to content

Plugin: EDA Session Events #168

Description

@bobbyjohnstx

Summary

Bridge tinycode session events to Event-Driven Ansible (EDA). Coding actions in tinycode trigger operational automation via EDA rulebooks.

Plugin Details

  • Red Hat product: Ansible Automation Platform 2.7 — Event-Driven Ansible
  • Plugin hooks: session.start, session.end, tool.execute.after, event
  • Complexity: Medium
  • Priority: 8 (Medium value, novel)

Event mappings

Tinycode Event EDA Trigger Example Automation
shell: docker build tinycode.image.built Trigger RHACS image scan
edit: Dockerfile tinycode.dockerfile.changed Trigger container rebuild + scan
edit: *.yaml in k8s/ tinycode.manifest.changed Run oc apply --dry-run validation
session end (dirty git) tinycode.session.ended.dirty Notify Slack with change summary
shell: git push tinycode.code.pushed Trigger full CI pipeline via Tekton

Configuration

  • edaEndpoint: EDA webhook URL
  • events: array of event types to forward (default: all)
  • sensitivePatterns: regex patterns to strip from payloads

Implementation

  • Sends events to EDA webhook event source endpoint
  • Events include: session ID, project directory, file changed, tool name, sanitized args
  • Ships with example EDA rulebook (tinycode-events-rulebook.yml)

Novel value

No other coding tool bridges developer session activity to operational automation. Closes the gap between "developer changed something" and "the platform reacted."


From: Red Hat Product Integration Plugin Ideas

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions