conventionalcomments.iogithub ↗LanguageEN/FRBring it to your team

docs / troubleshooting

When something looks wrong

Most of the behaviours that seem surprising at first are deliberate. For each case below, you'll find what you're seeing, why it happens, and what — if anything — you need to do. When none of them matches, the last section explains how to send a diagnostic.

The toolbar doesn't appear

  • ·The domain isn't authorized yetThe extension runs only where you have allowed it, github.com included: a fresh install is active nowhere until you authorize access to a first domain from its options page. For a domain the extension doesn't already know — a GitHub Enterprise Server instance, for example — you also need to specify which platform it is running so the extension can select the correct adapter.
  • ·The domain is authorized, but the platform isn't covered thereAuthorizing a domain does not make it supported. Azure DevOps is covered on dev.azure.com only: an Azure DevOps Server, or an organization on {org}.visualstudio.com, gets nothing even once you have authorized access to it. GitLab is covered on gitlab.com only: GitLab Self-Managed and Dedicated are not supported yet.
  • ·You are writing in GitLab's rich text editorGitLab offers two editors under every comment field and remembers your choice for your account. The extension works in the Markdown editor. In the rich text editor it adds no toolbar and validates nothing: switch the field back to Markdown to get them.
  • ·The extension did not recognize part of the pageWhen the element a rule looks for isn't there, the extension leaves the affected area alone rather than risk interacting with the wrong one. That usually means the platform changed its markup. Each case leaves a line in the journal of the options page — see sending a diagnostic below.
  • ·The mode is offThe organization or repository configuration can disable the extension entirely.

The status pill says “Configuration unread”

Under the comment field, the status pill reads Configuration unread: the extension assists without knowing the rules, and does not block sending. The “Status” section of the options page says the same, with the reason. The extension tried to read .conventional-comments.json and could not. It continues to assist, but because it cannot determine the repository's rules, it never blocks a comment from being submitted. That behaviour is intentional: nobody should be prevented from working because of a rule the extension itself could not read.

  • ·On GitLab, the message is permanentThe extension cannot read a repository's configuration on GitLab yet. It assists there without the repository's rules, and never blocks a comment — whatever mode the repository asks for.
  • ·Elsewhere, check that you are signed inThe extension reads the file with your own browser session, never with a token of its own. On a private repository you are signed out of — or on Azure DevOps without an open session, where the request is redirected to the sign-in page — there is nothing it is allowed to read, and the message says so accurately.
what this message does not mean

A repository with no .conventional-comments.json file at all is neither an error nor a degraded state. In that case the organization's configuration applies, then the product defaults, and the message is not shown. It only appears when the extension could not find out what the configuration says.

Configuration notices appeared after an update

Since 1.0.0-rc.1, the extension tells you what it found when it read the configuration, where it used to say nothing. The notices are listed in the status pill and in the “Status” section of the options page, in the language of the interface, and each one names where the problem comes from: the enterprise floor, the organization's configuration, or the repository's file. They inform; they never change whether a comment is accepted.

  • ·“Unknown key … ignored”The most likely notice after an update. formatSeverity, overrideLabel, resolverOverrideGroup, activation and docUrl only served the verifier, which is retired; server and exemptionLog went with the companion server. None of them is read any more. Remove them from the file and the notice disappears.
  • ·“Obsolete value "warn"”The mode warn no longer exists. It is read as assist: replace it with "mode": "assist".
  • ·“Invalid configuration”A known key holds a value the extension cannot interpret, or the file is not valid JSON; the notice names the key, or the line. The extension then falls back to the last valid level — the organization's configuration, then the product defaults — so an invalid file never silently removes the rules.
  • ·“Enterprise floor: key … ignored”The repository or the organization's document asks for something more lenient than your organization's browser policy allows. Nothing is wrong with your installation: the policy wins, and the notice says which setting it overrode.

The full list of settings, and what replaced the retired ones, is on the configuration page.

My comments are suddenly blocked — or I'm asked to send again

