(client, kvs)
| 169 | } |
| 170 | |
| 171 | async function stepOrgSettings(client, kvs) { |
| 172 | const org = await orgUuid(client); |
| 173 | const reviews = kvs.ai_agent_reviews_enabled === 'true'; |
| 174 | await client.query( |
| 175 | `INSERT INTO ai_organization_settings (organization_uuid, ai_agents_visible, ai_agent_reviews_enabled) |
| 176 | VALUES ($1, true, $2) |
| 177 | ON CONFLICT (organization_uuid) DO UPDATE SET ai_agent_reviews_enabled=$2`, |
| 178 | [org, reviews]); |
| 179 | console.log(`OK: ai_organization_settings ai_agent_reviews_enabled=${reviews} for ${org}`); |
| 180 | } |
| 181 | |
| 182 | async function stepDbtRepoCheck(client) { |
| 183 | const secret = need('RUNNING_SECRET'); |
no test coverage detected