SessionWorkflow: upgrade WorkItem to a class with invariants and behavior enforcement

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Service Arch 2022-08-08, Service Arch 2022-08-22
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In SessionWorkflow (nee ServiceStateMachine), there's some cursor cleanup to do when a session ends, if that session in processing an exhaust command. This state of being "in exhaust" is currently a bool in WorkItem, but it could be an object that is shared among the WorkItems participating in the exhaust sequence. The end of the lifetime of that object would naturally correspond to the time at which the cursor cleanup should occur.

            Assignee:
            Billy Donahue
            Reporter:
            Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: