You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Organizations post under their own handle, but only users had an Atom feed. Now /@{handle}/feed.atom serves the latest commits of a user or an organization, and organization pages link to it, so feed readers find it from the page URL.
Changes
The feed route binds a Profile (like og.png): ProfileFeedController and CreateProfileFeed replace UserFeedController and CreateUserFeed.
Organization pages and commit pages from organizations advertise the feed.
Handles of developers who have not joined get an empty feed instead of a 404.
Validation
composer test:lint, composer test:types: pass.
composer test:type-coverage: 100%.
bun run test:unit: 333 passed.
pest --parallel --ci: 6729 passed.
Independent review
PASS (code), visual N/A, on base baa02bbf and head f41233af.
Limitations
The coverage run could not execute locally (no coverage driver); CI runs it.
Summary by CodeRabbit
New Features
Atom feeds are now available for both developer and organization profiles, showing their latest 50 approved top-level commits.
Profile pages and link previews include feed links for organizations as well as developers.
Feed details reflect the profile’s name, handle, and bio, and update when the profile or its commits change.
No actionable comments were generated in the recent review.
Walkthrough
The Atom feed endpoint now resolves a profile handle and generates feeds for developer and organization profiles. Page metadata includes profile feed links for commits, users, and organizations. Tests cover organization feed contents and profiles without a joined developer.
The feed action and route now use a profile. The feature tests cover organization feed contents and identity, exclusion of member-authored commits from organization feeds, and profiles without a joined developer. The documentation describes feeds for developers and organizations.
Add profile feeds to page metadata app/Services/PageMetadata.php, tests/Feature/Controllers/OrganizationControllerTest.php, tests/Unit/Services/PageMetadataTest.php
Commit, user, and organization metadata now include profile feed details. Tests check organization feed metadata and the organization feed link in a guest link preview.
sequenceDiagram
participant Client
participant WebRoute
participant ProfileFeedController
participant CreateProfileFeed
participant Profile
Client->>WebRoute: Request feed by profile handle
WebRoute->>ProfileFeedController: Resolve profile and call show
ProfileFeedController->>CreateProfileFeed: handle(profile)
CreateProfileFeed->>Profile: Load profile commits
Profile-->>CreateProfileFeed: Return commits
CreateProfileFeed-->>ProfileFeedController: Return Atom feed
ProfileFeedController-->>Client: Return Atom XML response
Loading
Possibly related PRs
dev-null-sh/dev-null.sh#1359: This PR also addresses the absence of Atom feeds for organization commits and updates organization-aware metadata.
Suggested reviewers:xheaven, mnapoli
Merge Risk: Minimal · up to f4123
This change adds Atom feeds for organizations and moves the feed route to profile handles. No merge-blocking risk was found, and tests are reported to cover the main organization and empty-feed cases.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "feat: add Atom feeds for organizations" matches the main change. The PR adds an organization Atom feed at /@{handle}/feed.atom, renames the user feed classes to profile-based ones (CreatePr…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "feat: add Atom feeds for organizations" matches the main change. The PR adds an organization Atom feed at /@{handle}/feed.atom, renames the user feed classes to profile-based ones (CreateProfileFeed, ProfileFeedController), and links organization pages to the feed. The title names the primary change, though it does not mention the rename to profile-based feeds, which is a secondary detail.
Finishing Touches
Generate unit tests (beta)
Create a new PR
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.
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Organizations post under their own handle, but only users had an Atom feed. Now
/@{handle}/feed.atomserves the latest commits of a user or an organization, and organization pages link to it, so feed readers find it from the page URL.Changes
Profile(likeog.png):ProfileFeedControllerandCreateProfileFeedreplaceUserFeedControllerandCreateUserFeed.Validation
composer test:lint,composer test:types: pass.composer test:type-coverage: 100%.bun run test:unit: 333 passed.pest --parallel --ci: 6729 passed.Independent review
PASS (code), visual N/A, on base
baa02bbfand headf41233af.Limitations
The coverage run could not execute locally (no coverage driver); CI runs it.
Summary by CodeRabbit