Skip to content

Ctx implements context.Context#3381

Closed
pjebs wants to merge 2 commits into
gofiber:mainfrom
pjebs:context
Closed

Ctx implements context.Context#3381
pjebs wants to merge 2 commits into
gofiber:mainfrom
pjebs:context

Conversation

@pjebs
Copy link
Copy Markdown
Contributor

@pjebs pjebs commented Mar 30, 2025

Just a simple example. @sixcolors

#3358

@pjebs pjebs requested a review from a team as a code owner March 30, 2025 04:02
@pjebs pjebs requested review from ReneWerner87, efectn, gaby and sixcolors and removed request for a team March 30, 2025 04:02
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 30, 2025

Walkthrough

This pull request enhances context handling within the project. New methods—Deadline, Done, Err, and Value—have been added to the DefaultCtx struct and the Ctx interface, replacing the older Context() and SetContext() methods. In addition, several tests related to the old context management functions have been removed. Middleware implementations for key authentication, request IDs, and timeouts have been updated to remove direct context manipulation, instead relying on the fiber context directly.

Changes

File(s) Change Summary
ctx.go, ctx_interface_gen.go Added new context methods (Deadline, Done, Err, Value) to DefaultCtx and updated the Ctx interface; removed Context() and SetContext(ctx) methods.
ctx_test.go Removed tests: Test_Ctx_Context, Test_Ctx_SetContext, and Test_Ctx_Context_Multiple_Requests for context functionality.
middleware/keyauth/keyauth.go, middleware/keyauth/keyauth_test.go Removed lines that set API key in the context and streamlined TokenFromContext by passing fiber.Ctx directly.
middleware/requestid/requestid.go, middleware/requestid/requestid_test.go Removed code that added the request ID to the context and eliminated the associated context-based test case.
middleware/timeout/timeout.go, middleware/timeout/timeout_test.go Modified timeout context creation to use fiber.Ctx directly (using c instead of c.Context()) and updated tests accordingly.

Sequence Diagram(s)

sequenceDiagram
    participant Client
    participant Fiber
    participant DefaultCtx
    participant KeyAuth
    participant Timeout

    Client->>Fiber: Send Request
    Fiber->>DefaultCtx: Invoke Deadline(), Done(), Err(), Value(key)
    DefaultCtx-->>Fiber: Return no-op/default values
    Fiber->>KeyAuth: Execute key authentication (store API key in Locals)
    Fiber->>Timeout: Create timeout using fiber context directly
    Timeout-->>Fiber: Process handler with updated context handling
    Fiber->>Client: Respond to Request
Loading

Possibly related PRs

Suggested labels

✏️ Feature, v3

Suggested reviewers

  • sixcolors
  • gaby
  • ReneWerner87
  • efectn

Poem

I’m a happy rabbit on a coding spree,
Hopping through context changes so merrily.
New methods bloom with each bound and leap,
While outdated tests rest in a heap.
With fiber magic and middleware delight,
I celebrate these changes day and night!
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Free

📥 Commits

Reviewing files that changed from the base of the PR and between e90fe8a and 9733eab.

📒 Files selected for processing (9)
  • ctx.go (3 hunks)
  • ctx_interface_gen.go (3 hunks)
  • ctx_test.go (1 hunks)
  • middleware/keyauth/keyauth.go (0 hunks)
  • middleware/keyauth/keyauth_test.go (1 hunks)
  • middleware/requestid/requestid.go (0 hunks)
  • middleware/requestid/requestid_test.go (0 hunks)
  • middleware/timeout/timeout.go (1 hunks)
  • middleware/timeout/timeout_test.go (3 hunks)
💤 Files with no reviewable changes (3)
  • middleware/requestid/requestid_test.go
  • middleware/keyauth/keyauth.go
  • middleware/requestid/requestid.go

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai plan to trigger planning for file edits and PR creation.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 30, 2025

Codecov Report

❌ Patch coverage is 33.33333% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.41%. Comparing base (e90fe8a) to head (9733eab).
⚠️ Report is 1086 commits behind head on main.

