Skip to content

GitLab - check comment body size - #1350

Merged
dacbd merged 7 commits into
masterfrom
gitlab-comment-limit
Feb 21, 2023
Merged

dacbd merged 7 commits into
masterfrom
gitlab-comment-limit

Conversation

@dacbd

@dacbd dacbd commented Feb 12, 2023

Copy link
Copy Markdown
Contributor

@dacbd dacbd added bug Something isn't working cml-comment Subcommand ci-gitlab labels Feb 12, 2023
@dacbd
dacbd requested a review from a team February 12, 2023 00:39
@dacbd dacbd self-assigned this Feb 12, 2023
@dacbd
dacbd temporarily deployed to internal February 12, 2023 00:39 — with GitHub Actions Inactive
@dacbd dacbd changed the title GitLab check comment body size GitLab - check comment body size Feb 12, 2023
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

Comment thread src/drivers/gitlab.js Resolved
@dacbd

This comment was marked as resolved.

@dacbd
dacbd temporarily deployed to internal February 13, 2023 16:03 — with GitHub Actions Inactive
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@dacbd
dacbd temporarily deployed to internal February 13, 2023 21:17 — with GitHub Actions Inactive
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

Comment thread src/drivers/gitlab.js Resolved
tasdomas
tasdomas previously approved these changes Feb 14, 2023
Comment thread src/drivers/gitlab.js Resolved
Comment thread src/drivers/gitlab.js Resolved
@dacbd

dacbd commented Feb 14, 2023

Copy link
Copy Markdown
Contributor Author

To address the warn vs error. To my knowledge, only GitHub provides a native means to supply these notifications, and this is specific to GitLab.

As far as logging vs an error. The issue the user brought up made it seem like this more or less silently failed, so I think exiting with a non-zero status code is the best option.

How are we going to truncate the report? I don't think we can realistically decide for the user what to drop especially since this is most likely coming from the use of the --publish-native. They could end up with a comment that is just one or two lines, if they try and upload a large image.

@dacbd
dacbd temporarily deployed to internal February 14, 2023 15:30 — with GitHub Actions Inactive
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

Comment thread src/drivers/gitlab.js Resolved
Comment thread src/drivers/gitlab.js Resolved
@dacbd
dacbd temporarily deployed to internal February 14, 2023 17:17 — with GitHub Actions Inactive
@github-actions

This comment was marked as outdated.

@github-actions

This comment was marked as outdated.

@dacbd
dacbd temporarily deployed to internal February 14, 2023 19:22 — with GitHub Actions Inactive
@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@dacbd
dacbd removed the request for review from casperdcl February 21, 2023 16:03
@dacbd
dacbd enabled auto-merge (squash) February 21, 2023 16:03
@dacbd
dacbd requested a review from a team February 21, 2023 16:06

@0x2b3bfa0 0x2b3bfa0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@dacbd
dacbd merged commit 1be24ed into master Feb 21, 2023
@dacbd
dacbd deleted the gitlab-comment-limit branch February 21, 2023 16:07
@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

13 similar comments
@github-actions

github-actions Bot commented Mar 6, 2023

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented Apr 3, 2023

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented May 1, 2023

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

github-actions Bot commented May 8, 2023

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

@github-actions

Copy link
Copy Markdown
Contributor

Test Comment

This branch was previously deployed

1 inactive deployment
internal — def90f77 Deployed Feb 14, 2023 by dacbd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci-gitlab cml-comment Subcommand

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lots of images fail to load in one report

5 participants