Skip to content

fix: hooks processor should error gracefully against CE#1213

Merged
amimas merged 9 commits intogitlabform:mainfrom
TimKnight01:i-1205
Mar 31, 2026
Merged

fix: hooks processor should error gracefully against CE#1213
amimas merged 9 commits intogitlabform:mainfrom
TimKnight01:i-1205

Conversation

@TimKnight01
Copy link
Copy Markdown
Collaborator

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 26, 2026

Codecov Report

❌ Patch coverage is 22.22222% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 37.71%. Comparing base (0b70ef1) to head (e99b051).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...tlabform/processors/group/group_hooks_processor.py 22.22% 7 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (0b70ef1) and HEAD (e99b051). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (0b70ef1) HEAD (e99b051)
integration 3 1
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##             main    #1213       +/-   ##
===========================================
- Coverage   87.13%   37.71%   -49.43%     
===========================================
  Files          72       72               
  Lines        3779     3786        +7     
===========================================
- Hits         3293     1428     -1865     
- Misses        486     2358     +1872     
Flag Coverage Δ
integration 26.33% <22.22%> (-58.80%) ⬇️
unittests 37.71% <22.22%> (-0.05%) ⬇️
Files with missing lines Coverage Δ
...tlabform/processors/group/group_hooks_processor.py 21.56% <22.22%> (-78.44%) ⬇️

... and 60 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TimKnight01 TimKnight01 had a problem deploying to Integrate Pull Request March 26, 2026 10:58 — with GitHub Actions Error
@TimKnight01 TimKnight01 had a problem deploying to Integrate Pull Request March 26, 2026 10:58 — with GitHub Actions Error
@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 26, 2026 10:58 — with GitHub Actions Inactive
@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 26, 2026 10:58 — with GitHub Actions Inactive
Copy link
Copy Markdown
Collaborator

@amimas amimas left a comment

Choose a reason for hiding this comment

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

Thanks for picking this up @TimKnight01 . Left some comments for us to discuss.

One item I'm wondering is the log message level for CE edition. Should it be an error or a warning instead?

@TimKnight01
Copy link
Copy Markdown
Collaborator Author

@amimas comments applied

@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 26, 2026 14:11 — with GitHub Actions Inactive
@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 26, 2026 14:11 — with GitHub Actions Inactive
@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 27, 2026 09:06 — with GitHub Actions Inactive
@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 27, 2026 09:06 — with GitHub Actions Inactive
@TimKnight01 TimKnight01 had a problem deploying to Integrate Pull Request March 30, 2026 08:45 — with GitHub Actions Error
@TimKnight01 TimKnight01 had a problem deploying to Integrate Pull Request March 30, 2026 08:45 — with GitHub Actions Error
Copy link
Copy Markdown
Collaborator

@amimas amimas left a comment

Choose a reason for hiding this comment

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

Looks good, but have another question based on discussion on another thread. Hopefully we get this merged soon.

@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 31, 2026 08:52 — with GitHub Actions Inactive
@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 31, 2026 08:52 — with GitHub Actions Inactive
@TimKnight01
Copy link
Copy Markdown
Collaborator Author

@amimas - all applied, would be good to get this in, then get all the acceptance tests running against CE prior to making a change to the logging

@TimKnight01 TimKnight01 had a problem deploying to Integrate Pull Request March 31, 2026 14:17 — with GitHub Actions Error
@TimKnight01 TimKnight01 had a problem deploying to Integrate Pull Request March 31, 2026 14:17 — with GitHub Actions Error
- community edition does not support webhooks
- we should error gracefully and allow GitLabForm to continue running even if webhooks are defined
- resolves gitlabform#1206

Signed-off-by: Tim Knight <timknight01@gmail.com>
Signed-off-by: Tim Knight <timknight01@gmail.com>
Signed-off-by: Tim Knight <timknight01@gmail.com>
Signed-off-by: Tim Knight <timknight01@gmail.com>
Signed-off-by: Tim Knight <timknight01@gmail.com>
Signed-off-by: Tim Knight <timknight01@gmail.com>
Signed-off-by: Tim Knight <timknight01@gmail.com>
Signed-off-by: Tim Knight <timknight01@gmail.com>
Signed-off-by: Tim Knight <timknight01@gmail.com>
Copy link
Copy Markdown
Collaborator

@amimas amimas left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks again for working through this item.

@amimas amimas enabled auto-merge (squash) March 31, 2026 14:23
@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 31, 2026 14:23 — with GitHub Actions Inactive
@TimKnight01 TimKnight01 temporarily deployed to Integrate Pull Request March 31, 2026 14:23 — with GitHub Actions Inactive
@amimas amimas merged commit a7cd848 into gitlabform:main Mar 31, 2026
20 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Group Hooks processor tests failing in GitLab CE

2 participants