Epic: PRG layer#3
Merged
Merged
Conversation
…dules, removing obsolete machinery schemas and updating related function signatures. Enhances deposit and destination machine implementations to align with the new prg_machine client structure.
…hine for state retrieval and history management. Updates function signatures and error handling for improved robustness, while removing obsolete collapse_history functions.
Remove hg_context and ff_context wrappers; call sites use operation_context scoped helpers. prg_machine resolves env hooks from context_binding instead of context_module. Co-authored-by: Cursor <cursoragent@cursor.com>
…suites to utilize cleanup_progressor_namespaces function from hg_ct_helper for namespace cleanup. Adjust rebar.config and hellgate.app.src to reflect the removal of hg_progressor dependencies.
…ross multiple modules. Update type definitions and function calls to ensure consistency in handling actions. Remove obsolete prg_machine_action module.
…ilize history_range for event retrieval across multiple modules. Adjust function signatures and type definitions for consistency in handling machine events.
…across multiple modules. Change action type definitions to use 'continue' instead of 'progressor_action:t', and update function signatures to align with new machine structure. Remove obsolete type definitions and improve consistency in handling machine events.
… generic-worker-composer documentation. Refactor rebar.config to include local overrides for progressor. Clean up unused action type definitions in ff_deposit_machine. Enhance hg_invoicing_machine_client with improved response normalization and update test suite with new payment success trace functionality. Remove outdated operation_context tests and prg_machine_env_tests.
…or consistency. Update history_times spec to improve readability and adjust function calls in ff_machine_codec for better alignment with coding standards.
… function references for codec operations. Update cleanup logic in operation_context and prg_machine to remove catch statements for better error handling. Remove prg_machine subproject reference from rebar.config.
…es to machinery in fistful.app.src. This cleanup is part of the transition away from the machinery framework, streamlining the codebase for future development.
…nality. Remove dead code related to machinery backend in ct_payment_system. Update rebar.config to reflect changes in dependencies and clarify trace API goals. Improve type specifications and handling of auxiliary state in various modules, ensuring consistency and better logging of exceptions.
…and improve notification processing. Remove machinery_extra application and related code, streamlining the codebase. Update dependencies in rebar.config to reflect the removal of obsolete machinery references and enhance overall consistency in event marshaling.
…r improved result handling in process_call. Update to_prg_result function to ensure proper handling of changes and action without auxiliary state. Refactor cleanup calls in test suites to use hg_domain:cleanup for consistency across tests.
…a dynamic maximum pending polls limit based on payment scenarios. Update transaction state handling to improve failure conditions. Refactor exception handling in prg_machine to conform to new progressor standards, removing stacktrace from exception tuples for cleaner error reporting.
… scenarios by adding handling for preauth_3ds_offsite_fail. Update transaction state management and polling limits for offsite preauth flows. Refactor payment processing logic to reset state upon failure, improving overall robustness of payment handling.
… ff_machine_codec with binary_to_payload function for improved payload handling; update ff_withdrawal to handle additional child result cases.
…'failed' error cases in ff_withdrawal_adapter_host, ff_withdrawal_machine, and ff_withdrawal_session_machine. Update process_callback specifications to include 'failed' as a possible error type. Refactor test cases to improve error assertions and ensure consistent handling of exceptions. Additionally, streamline ff_ct_machine test setup and teardown processes for better clarity and reliability.
…ne_trace for improved trace handling. Update test suite to include additional task type in JSON decoding. Enhance documentation to clarify changes in trace HTTP handling and address binary encoding issues.
…f_withdrawal_machine, and ff_withdrawal to unify action types under ff_adjustment and ff_withdrawal modules. Enhance decode_context and decode_trace_value functions in ff_machine_trace for improved handling of binary and term values. Update process callback error handling in ff_withdrawal_session_machine to include processor_error type. Streamline test suite in ff_ct_machine for better clarity in process handling.
…marshalling and type specifications. Update ff_ct_machine test suite to use the correct handler module reference. Introduce a new state record in prg_machine_registry for better state management.
…ction with hg_machine_action for improved consistency. Update type specifications and action handling in ff_transfer, hellgate, and prg_machine modules. Adjust event processing logic to utilize timeout actions instead of progressor actions, enhancing clarity and maintainability.
…e hg_machine_action with prg_action for improved consistency. Update timer handling in ff_withdrawal, ff_deposit, ff_destination, and ff_source modules. Adjust event processing logic to utilize prg_action for scheduling and timer actions, enhancing clarity and maintainability.
…action handling under prg_action. Update unmarshal logic in ff_codec, ff_withdrawal_codec, and ff_transfer modules to enhance clarity and maintainability. Adjust event processing to utilize timeout actions consistently, improving overall code consistency.
…nsfer modules to unify logic under prg_action. Enhance clarity and maintainability of unmarshal logic and event processing, ensuring consistent use of timeout actions across modules.
…nifying action handling under prg_action. Update event processing and unmarshal logic in ff_transfer, ff_withdrawal, and related modules to ensure consistent use of timeout actions. Remove deprecated code and improve error handling for better robustness.
…rror handling for unexpected signals. Simplify the implementation by directly returning an empty map for timeout signals in ff_deposit_machine, ff_destination_machine, ff_source_machine, ff_withdrawal_machine, and ff_withdrawal_session_machine modules.
…al_session_machine to simplify exception management. Update processor_error type definitions in ff_machine_lib and prg_machine for consistency. Adjust test cases in ff_withdrawal_SUITE to reflect new error handling logic.
…al_session_machine to streamline exception management. Update test cases in ff_withdrawal_SUITE to align with new error handling logic, ensuring consistent error reporting.
…les. Update invoice event timestamp handling in hg_invoice_handler. Simplify service retrieval in hg_proto by removing unused service definitions.
…d hg_invoice_template modules. Introduce new helper functions for content handling and add tests for roundtrip serialization and legacy content management. Ensure compatibility with legacy data formats while improving code clarity.
…rations. Simplify event handling, state marshaling, and error management across ff_deposit_machine, ff_destination_machine, ff_source_machine, ff_withdrawal_machine, and ff_withdrawal_session_machine. Enhance code clarity and maintainability by reducing redundancy and improving consistency in function calls.
…ional parameters. Update specifications for apply_event in ff_deposit, ff_destination, ff_source, ff_withdrawal_session, and ff_withdrawal modules to include event_id and timestamp. This change improves event handling consistency and prepares for future enhancements in event processing.
…plify its signature by removing the format parameter. Update specifications in ff_machine_lib, ff_deposit_machine, ff_destination_machine, ff_source_machine, ff_withdrawal_machine, and hg_invoice modules for consistency. This change enhances code clarity and prepares for improved event handling.
…s to simplify its signature by removing the format parameter. Update specifications in ff_machine_lib, ff_deposit_machine, ff_destination_machine, ff_source_machine, ff_withdrawal_machine, and hg_invoice modules for consistency. This change enhances code clarity and prepares for improved event handling." This reverts commit 1b4f07a.
…lib to remove the format_version parameter, simplifying the function signature. Update related specifications and adjust calls in ff_machine_lib for consistency. This change enhances code clarity and prepares for improved event handling.
…y ETS info check, simplifying the logic. Ensure consistent handling of unknown namespaces. Update TABLE definition location in prg_machine for clarity.
…_notification and apply_event functions. Update specifications in ff_deposit_machine, ff_destination_machine, ff_source_machine, ff_withdrawal_machine, and ff_withdrawal_session_machine for consistency. Refactor get function calls to utilize the module name for improved clarity. This change improves event processing and prepares for future enhancements.
… outdated comments and clarify module roles in the documentation. Adjust configuration for Docker-sidecar tests in bender and party-management to reflect the removal of machinery_prg_backend. This enhances clarity and prepares for future development.
… complex action handling. Consolidate timer and remove field processing into a single unmarshal_repairer_complex_action function, enhancing clarity and reducing redundancy. Update related specifications and documentation for improved consistency across modules.
…o streamline session handling and remove unused functions. Update timer scheduling in retry_session and simplify thrift_call by eliminating redundant parameters. This enhances code clarity and prepares for future improvements.
… Replace from_repair function with construct_repair_action for improved clarity and maintainability. Update related documentation to reflect changes in action scheduling and processing. This enhances code organization and prepares for future enhancements.
…ons and documentation related to local simplifications after migrating to prg_machine. This cleanup enhances project clarity and eliminates redundancy in documentation.
… unnecessary context_binding options from processor configurations. Introduce new functions in op_context for determining scope and binding based on namespaces. Update related tests and configurations to reflect these changes, enhancing clarity and maintainability.
…chitecture.md`, which contained extensive but outdated information on architectural changes and principles. This cleanup improves project organization and eliminates redundancy in documentation.
…estamp as a parameter. Update specifications in ff_deposit_machine, ff_destination_machine, ff_source_machine, ff_withdrawal_machine, and ff_withdrawal_session_machine for consistency. This change enhances event processing and prepares for future improvements.
…ror to null and change task status to 'finished'. This improves clarity in session repair tests and aligns with expected outcomes.
Add prg layer
nanodirijabl
approved these changes
Jul 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.