Files with missing lines Patch % Lines
ctx.go 25.00% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3381      +/-   ##
==========================================
- Coverage   83.66%   83.41%   -0.25%     
==========================================
  Files         118      118              
  Lines       11716    11715       -1     
==========================================
- Hits         9802     9772      -30     
- Misses       1486     1513      +27     
- Partials      428      430       +2     
Flag Coverage Δ
unittests 83.41% <33.33%> (-0.25%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e90fe8a and fea24d4.

📒 Files selected for processing (9)
  • ctx.go (3 hunks)
  • ctx_interface_gen.go (3 hunks)
  • ctx_test.go (0 hunks)
  • middleware/keyauth/keyauth.go (0 hunks)
  • middleware/keyauth/keyauth_test.go (1 hunks)
  • middleware/requestid/requestid.go (0 hunks)
  • middleware/requestid/requestid_test.go (0 hunks)
  • middleware/timeout/timeout.go (1 hunks)
  • middleware/timeout/timeout_test.go (3 hunks)
💤 Files with no reviewable changes (4)
  • middleware/requestid/requestid.go
  • middleware/requestid/requestid_test.go
  • middleware/keyauth/keyauth.go
  • ctx_test.go
🧰 Additional context used
🧬 Code Definitions (1)
middleware/keyauth/keyauth_test.go (2)
middleware/keyauth/keyauth.go (1)
  • TokenFromContext (73-87)
middleware/csrf/csrf.go (1)
  • TokenFromContext (190-196)
🪛 GitHub Check: codecov/patch
ctx.go

[warning] 453-454: ctx.go#L453-L454
Added lines #L453 - L454 were not covered by tests


[warning] 465-466: ctx.go#L465-L466
Added lines #L465 - L466 were not covered by tests


[warning] 501-502: ctx.go#L501-L502
Added lines #L501 - L502 were not covered by tests


[warning] 1847-1848: ctx.go#L1847-L1848
Added lines #L1847 - L1848 were not covered by tests

🪛 GitHub Check: lint
ctx.go

[failure] 465-465:
unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)


[failure] 454-454:
bare-return: avoid using bare returns, please add return expressions (revive)


[failure] 453-453:
unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)


[failure] 501-501:
unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)

🪛 GitHub Actions: golangci-lint
ctx.go

[error] 453-453: unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)

⏰ Context from checks skipped due to timeout of 90000ms (6)
  • GitHub Check: unit (1.24.x, macos-13)
  • GitHub Check: unit (1.24.x, windows-latest)
  • GitHub Check: unit (1.23.x, windows-latest)
  • GitHub Check: repeated
  • GitHub Check: Compare
  • GitHub Check: Analyse
🔇 Additional comments (10)
ctx_interface_gen.go (4)

60-64: Interface expansion with Deadline().

Good addition mirroring the standard context.Context interface. Please ensure you have tests verifying that consumers of this method handle the no-op return as expected.


65-96: Done() method documentation and signature are consistent.

This interface alignment with standard context APIs is beneficial for familiarity. Confirm that it’s sufficiently tested, despite the current no-op implementation in DefaultCtx.


101-106: Err() method aligns with standard context.

This complements Done() and Deadline() for seamless context usage. Ensure integration tests confirm correct usage, even though the DefaultCtx version is a no-op.


357-363: New Value() method in interface matches context.Context.

Implementation in ctx.go returns user-bound values. Consider adding thorough tests to confirm correct key/value retrieval in real scenarios.

middleware/timeout/timeout.go (1)

22-22:

Details

✅ Verification successful

Verify that fiber.Ctx fully implements context.Context.

Calling context.WithTimeout(ctx, timeout) on a fiber.Ctx with no-op context methods may not produce the expected cancellation behavior. Please verify that this approach enforces actual timeouts:


🏁 Script executed:

#!/bin/bash
# Verify that fiber.Ctx implements context.Context and confirm usage for timeouts.
# 1) Search for Deadline, Done, Err, Value in fiber.Ctx interface definitions
rg -A 2 "Deadline(" 
rg -A 2 "Done("
rg -A 2 "Err("
rg -A 2 "Value("