In enforce mode, a comment that does not follow the convention cannot be sent. Until 1.0.0-rc.1, that only applied to pull requests created after an activation date that nothing set by default, so most repositories in enforce never blocked anything. That condition is gone: enforce now blocks on every pull request, whether you click the button or use the keyboard. If your repositories were already in enforce, the first blocked comments come with the update, not with a change of yours.

The status pill says what is wrong with the comment, and offers the fix when it can compute one. If the repository was never meant to block, its mode is the thing to change — see what enforce does.

when the extension asks you to send again

Before it blocks anything, the extension reads the configuration again, bypassing its cache. If blocking is no longer warranted — the repository has just gone back to assist, say — it releases the button and tells you: Configuration re-read: this comment is no longer blocked. Send it again. It does not send the comment for you: press the button once more. The pill may keep displaying the previous mode until the cache expires (one hour by default); that delay blocks nothing.

/rebase is being rejected

This is expected: toolCommands is empty by default, so nothing is exempted until the repository declares it. Slash commands are exempted all together, with "/*"; an entry such as "/rebase" is ignored, with a configuration notice.

"toolCommands": ["/*", "@dependabot", "@renovate"]

"/*" recognizes every slash command as a tool command. Bot handles are declared individually and matched against the complete first token. For example, @codex review is recognized as a command, while @codexplains why is not.

A bot's comments are flagged

Add the bot's platform login to exemptUsers. Matching is case-insensitive and uses the platform login, not the display name.

Platform-generated entries such as timeline events, branch updates, and system notifications are exempt automatically and do not need to be listed. An approval with no review text at all is also always exempt. Otherwise, simply approving a pull request without writing a comment would produce a validation failure — one the author of the pull request could not fix, because they cannot edit somebody else's review.

A blocking thread stays in the count

A thread is resolved with the platform's own controls, by anyone the platform allows to do so. The extension grants no permission and withholds none: it counts a blocking thread as resolved as the page shows it, whoever resolved it. If a thread is still listed in the banner, the page still shows it as unresolved — resolve it there, with the platform's own control.

Sometimes the pull request's author or maintainers decide, deliberately, not to make the change that was asked for. They say so in the thread with a decision reply, which must explain itself: at least twenty characters of justification, or E-DECISION-SUBJECT is raised. A decision records the choice where the discussion took place. It does not resolve the thread, and no authorized group is involved: the thread is then resolved on the platform, like any other.

The count is information, not a gate: the extension never prevents a merge. A team that wants merging to wait for resolved conversations uses the setting its platform already provides — see what enforce does, and what it does not.

None of the above: send a diagnostic

The “Status” section of the options page keeps a journal of what the extension could not do. Each line is a sentence — Submit button not found: it cannot be greyed out, nor its click stopped — with a level, WARN or ERROR, and a mark that links to the page where it happened. It records three kinds of things:

  • page elements a rule did not find — one line per rule, fifty at most, each keeping that rule's most recent observation;
  • comment fields the extension did not fully understand — a field whose send button was not found, or one it placed by default without recognizing where it sits;
  • the extension's own errors, which used to leave no trace.
  • 1Open the options page and go to “Status”The page shows the extension's version next to its title: it is the first thing a report needs.
  • 2Click “Download the diagnostic (.zip)”The archive gathers the journal, the page skeletons recorded when a rule failed, the history of how the extension put its script in place in your browser, and a README describing each file. The download is offered even when the journal is empty — which matters when the extension does nothing at all on a page: download the diagnostic before trying anything else.
  • 3Read it before you share itThe archive never contains the text of a page, a comment, or code. It does contain the addresses of the pages concerned, which name repositories and reviews; an interface label can name an account, and an error message can quote what the extension was handling.
  • 4Attach it to an issueOpen an issue on the toolkit's repository and attach the archive. A single line can also be copied on its own, with the icon next to it.

“Clear the log” erases the journal, the skeletons and the script history in one click. The journal stays on your device until you share it; if you allowed telemetry, only the name of a failing rule is counted. The privacy page lists exactly what the journal keeps.