Commit 8dd8233
authored
ci: implement integration testing infrastructure with mysql containers (#103)
This pull request introduces several improvements focused on code style
enforcement, editor configuration, and workflow automation, as well as
some documentation and template updates. The most important changes are
grouped below by theme.
**Editor and Code Style Enforcement**
* Added `.editorconfig` and `.editorconfig-checker.json` files with
comprehensive formatting rules for all major file types, ensuring
consistent code style and formatting across the project. This includes
specific settings for Rust, Markdown, TOML, YAML, JSON, shell scripts,
and a default fallback for other files. (`.editorconfig`,
`.editorconfig-checker.json`)
[[1]](diffhunk://#diff-0947e2727d6bad8cd0ac4122f5314bb5b04e337393075bc4b5ef143b17fcbd5bL6-R58)
[[2]](diffhunk://#diff-ffc189b5d4f8c2eb9a171e067565fbfe9ecba9a5b717d236cbf22497973fc4a3R1-R20)
* Introduced a detailed `.cursor/settings.json` for VSCode, specifying
formatter preferences, tab widths, word wrap, and rulers for each
language, further standardizing the development environment.
**Automation and CI/CD Workflows**
* Added a new `autofix.ci` workflow (`.github/workflows/autofix.yml`)
that automatically applies code formatting and linting fixes using Rust
tools and pre-commit hooks on pull requests and pushes to `main`.
* Updated all GitHub Actions workflows to use
`taiki-e/checkout-action@v1` instead of the default `actions/checkout`,
improving reliability and security.
[[1]](diffhunk://#diff-93a89f16f6717d1e4e4e27ec20ef916e3355c7aa890ca74cd9b12db30d8a899fL25-R25)
[[2]](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL53-R53)
[[3]](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL123-R123)
[[4]](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL165-R165)
[[5]](diffhunk://#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL233-R233)
**Secret Scanning and Security**
* Added a `.checkov.yml` configuration to enable secret scanning,
variable evaluation, and enforcement rules for infrastructure code, with
custom settings for output and check skipping.
**Documentation and Template Formatting**
* Improved formatting and readability in markdown documentation and
GitHub templates, including line wrapping for better accessibility and
clarity. This affects issue templates, pull request templates, Copilot
instructions, and changelog templates.
[[1]](diffhunk://#diff-c25d576890a32eb1483dee2edf4fdc1529816b846bf76ef565f577cb433c1f79L15-R17)
[[2]](diffhunk://#diff-c25d576890a32eb1483dee2edf4fdc1529816b846bf76ef565f577cb433c1f79L54-R57)
[[3]](diffhunk://#diff-185833cb26d7ac66a4d39042fd576a820c2c2c6d05ad18973bb9c7dce77267c5L23-R25)
[[4]](diffhunk://#diff-b2496e80299b8c3150b1944450bd81c622e04e13d15c411d291db0927d75fd6bL9-R10)
[[5]](diffhunk://#diff-b2496e80299b8c3150b1944450bd81c622e04e13d15c411d291db0927d75fd6bL65-R67)
[[6]](diffhunk://#diff-227c2c26cb2ee0ce0f46a320fc48fbcbdf21801a57f59161b1d0861e8aad55f5L5-R19)
[[7]](diffhunk://#diff-227c2c26cb2ee0ce0f46a320fc48fbcbdf21801a57f59161b1d0861e8aad55f5L91-R101)
[[8]](diffhunk://#diff-227c2c26cb2ee0ce0f46a320fc48fbcbdf21801a57f59161b1d0861e8aad55f5L130-R138)
[[9]](diffhunk://#diff-227c2c26cb2ee0ce0f46a320fc48fbcbdf21801a57f59161b1d0861e8aad55f5L163-R172)
[[10]](diffhunk://#diff-227c2c26cb2ee0ce0f46a320fc48fbcbdf21801a57f59161b1d0861e8aad55f5R227-R241)
[[11]](diffhunk://#diff-1f80ea1bb3b2ccb8356b3987ebb6c63076d206eacdb50de5a6d7b0027106841cR3-R12)
[[12]](diffhunk://#diff-1f80ea1bb3b2ccb8356b3987ebb6c63076d206eacdb50de5a6d7b0027106841cR21-R58)
**Rust Best Practices**
* Updated Rust best practices documentation to include maximum file
length guidelines, a recommendation to use external tools for crate
documentation, and improved code sample formatting.
[[1]](diffhunk://#diff-89ba100ca0e07303f5e83a34ce056cfc147deefd18b7847b399b5dfb6e1ca906R6)
[[2]](diffhunk://#diff-89ba100ca0e07303f5e83a34ce056cfc147deefd18b7847b399b5dfb6e1ca906R52)
[[3]](diffhunk://#diff-89ba100ca0e07303f5e83a34ce056cfc147deefd18b7847b399b5dfb6e1ca906L74-R76)
[[4]](diffhunk://#diff-89ba100ca0e07303f5e83a34ce056cfc147deefd18b7847b399b5dfb6e1ca906L92-R94)
[[5]](diffhunk://#diff-89ba100ca0e07303f5e83a34ce056cfc147deefd18b7847b399b5dfb6e1ca906R113)
These changes collectively improve code quality, enforce consistent
style, automate maintenance tasks, and enhance documentation for both
contributors and reviewers.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- New Features
- Added a “Manual Checks” action to run full project checks
interactively until all pass (formatting, linting, tests, coverage,
security, pre-commit hooks).
- Chores
- Removed the legacy “Manual CI Check” action.
- Documentation
- Clarified docs sync guidance to explicitly update files in /docs and
maintain an end‑user manual tone.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent 564ccf7 commit 8dd8233
154 files changed
Lines changed: 195579 additions & 167669 deletions
File tree
- .chglog
- .cursor
- rules
- .github
- ISSUE_TEMPLATE
- workflows
- .kiro
- hooks
- specs
- ci-cd-pipeline-enhancement
- documentation-setup
- gold-digger
- integration-testing-enhancement
- ltsv-export-support
- tls-rustls-migration
- steering
- project
- .vscode
- docs
- src
- development
- security
- troubleshooting
- usage
- project_spec
- src
- tests
- fixtures
- test_queries
- tls
- integration
- snapshots
- test_support
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| 8 | + | |
7 | 9 | | |
| 10 | + | |
8 | 11 | | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
| 21 | + | |
17 | 22 | | |
| 23 | + | |
18 | 24 | | |
| 25 | + | |
19 | 26 | | |
| 27 | + | |
20 | 28 | | |
| 29 | + | |
21 | 30 | | |
22 | 31 | | |
23 | 32 | | |
24 | 33 | | |
25 | 34 | | |
| 35 | + | |
26 | 36 | | |
| 37 | + | |
27 | 38 | | |
| 39 | + | |
28 | 40 | | |
29 | 41 | | |
30 | 42 | | |
31 | 43 | | |
32 | 44 | | |
| 45 | + | |
33 | 46 | | |
| 47 | + | |
34 | 48 | | |
| 49 | + | |
35 | 50 | | |
36 | 51 | | |
37 | 52 | | |
38 | 53 | | |
39 | 54 | | |
40 | 55 | | |
| 56 | + | |
41 | 57 | | |
| 58 | + | |
42 | 59 | | |
43 | 60 | | |
44 | 61 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| 52 | + | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
74 | | - | |
| 76 | + | |
75 | 77 | | |
76 | 78 | | |
77 | 79 | | |
| |||
89 | 91 | | |
90 | 92 | | |
91 | 93 | | |
92 | | - | |
| 94 | + | |
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
| |||
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | 6 | | |
21 | 7 | | |
22 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
23 | 14 | | |
24 | 15 | | |
25 | 16 | | |
26 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
27 | 23 | | |
28 | 24 | | |
29 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | | - | |
37 | | - | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| |||
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
54 | | - | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
| |||
0 commit comments