Skip to content

Last activity field is not updated when user is using GraphQL API

Summary

This is a follow up issue for #30867 (closed) where we just addressed the REST API

Last activity field is not updated if user calls GraphQL API.

Steps to reproduce

  • have user in GitLab with API access token
  • for test purposes, update the field last_activity_on in the users table in the database to some older date
  • try running API requests with this user's token and check if Last activity field is refreshed in the UI after that

What is the current bug behavior?

Last activity field is not updated when there was API activity. When user does something in UI, the field is updated as expected.

What is the expected correct behavior?

Last activity field should be updated when there was some API activity.

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