Length of output: 327


Action Required: Verify Context Implementation in fiber.Ctx

The previous verification attempt failed due to regex syntax issues (unescaped parentheses in the search patterns), so we couldn’t determine whether fiber.Ctx implements all the required methods from context.Context. Please run a revised check using fixed-string searches to confirm that fiber.Ctx defines the following methods: Deadline, Done, Err, and Value. This is crucial since using context.WithTimeout(ctx, timeout) on a fiber.Ctx should enforce real timeout behavior—not merely act as a no-op. If these methods aren’t implemented (or merely stubbed), consider either updating the implementation of fiber.Ctx or changing the timeout strategy.

For example, you can use the following script to re-run the verification:

Once confirmed, ensure that fiber’s implementation meets the expected behavior of a full context interface.


🏁 Script executed:

#!/bin/bash
# Switch to fixed-string searches to avoid regex errors:
echo "Searching for 'Deadline(' occurrences:"
rg -F "Deadline(" -n .
echo "Searching for 'Done(' occurrences:"
rg -F "Done(" -n .
echo "Searching for 'Err(' occurrences:"
rg -F "Err(" -n .
echo "Searching for 'Value(' occurrences:"
rg -F "Value(" -n .

Length of output: 13083


Context Implementation Verified

We confirmed via fixed-string searches that the fiber context does indeed provide the complete set of methods required by the context.Context interface. In particular, the methods:

  • Deadline() (e.g., ctx_interface_gen.go:63 and ctx.go:453)
  • Done() (evident from ctx_interface_gen.go:95 and ctx.go:465)
  • Err() (from ctx_interface_gen.go:106 and ctx.go:501)
  • Value() (from ctx_interface_gen.go:363 and ctx.go:1847)

are all present in the implementation (typically via the underlying DefaultCtx). This indicates that using context.WithTimeout(ctx, timeout) on a fiber.Ctx will enforce the expected timeout behavior.

middleware/keyauth/keyauth_test.go (1)

547-547: Good improvement in context handling

This change simplifies the code by directly passing the fiber.Ctx object to TokenFromContext instead of retrieving the context via c.Context(). This aligns with the PR objective of making Ctx implement context.Context directly.

middleware/timeout/timeout_test.go (4)

44-44: Clean context handling improvement

The code now directly passes the fiber.Ctx object instead of extracting the context via c.Context(). This is a positive change that leverages the implementation of context.Context interface in fiber.Ctx.


63-63: Simplified context passing

Directly passing the fiber.Ctx object to sleepWithContext improves code clarity and takes advantage of the new context implementation.


84-84: Consistent context handling

This change maintains consistency with the other similar changes in this file, simplifying how contexts are passed throughout the codebase.


24-34:

Details

❓ Verification inconclusive

Verify sleepWithContext compatibility with fiber.Ctx

The sleepWithContext function expects a context.Context parameter, and now it's being called with a fiber.Ctx object. This works because fiber.Ctx now implements the context.Context interface.


🏁 Script executed:

#!/bin/bash
# Check that fiber.Ctx fully implements context.Context interface

# First, find all methods of the context.Context interface
echo "Methods required by context.Context interface:"
rg --no-filename -A 4 "type Context interface" | grep -E '^\s+[A-Z][a-zA-Z]+' | sed 's/^[[:space:]]*//'

# Now check for these methods in the Ctx interface or DefaultCtx struct
echo -e "\nChecking implementation in fiber.Ctx:"
rg --no-filename -C 1 "func \(\*?DefaultCtx\) (Deadline|Done|Err|Value)" | grep -v "^--$"

Length of output: 391


Action Required: Confirm fiber.Ctx Correctly Implements context.Context

The sleepWithContext function relies on being passed a compliant context.Context. Although the recent changes assume that fiber.Ctx now implements methods such as Deadline(), Done(), Err(), and Value(), our initial verification script didn’t produce any output confirming these methods in fiber.Ctx (or its underlying DefaultCtx).

