Skip to content

Fix review nits - #5

Merged
arnelirobles merged 2 commits into
mainfrom
review-nits
Nov 12, 2026
Merged

arnelirobles merged 2 commits into
mainfrom
review-nits

Conversation

@arnelirobles

Copy link
Copy Markdown
Contributor

Fixes the plain nits from the whole-repo review. A 2xx create answer with no post id from Bluesky or LinkedIn now sets the row to "unknown", which Retry refuses, so Retry cannot duplicate the post. The queue list and due query page in SQL. The pinned connector tries each resolved public address. README and design notes now cover LinkedIn token expiry and the proxy bypass, and the "link is never cut" claim is reworded to what the code does (smaller than trimming the template).

Left alone as design decisions: the publish age check or throttle, queue retention, proxy use with DNS pinning, LinkedIn token refresh. Mastodon is unchanged because it sends an idempotency key.

- test: ConnectorOutcomeTests.Bluesky_2xx_without_a_post_uri_is_an_unknown_outcome_that_is_not_retryable
  breaks: src/BaryoDev.Umbraco.SocialPost/Connectors/BlueskyConnector.cs "{ OutcomeUnknown = true }"
- test: ConnectorOutcomeTests.LinkedIn_2xx_without_a_post_id_is_an_unknown_outcome_that_is_not_retryable
  breaks: src/BaryoDev.Umbraco.SocialPost/Connectors/LinkedInConnector.cs "{ OutcomeUnknown = true }"
- test: QueueTests.A_create_call_with_no_post_id_is_an_unknown_outcome_that_retry_refuses
  breaks: src/BaryoDev.Umbraco.SocialPost/Queue/QueueProcessor.cs "row.Status = QueueStatus.UnknownOutcome;"
- test: ConnectorOutcomeTests.Pinned_connect_falls_back_to_the_next_public_address
  breaks: src/BaryoDev.Umbraco.SocialPost/Net/ImageFetcher.cs "foreach (IPAddress address in addresses)"
- untested: src/BaryoDev.Umbraco.SocialPost/Queue/QueueRepository.cs
  why: QueueTests.List_and_Due_return_only_the_requested_page_in_order pins order and limit but passes with the old load-all code too
- untested: src/BaryoDev.Umbraco.SocialPost/Queue/QueueRow.cs
  why: constant, covered through the processor test
- untested: src/BaryoDev.Umbraco.SocialPost/Connectors/ISocialConnector.cs
  why: property, covered through the connector tests
- untested: src/BaryoDev.Umbraco.SocialPost/Messages/MessageComposer.cs
  why: doc comment only
- untested: src/BaryoDev.Umbraco.SocialPost/wwwroot/App_Plugins/BaryoDev.SocialPost/social-post-dashboard.js
  why: status colour for the new status

@coderabbitai

coderabbitai Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@arnelirobles
arnelirobles marked this pull request as ready for review November 12, 2026 15:42
@arnelirobles
arnelirobles merged commit 7c73c65 into main Nov 12, 2026
2 checks passed
@arnelirobles
arnelirobles deleted the review-nits branch November 12, 2026 15:42
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.

1 participant