Skip to content

Phase 15: Fix 17 tutorials with API signatures mismatched against actual codebase#46

Merged
devstress merged 6 commits intomainfrom
copilot/update-milestones-docs
Apr 5, 2026
Merged

Phase 15: Fix 17 tutorials with API signatures mismatched against actual codebase#46
devstress merged 6 commits intomainfrom
copilot/update-milestones-docs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 5, 2026

Re-audit of all 50 tutorials against src/ found 17 tutorials with code snippets that wouldn't compile — wrong parameter order, non-existent factory methods, renamed classes, incorrect return types. All fixed across 5 sequential chunks (075–079).

Milestones cleanup

Collapsed 490-line milestones.md to ~40 lines — removed all completed phase history and audit logs per the file's own enforcement rule ("contains only not-started chunks").

Tutorial fixes by chunk

  • 075 (05, 06, 07)PublishAsync params reversed (topic, envelope)(envelope, topic); added missing string channel param to IPublishSubscribeChannel; replaced non-existent IntegrationPipelineResult.Succeeded()/.Failed() with record constructor
  • 076 (13, 14, 29)RoutingStepRoutingSlipStep; _logging.RecordStage()await _logging.LogAsync() (wrong name, wrong arity, missing await); AvailableTokens doubleint; RemovePolicy voidbool
  • 077 (31, 32, 37, 38)IEventProjection.Apply()ProjectAsync() (sync→async); OnboardAsync/OffboardAsyncProvisionAsync/DeprovisionAsync with correct return type; src/Connector.FileSystem/src/Connector.File/; DiagnosticsConfig instance class → static class
  • 078 (42, 44, 45, 46)GetVariantAsync(flagName, tenantId)(name, variantKey); WatchAsync IAsyncEnumerableIObservable; replaced fictional DisasterRecoveryService with actual IFailoverManager/IDrDrillRunner; ProfilingSnapshotProfileSnapshot; HttpChannelAdapter : IChannelAdapterHttpConnectorAdapter : IConnector
  • 079 (49)MapAck(envelope)MapAck(Guid messageId, Guid correlationId)

Example fix (Tutorial 05):

// Before — parameters reversed, won't compile
await producer.PublishAsync("orders.created", envelope);

// After — matches IMessageBrokerProducer signature
await producer.PublishAsync(envelope, "orders.created");

Documentation-only changes — no source modifications, all 1,605 tests unaffected.

Copilot AI and others added 6 commits April 5, 2026 01:42
…DO for 17 tutorials with errors found in re-audit

Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/618ed93d-d1e7-4cdb-b0d9-6ba950668ccc

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
…l params, factory methods

Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/f3b9a36a-8bfb-45a6-b38c-ff715f599dac

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
…method, throttle types

Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/f3b9a36a-8bfb-45a6-b38c-ff715f599dac

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
…c, file path, DiagnosticsConfig

Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/f3b9a36a-8bfb-45a6-b38c-ff715f599dac

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
…profiling types, connector adapter

Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/f3b9a36a-8bfb-45a6-b38c-ff715f599dac

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
…l 50 tutorials verified

Agent-Logs-Url: https://github.com/devstress/My3DLearning/sessions/f3b9a36a-8bfb-45a6-b38c-ff715f599dac

Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>
@devstress devstress marked this pull request as ready for review April 5, 2026 03:31
@devstress devstress merged commit 5f208d7 into main Apr 5, 2026
3 checks passed
@devstress devstress deleted the copilot/update-milestones-docs branch April 5, 2026 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants