Intermittent timeout saving a header profile edit in E2E

Open
#2,125 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@Wikid82 is already working on this.

Since Dec 2, 2026.

Assessment

This issue has not been assessed yet.

Description

bug low security

Description

In one run out of roughly six, saving an edit to a custom header profile from its card did not produce the expected request within the test's timeout. It did not reproduce in 5 follow-up runs (1 isolated, 4 repeated).

Where

tests/security/security-headers.spec.ts, the profile card-edit case (~line 282).

Knock-on effect

When the case times out, it skips its cleanup step and leaves a profile behind, which can then make the page-load heading check (security-headers.spec.ts:48, an /headers/i regex) fail on the next run because the regex also matches leftover profile card headings.

Suggested approach

  • If this recurs, capture a Playwright trace before changing anything.
  • Consider tightening the page-load heading assertion to an exact name so stray profile cards can't collide with it.
  • Consider making cleanup robust to a timed-out save (e.g. a broader afterEach sweep) so residue doesn't cascade into later test failures.

Priority

Low — rare, self-resolved on retry, not reproduced since.

Found during B8-02 E2E work.

Dominant language
Go
Stars
17
Forks
2
Avg merge
1h 42m
Merged PRs (30d)
173

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Wikid82/Charon

All issues in Wikid82/Charon

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.