Next Steps:

  • Manually verify that the fiber.Ctx (or related DefaultCtx type) in the fiber package provides the full implementation of the context.Context interface.
  • If automated verification is desired, consider extending the script to search more comprehensively or inspect the fiber package documentation to confirm these methods.

Please confirm that fiber.Ctx satisfies all requirements of context.Context, so we can safely assume compatibility with sleepWithContext.

Comment thread ctx.go
Comment on lines +447 to +455
// Deadline returns the time when work done on behalf of this context
// should be canceled. Deadline returns ok==false when no deadline is
// set. Successive calls to Deadline return the same results.
//
// Due to current limitations in how fasthttp works, Deadline operates as a nop.
// See: https://github.com/valyala/fasthttp/issues/965#issuecomment-777268945
func (c *DefaultCtx) Deadline() (deadline time.Time, ok bool) {
return
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Address bare return and unused receiver for the Deadline method.

This method returns nothing and produces lint errors about a bare return and an unused receiver. Returning explicit zero values also clarifies the method’s no-op behavior:

func (c *DefaultCtx) Deadline() (deadline time.Time, ok bool) {
-	return
+	return time.Time{}, false
}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// Deadline returns the time when work done on behalf of this context
// should be canceled. Deadline returns ok==false when no deadline is
// set. Successive calls to Deadline return the same results.
//
// Due to current limitations in how fasthttp works, Deadline operates as a nop.
// See: https://github.com/valyala/fasthttp/issues/965#issuecomment-777268945
func (c *DefaultCtx) Deadline() (deadline time.Time, ok bool) {
return
}
// Deadline returns the time when work done on behalf of this context
// should be canceled. Deadline returns ok==false when no deadline is
// set. Successive calls to Deadline return the same results.
//
// Due to current limitations in how fasthttp works, Deadline operates as a nop.
// See: https://github.com/valyala/fasthttp/issues/965#issuecomment-777268945
func (c *DefaultCtx) Deadline() (deadline time.Time, ok bool) {
return time.Time{}, false
}
🧰 Tools
🪛 GitHub Check: codecov/patch

[warning] 453-454: ctx.go#L453-L454
Added lines #L453 - L454 were not covered by tests

🪛 GitHub Check: lint

[failure] 454-454:
bare-return: avoid using bare returns, please add return expressions (revive)


[failure] 453-453:
unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)

🪛 GitHub Actions: golangci-lint

[error] 453-453: unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)

Comment thread ctx.go
Comment on lines +493 to +503
// If Done is not yet closed, Err returns nil.
// If Done is closed, Err returns a non-nil error explaining why:
// context.DeadlineExceeded if the context's deadline passed,
// or context.Canceled if the context was canceled for some other reason.
// After Err returns a non-nil error, successive calls to Err return the same error.
//
// Due to current limitations in how fasthttp works, Err operates as a nop.
// See: https://github.com/valyala/fasthttp/issues/965#issuecomment-777268945
func (c *DefaultCtx) Err() error {
return nil
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix no-op Err method by removing unused receiver or returning explicit values.

Similar to the other methods, the receiver “c” is unused. Either rename it to _ or explicitly return a recognizable constant:

func (c *DefaultCtx) Err() error {
-	return nil
+	return context.Canceled // or context.DeadlineExceeded, based on intended behavior
}
🧰 Tools
🪛 GitHub Check: codecov/patch

[warning] 501-502: ctx.go#L501-L502
Added lines #L501 - L502 were not covered by tests

🪛 GitHub Check: lint

[failure] 501-501:
unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)

