OU-1472: lint tags - #1221
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
Skipping CI for Draft Pull Request. |
1799e7c to
457d260
Compare
|
@PeterYurkovich: This pull request references OU-1472 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
WalkthroughCypress tag definitions now use modifier, infrastructure, and feature categories. Two ESLint rules validate tag arrays and ordering. Cypress suites, commands, and documentation use the updated tags. The previous tag declaration file was removed. ChangesCypress tag governance
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: 🔵 Low · up to The change adds Cypress tag linting and updates test commands, but one test assertion may fail and the dashboard command can omit Perses suites while the new ACM command is not documented. The PR is otherwise mergeable with owner awareness and follow-up on these bounded issues. Sequence Diagram(s)sequenceDiagram
participant CypressSource
participant ESLintConfig
participant CypressTagRules
CypressSource->>ESLintConfig: load Cypress TypeScript rules
ESLintConfig->>CypressTagRules: validate tags in Cypress call options
CypressTagRules->>CypressSource: report diagnostics or apply autofixes
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 14 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (14 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 6 functions across 21 files. (3 skipped: 3 unsupported.) Full details: Stable And Deterministic Test NamesExplanation PASS. The committed change set contains no Go or Ginkgo files and adds no Full details: Test Structure And QualityExplanation PASS — The custom check targets Ginkgo test code, but this pull request changes no Go files and introduces only Cypress/ESLint TypeScript files. The changed test files use ESLint RuleTester with Full details: Microshift Test CompatibilityExplanation PASS. The pull-request diff adds no Go or Ginkgo e2e tests. The changed Cypress suites only modify titles and tags, while the new Full details: Single Node Openshift (Sno) Test CompatibilityExplanation PASS: The check is not applicable. The diff against Full details: Topology-Aware Scheduling CompatibilityExplanation PASS: The check is not applicable. The pull-request diff contains Cypress tests, tag types, ESLint rules, documentation, and configuration only. It adds or modifies no deployment manifests, operator code, controllers, or scheduling fields. The added code classifies and sorts test tags; the added-line scan found no scheduling constraints such as affinity, topology spread, replicas, node selectors, tolerations, or PDB settings. Full details: Ote Binary Stdout ContractExplanation PASS — The check is not applicable to this pull request. The verified diff changes only Cypress documentation, TypeScript/ESLint files, and package configuration. It does not change an OTE binary or any Go process-level code. Repository searches found no Full details: Ipv6 And Disconnected Network Test CompatibilityExplanation PASS: The check is not applicable to this pull request. The diff adds no Ginkgo or Go e2e tests. It only changes existing Cypress TypeScript tags/titles and adds ESLint rules and tests. Added lines contain no IPv4 addresses, IPv4-only parsing, public URLs, registry pulls, or external service connections. The existing Full details: No-Weak-CryptoExplanation PASS: The pull request changes Cypress tags, ESLint rules, documentation, and package scripts. The only credential-related code is the pre-existing Full details: Container-PrivilegesExplanation No explicit container-privilege failure was introduced. The PR changes Cypress, ESLint, documentation, and Full details: No-Sensitive-Data-In-LogsExplanation PASS. The pull request introduces Cypress tag metadata and ESLint rules. A direct diff review found no added
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
|
/pipeline required |
|
Scheduling required tests: |
|
/lgtm |
|
Pipeline controller notification No second-stage tests were triggered for this PR. This can happen when:
Use |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: etmurasaki, PeterYurkovich The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-coo e2e-perses e2e-acm |
Stack created with GitHub Stacks CLI • Give Feedback 💬
Summary by CodeRabbit
Testing
Documentation