Skip to content

Commit 1e4788f

Browse files
bgagentclaude
andcommitted
fix(cdk): align yarn.lock with upstream main + bump table count for OAuth registry
Two CI failures came together because they share a root cause: this branch's yarn.lock had drifted from upstream main during interim re-resolves, leaving an inconsistent dep tree that broke ts-jest's module resolution for @aws-cdk/mixins-preview/aws-bedrockagentcore. Restoring upstream main's yarn.lock fixes the resolution; the agent.test.ts table-count assertion then needs to bump from 12 to 13 to account for the LinearWorkspaceRegistryTable added in Phase 2.0b Wave A4. Verified locally: agent.test.ts (44/44) and github-tags.test.ts (5/5) both pass after the changes. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent cd4ab8e commit 1e4788f

2 files changed

Lines changed: 4688 additions & 2598 deletions

File tree

cdk/test/stacks/agent.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,13 @@ describe('AgentStack', () => {
3636
expect(template).toBeDefined();
3737
});
3838

39-
test('creates exactly 12 DynamoDB tables', () => {
39+
test('creates exactly 13 DynamoDB tables', () => {
4040
// task, task-events, repo, user-concurrency, webhook, task-nudges,
4141
// task-approvals (Cedar HITL V2),
4242
// slack-installation, slack-user-mapping,
43-
// linear-project-mapping, linear-user-mapping, linear-webhook-dedup
44-
template.resourceCountIs('AWS::DynamoDB::Table', 12);
43+
// linear-project-mapping, linear-user-mapping, linear-webhook-dedup,
44+
// linear-workspace-registry (added in Phase 2.0b for OAuth bookkeeping)
45+
template.resourceCountIs('AWS::DynamoDB::Table', 13);
4546
});
4647

4748
test('creates TaskApprovalsTable with user_id-status-index GSI', () => {

0 commit comments

Comments
 (0)