Skip to content

Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
Minds Backend - Engine
Minds Backend - Engine
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
    • Insights
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
    • Locked Files
  • Issues 279
    • Issues 279
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 46
    • Merge Requests 46
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Security & Compliance
    • Security & Compliance
    • Dependency List
  • Packages
    • Packages
    • List
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Minds
  • Minds Backend - EngineMinds Backend - Engine
  • Issues
  • #1038

Closed
Open
Opened 34 minutes ago by Guy Thouret@gthouret
  • Report abuse
  • New issue
Report abuse New issue

Investigate Oddities and improve existing Boost Feed API functionality

I refactored the feed functionality out of the API request code and into Core\Boost\Feed abstract class and implemented Core\Boost\Feeds\Boost concrete class. In the review site the feed request response exactly matches the pre-refactored response (tested web only, need to capture a mobile request).

Example web request: /api/v2/boost/feed?rating=2&rotator=1&sync=1&limit=150&as_activities=0&from_timestamp

The functionality appears limited, oddities found so far...

  • limit in request is not honoured
  • rotator=1 is requested but not used anywhere
  • sync=1 is requested but not used anywhere
  • Iterator makes a request for X boosts, if Y of those boosts are invalid or can not be resolved the iterator will return X - Y boosts, requiring additional requests to cycle the iterator (which could return few or no results again)
  • It is not implicit that boosts are always returned in ascending timestamp order
  • It is not clear what a boost 'rating' is
  • We ignore the offset requested from the iterator and instead override with the timestamp of the last boost in list with no explanation why we don't trust the iterator

Please solve the reCAPTCHA

We want to be sure it is you, please confirm you are not a robot.

Edited 17 minutes ago by Guy Thouret

Related issues
0

  • Discussion 0
  • Designs 0
  • Guy Thouret @gthouret added Sprint::10/09 - Pink Panther Status::InProgress scoped labels 34 minutes ago

    added Sprint::10/09 - Pink Panther Status::InProgress scoped labels

  • Guy Thouret @gthouret assigned to @gthouret 27 minutes ago

    assigned to @gthouret

  • Guy Thouret @gthouret changed title from Investigate Oddities in existing Boost Feed API code to Investigate Oddities and improve existing Boost Feed API functionality 25 minutes ago

    changed title from Investigate Oddities in existing Boost Feed API code to Investigate Oddities and improve existing Boost Feed API functionality

  • Guy Thouret @gthouret changed the description 17 minutes ago

    changed the description

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply

The one place for your designs

Upload and view the latest designs for this issue. Consistent and easy to find, so everyone is up to date.

Assignee
Guy Thouret's avatar
Guy Thouret @gthouret
Assign to
none
Epic
None
None
Milestone
None
Assign milestone
None
Time tracking
No estimate or time spent
None
Due date
None
2
Labels
Sprint::10/09 - Pink Panther Status::InProgress
Assign labels
  • View project labels
None
Weight
None
Confidentiality
Not confidential
Lock issue
Unlocked
1
1 participant
user avatar
Guy Thouret
Reference: minds/engine#1038