Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • pleroma pleroma
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 646
    • Issues 646
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 86
    • Merge requests 86
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PleromaPleroma
  • pleromapleroma
  • Merge requests
  • !3420

Prevent compile-time cycles in CI

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alex Gleason requested to merge cycles-ci into develop May 28, 2021
  • Overview 6
  • Commits 4
  • Pipelines 10
  • Changes 2

#2651 (closed)

This MR adds a "cycles" section to the CI. It basically does this:

mix xref graph --format cycles --label compile

It will fail if there are any compile-time cycles found. Right now there are compile-time cycles, so it will fail.

Once the other issues with #2651 (closed) are addressed, we can merge this to prevent it from happening again.

Side note: I also suggested Elixir add this to their compiler to help prevent cycles as soon as they're introduced: https://groups.google.com/g/elixir-lang-core/c/UFGioJoFjYw

Edited Jun 09, 2021 by feld
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: cycles-ci