Deliver forum posting entitlements through managed group membership with identity linkage, periodic reconciliation, webhook handling, and an operator mapping surface. Include fake and live test environments, setup documentation, migrations, and end-to-end coverage.
13 lines
536 B
Go
13 lines
536 B
Go
package workflows
|
|
|
|
// Test bridges: the tx-bound logic functions are package-private, but the
|
|
// DB-backed tests must live in an external test package (workflows_test) —
|
|
// an in-package test file would import internal/migrate, whose registry
|
|
// walk imports the discourse adapter, which imports this package: an
|
|
// import cycle that exists only in the test binary. See findings.md #5.
|
|
var (
|
|
ConvergeGroupForTest = convergeGroup
|
|
LinkEntitledPersonsForTest = linkEntitledPersons
|
|
ReconcilePersonForTest = reconcilePerson
|
|
)
|