Skip to content

feat: incoming PDUs processing#12

Merged
ricardogarim merged 2 commits intomainfrom
feat/event-processing-pipeline
May 13, 2025
Merged

feat: incoming PDUs processing#12
ricardogarim merged 2 commits intomainfrom
feat/event-processing-pipeline

Conversation

@ricardogarim
Copy link
Member

@ricardogarim ricardogarim commented Apr 7, 2025

graph TD
    Start(Matrix Event) --> Pipeline(Main Sequential Pipeline)
    
    Pipeline --> A(Canonicalize Event)
    A --> B(Parallel Pipeline)
    B --> C(Auth Sequential Pipeline)
    
    B --- B1(Hash Validation)
    B --- B2(Signature Validation)
    
    C --- C1(Fetch Auth Events)
    C1 --> C2(Validate Auth Chain)
    C2 --> C3(Validate Room Rules)
    
    C3 --> Result(Valid Result)
    
    Fail(Invalid Result)
    A -.-> Fail
    B1 -.-> Fail
    B2 -.-> Fail
    C1 -.-> Fail
    C2 -.-> Fail
    C3 -.-> Fail
    
    classDef pipeline fill:#606060,stroke:#c0c0c0,stroke-width:2px,color:#ffffff
    classDef success fill:#2e7d32,stroke:#4caf50,stroke-width:2px,color:#ffffff
    classDef failure fill:#c62828,stroke:#ef5350,stroke-width:2px,color:#ffffff
    classDef step fill:none,stroke:#c0c0c0,stroke-width:1px
    
    class Pipeline,B,C pipeline
    class Result success
    class Fail failure
    class A,B1,B2,C1,C2,C3 step
Loading

@ricardogarim ricardogarim force-pushed the feat/event-processing-pipeline branch from 9493d31 to 9960748 Compare April 9, 2025 11:48
@debdutdeb
Copy link
Member

@ricardogarim ricardogarim changed the title feat: events processing pipeline + conflict handling feat: incoming PDUs processing May 9, 2025
@ricardogarim ricardogarim force-pushed the feat/event-processing-pipeline branch from fc49fcf to e81fb36 Compare May 9, 2025 11:58
@ricardogarim ricardogarim marked this pull request as ready for review May 9, 2025 11:58
@ricardogarim ricardogarim force-pushed the feat/event-processing-pipeline branch from e81fb36 to 824bd22 Compare May 11, 2025 21:40
@ricardogarim ricardogarim force-pushed the feat/event-processing-pipeline branch from 1466a37 to 0cad368 Compare May 13, 2025 00:51
@ricardogarim ricardogarim merged commit aa880ab into main May 13, 2025
1 of 2 checks passed
@sampaiodiego sampaiodiego deleted the feat/event-processing-pipeline branch September 26, 2025 19:39
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