Comment thread ctx.go
Comment on lines +1841 to +1849
// Value makes it possible to pass any values under keys scoped to the request
// and therefore available to all following routes that match the request.
//
// All the values are removed from ctx after returning from the top
// RequestHandler. Additionally, Close method is called on each value
// implementing io.Closer before removing the value from ctx.
func (c *DefaultCtx) Value(key any) any {
return c.fasthttp.UserValue(key)
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

💡 Verification agent

🧩 Analysis chain

Add test coverage for the newly introduced Value method.

This method looks correct, but the coverage hints indicate it's untested. Please add unit tests to ensure it’s validated for handling user values correctly.


🏁 Script executed:

#!/bin/bash
# Attempt to locate tests referencing the Value() method.
rg -A 5 "Value("

Length of output: 81


It appears that the previous command failed due to unescaped parentheses. Please re-run the above script to confirm whether there are any existing tests for Value(). If the output still shows no references, then we need to add unit tests for this method.


Attention: Missing Unit Tests for Value() Method

  • The Value() method currently delegates to fasthttp.UserValue, but no tests were found verifying its behavior.
  • Please add unit tests to ensure:
    • Correct retrieval of user values via fasthttp.UserValue.
    • Proper handling of edge cases (e.g., missing or nil keys).
    • That the method integrates correctly within the overall request context.

🏁 Script executed:

#!/bin/bash
# Searching for test references to the Value() method using a fixed-string search to avoid regex issues.
rg -F -A 5 "func (c *DefaultCtx) Value(" .

Length of output: 390


Missing Unit Tests for the Value() Method

The Value() method successfully wraps the fasthttp.UserValue call, but our codebase currently has no tests verifying its behavior. To ensure robustness, please add unit tests that:

  • Validate correct retrieval of existing user values.
  • Confirm the behavior when a key does not exist or returns nil.
  • (Optional) Verify integration within the overall request context if applicable.
🧰 Tools
🪛 GitHub Check: codecov/patch

[warning] 1847-1848: ctx.go#L1847-L1848
Added lines #L1847 - L1848 were not covered by tests

Comment thread ctx.go
Comment on lines +457 to +467
// Done returns a channel that's closed when work done on behalf of this
// context should be canceled. Done may return nil if this context can
// never be canceled. Successive calls to Done return the same value.
// The close of the Done channel may happen asynchronously,
// after the cancel function returns.
//
// Due to current limitations in how fasthttp works, Done operates as a nop.
// See: https://github.com/valyala/fasthttp/issues/965#issuecomment-777268945
func (c *DefaultCtx) Done() <-chan struct{} {
return nil
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Resolve unused receiver by using an explicit no-op approach for Done.

Currently, the receiver isn't used, and returning nil triggers lint warnings. Either rename the receiver to _ or supply a do-nothing channel. For example:

func (c *DefaultCtx) Done() <-chan struct{} {
-	return nil
+	ch := make(chan struct{})
+	return ch
}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// Done returns a channel that's closed when work done on behalf of this
// context should be canceled. Done may return nil if this context can
// never be canceled. Successive calls to Done return the same value.
// The close of the Done channel may happen asynchronously,
// after the cancel function returns.
//
// Due to current limitations in how fasthttp works, Done operates as a nop.
// See: https://github.com/valyala/fasthttp/issues/965#issuecomment-777268945
func (c *DefaultCtx) Done() <-chan struct{} {
return nil
}
// Done returns a channel that's closed when work done on behalf of this
// context should be canceled. Done may return nil if this context can
// never be canceled. Successive calls to Done return the same value.
// The close of the Done channel may happen asynchronously,
// after the cancel function returns.
//
// Due to current limitations in how fasthttp works, Done operates as a nop.
// See: https://github.com/valyala/fasthttp/issues/965#issuecomment-777268945
func (c *DefaultCtx) Done() <-chan struct{} {
ch := make(chan struct{})
return ch
}
🧰 Tools
🪛 GitHub Check: codecov/patch

[warning] 465-466: ctx.go#L465-L466
Added lines #L465 - L466 were not covered by tests

🪛 GitHub Check: lint

[failure] 465-465:
unused-receiver: method receiver 'c' is not referenced in method's body, consider removing or renaming it as _ (revive)

@gaby
Copy link
Copy Markdown
Member

gaby commented Mar 30, 2025

@pjebs Please post/discuss examples in the issue #3358 before submitting a Pull Request.

@gaby gaby closed this Mar 30, 2025
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.

2 participants