Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Automation Tracking Issue 3.9: Going from RFC 28 to RFC 20 #5678

Closed
16 of 36 tasks
mrnugget opened this issue Sep 20, 2019 · 2 comments
Closed
16 of 36 tasks

Automation Tracking Issue 3.9: Going from RFC 28 to RFC 20 #5678

mrnugget opened this issue Sep 20, 2019 · 2 comments
Assignees
Labels
batch-changes Issues related to Batch Changes
Milestone

Comments

@mrnugget
Copy link
Contributor

mrnugget commented Sep 20, 2019

RFCs for context

Deferred to 3.10

Note: These items are not prioritized yet

  • Only "update" a changeset when it actually changed.
  • Support Bitbucket Server changeset events
    • Add ChangesetEvents for Bitbucket Server (requires fetching /activities for Bitbucket Server changesets)
    • Incorporate Bitbucket Server ChangesetEvents into burndown chart API
    • Bitbucket Server webhooks (RFC)
  • Show the combined diff of all changesets in a campaign (nice to have: with diff/commit comments shown inline)
  • Making "adding changesets" work if changesets have been created before. See comment and this issue
  • Rename campaign.{name,description} to campaign.{title,body}
  • Shows status of all changesets in the campaign and allow querying/filtering by the following fields
    • Show "open/merged/closed"
    • Show "review status"
    • Show "commit statuses"
    • Show "labels"
    • Filtering fields via GraphQL API
      • Filter by "open/merged/closed"
      • Filter by "commit statuses"
      • Filter by "review status"
      • Filter by "labels"
  • Show the combined event timeline from all changesets
    • Show comments
    • Show approvals
  • Show the set of participants involved in the campaign

Planned Work

Improve syncing after RFC 20 implementation

Support another codehost

The idea is to "go wide" to validate the assumptions we made while adding support for GitHub and GitHub pull requests. See this Slack message for context.

Extend Campaign/Changeset management

Questions

  • Question for Quinn: what problem does the event timeline solve?
  • What things can already be worked on in the frontend, while backend implements APIs? For example: extension API
  • Deletion of external services:
    • Do we need to care about thisyet?
    • What should happen to changesets when an external service is deleted?
    • Changeset deletion: when do we delete changesets that are not connected a campaign?
@mrnugget mrnugget added the a8n label Sep 20, 2019
@mrnugget mrnugget added this to the 3.9 milestone Sep 20, 2019
@mrnugget mrnugget changed the title A8N Tracking Issue 3.9: Going from RFC 28 to RFC 20 (Draft) A8N Tracking Issue 3.9: Going from RFC 28 to RFC 20 Sep 20, 2019
@sqs sqs self-assigned this Sep 20, 2019
@mrnugget mrnugget changed the title (Draft) A8N Tracking Issue 3.9: Going from RFC 28 to RFC 20 A8N Tracking Issue 3.9: Going from RFC 28 to RFC 20 Sep 23, 2019
@felixfbecker felixfbecker changed the title A8N Tracking Issue 3.9: Going from RFC 28 to RFC 20 Automation Tracking Issue 3.9: Going from RFC 28 to RFC 20 Sep 23, 2019
@sqs
Copy link
Member

sqs commented Sep 24, 2019

Question for Quinn: what problem does the event timeline solve?

  • The primary purpose of the event timeline is to inform the campaign author how they can help push the campaign along. The timeline accomplishes this by showing reviews (approve/comment/request-changes) and comments on all threads in the campaign. The campaign author will scan the timeline for comments that they can help answer.
  • The secondary purpose of the event timeline is to give campaign authors confidence that Sourcegraph is tracking the statuses of all of the threads (and is up-to-date). This directly addresses the customer feedback from https://app.hubspot.com/contacts/2762526/company/608245740 that confidence in our syncing is crucial.

Deletion of external services:

Do we need to care about this yet? What should happen to threads when an external service is deleted?

It is OK if (deleting an external services) causes (all changesets associated with that external service's repositories) to be removed from campaigns. (Parentheses to group noun phrases added for clarity.) To be clear for anyone external reading this, this does NOT mean Sourcegraph will delete the changesets on your code host, only their record in the Sourcegraph DB.

Changeset deletion: when do we delete changesets that are not connected a campaign?

(I think this is an impl question not for me.)

@tsenart
Copy link
Contributor

tsenart commented Oct 14, 2019

Dear all,

This is your release captain speaking. 🚂🚂🚂

Branch cut for the 3.9 release is scheduled for tomorrow at 10:00 CEST.

Is this issue / PR going to make it in time? Please change the milestone accordingly.
When in doubt, reach out!

Thank you

@tsenart tsenart closed this as completed Oct 15, 2019
@chrispine chrispine added the batch-changes Issues related to Batch Changes label Aug 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
batch-changes Issues related to Batch Changes
Projects
None yet
Development

No branches or pull requests

6 participants