canvas-lms/config/teams
Aaron Shafovaloff 6d77f25bc8 finish colocating QUnit test files
also:
  - remove spec/coffeescripts
  - remove most contents of spec/javscripts/
  - remove unused helpers

Change-Id: Ib07411a9d98083688b3f3eb56a9d9eb9fc2601eb
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/349993
Reviewed-by: Michael Hulse <michael.hulse@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Build-Review: James Butters <jbutters@instructure.com>
2024-06-13 11:40:57 +00:00
..
README.md Add README for code ownership 2023-08-15 21:03:23 +00:00
evaluate.yml add sentry ownership for eval 2023-08-21 16:56:31 +00:00
learning-experience.yml Split LF -> RCX, LX 2024-05-02 20:43:48 +00:00
quizzes.yml add sentry file list for classic quizzes 2023-09-26 16:23:10 +00:00
rich-content-experience.yml Split LF -> RCX, LX 2024-05-02 20:43:48 +00:00
vice.yml finish colocating QUnit test files 2024-06-13 11:40:57 +00:00

README.md

Teams config

This directory contains team configuration for Sentry error ownership.

The CanvasErrors library uses the code_ownership gem to compare exception stack traces to the owned_globs in these YAML files. If a match is found, the Sentry error is tagged with the team, like inst.team:vice

See this Sentry filter for an example of errors tagged for the VICE team. And see vice.yml as an example YAML config.

Adding a new team

Create a new YAML file in this directory, like myteam.yml, with contents like:

# In myteam.yml

name: myteam # This is what the Sentry tag value will be
owned_globs:
  # Note the globs follow the ruby Dir.glob syntax:
  # https://ruby-doc.org/3.2.2/Dir.html#method-c-glob
  - "app/models/my_model/**/*"
  - "lib/gems/my_gem/**/*"