Commit Graph

9480 Commits (influxdb3-perf-tuning-page)

Author SHA1 Message Date
Jason Stirnaman 02efdb262b fix(ci): resolve link validation workflow false failures
- Fix GitHub Actions exit logic to only fail when broken links exist
- Improve Cypress test error handling with robust fallback mechanism
- Enhance Test Setup Validation to handle cache scenarios correctly

The workflow was incorrectly failing when generating success comments
with cache statistics, treating any comment generation as broken links.
Now properly distinguishes between success messages and actual failures.
2025-07-28 22:39:40 -05:00
Jason Stirnaman a087906b83 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 21:58:09 -05:00
Jason Stirnaman 0fc2efc938 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 21:58:09 -05:00
Jason Stirnaman 660170435f ci: convert cypress scripts to CommonJS:
Verification Results

  - Direct module loading:  Works perfectly
  - Incremental validation:  Processes files correctly

  - Subprocess calls:  No EPIPE errors
  - Cache functionality:  Operating normally

  🔧 Technical Details

  - All modules now use CommonJS require() statements
  - Proper module.exports for compatibility
  - File extensions changed to .cjs to work with type:
   module in package.json
  - Maintained all existing functionality and error
  handling
2025-07-28 21:58:09 -05:00
Jason Stirnaman eac1acfdf8 ci: fix timeout command, set timeout options, enhance logging:
1. Timeout Handling: Proper timeout command syntax
  with specific timeout error detection
  2. Process Management: Environment variable for Hugo
   shutdown timeout
  3. Debugging: Enhanced log collection and artifact
  uploads
  4. Error Context: Better error messages that help
  identify root causes (EPIPE, timeouts, etc.)
  5. Resource Constraints: Memory limits and
  CI-specific optimizations
2025-07-28 21:03:31 -05:00
Jason Stirnaman f873562667 Update cypress/support/run-e2e-specs.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 17:41:57 -05:00
Jason Stirnaman 0d38db18e3 Update cypress/support/run-e2e-specs.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 17:41:57 -05:00
Jason Stirnaman da2ef476c1 Update .github/actions/validate-links/action.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 17:41:57 -05:00
Jason Stirnaman 215ecfb7f9 ci: improve Hugo process management to address EPIPE errors in Github Actions. - Proactive monitoring: Detecting when Hugo dies
during execution
    - Resource management: Reducing memory pressure in
  CI that causes process termination
    - Signal handling: Properly cleaning up processes
  on unexpected termination
    - Timeout adjustments: Giving more time for
  operations in CI environments
  3. The Test Setup Validation Failure: This was
  happening because the before() hook was failing when
  it couldn't communicate with a dead Hugo process.
  Your health monitoring will catch this earlier and
  provide better error messages.
2025-07-28 17:41:57 -05:00
Jason Stirnaman 8a26400577 ci: Enhance logging for troubleshooting test failures not due to broken links 2025-07-28 16:54:01 -05:00
Jason Stirnaman 4ae1dec4be Update cypress/e2e/content/article-links.cy.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 16:24:24 -05:00
Jason Stirnaman 891553ac33 Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-28 16:24:24 -05:00
Jason Stirnaman 27c358037a fix: resolve code review findings:1. Fixed Cypress Race Condition: Moved logging
statements inside the async callback to ensure
  subjects array is populated before accessing its
   length
  2. Proper Async Handling: Used
  cy.wrap(Promise.all()) to handle multiple async
  Cypress tasks correctly
  3. Maintained Functionality: All existing GitHub
   Actions workflows and Cypress tests will
  continue to work

  Both naming conventions are appropriate for
  their use cases:
  - filePathToUrl: Transforms content file paths
  to URL paths
  - fileURLToPath: Converts ES module file URLs to
   file system paths
2025-07-28 16:24:24 -05:00
Jason Stirnaman d762e7800e fix: apply code review suggestions: High Priority Issues (Fixed):
1. Script execution detection in matrix-generator.js -
  Added fileURLToPath import and updated comparison
  2. Script execution detection in incremental-validator.js -
   Added fileURLToPath import and updated comparison
  3. Script execution detection in link-extractor.js - Added
  fileURLToPath import and updated comparison
  4. Script execution detection in comment-generator.js -
  Added fileURLToPath import and updated comparison

  Medium Priority Issues (Fixed):

  5. Extracted duplicated URL transformation logic - Created
  shared utility module and updated both files to use it
  6. Fixed cache key strategy - Updated GitHub workflow to
  use content-based hashing instead of base SHA

  Changes Made:

  - 4 JavaScript files: Updated with robust script execution
  detection using fileURLToPath
  - 1 utility module: Created
  /.github/scripts/utils/url-transformer.js for shared logic
  - 2 files: Updated to use the shared URL transformation
  utility
  - 1 workflow file: Improved cache key strategy for better
  cache hit rates
2025-07-28 16:24:24 -05:00
Jason Stirnaman 6a4e8827eb feat(testing): add link validation automation and improvements
- Add GitHub Actions for automated link validation on PRs
- Implement incremental validation with caching (30-day TTL, configurable)
- Add matrix generator for parallel validation strategy
- Create comprehensive TESTING.md documentation
- Add cache manager with configurable TTL via env var or CLI
- Implement smart link extraction and validation
- Add PR comment generator for broken link reports
- Update Cypress tests to use incremental validation
- Consolidate testing docs from CONTRIBUTING.md to TESTING.md

Key improvements:
- Cache-aware validation only checks changed content
- Parallel execution for large changesets
- Detailed PR comments with broken link reports
- Support for LINK_CACHE_TTL_DAYS env var
- Local testing with yarn test:links
- Reduced false positives through intelligent caching
2025-07-28 16:24:24 -05:00
Jason Stirnaman d3f60a7d7d fix(v1): callout syntax and broken anchor links 2025-07-28 11:04:12 -05:00
Scott Anderson 09d1414e22
feat: InfluxDB OSS and Enterprise 1.12.1 (#6250)
* InfluxDB OSS and Enterprise 1.12.1

* add message to enterprise 1.12 release notes

* Update content/influxdb/v1/query_language/manage-database.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* Apply suggestions from code review

Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>

* fix: update to address PR feedback

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jason Stirnaman <stirnamanj@gmail.com>
2025-07-28 10:47:31 -05:00
Jameelah Mercer 1ca63a20a2
Merge pull request #6247 from influxdata/fix/api-enterprise-docs-query-sql-field-names 2025-07-28 07:52:20 -07:00
Jason Stirnaman 61d4bf3d8c
Merge branch 'master' into fix/api-enterprise-docs-query-sql-field-names 2025-07-28 08:27:45 -05:00
Jason Stirnaman 113c82878e fix(3ent): Assume default port for prod. Add note for using different ports for dev 2025-07-25 17:19:14 -05:00
mdevy-influxdata a4fe6755bd http-bind port update
Adjusted port numbers to allow for proper load balancer routing
2025-07-25 17:02:29 -05:00
Jameelah Mercer 677af3ee4b
Merge branch 'master' into fix/api-enterprise-docs-query-sql-field-names 2025-07-25 14:46:18 -07:00
meelahme 80cb646a9b Fix POST query endpoint request body property names in Enterprise API spec 2025-07-25 14:45:16 -07:00
Jason Stirnaman be2c6ac503 fix(write_lp): Update titles with actual endpoint name, add related link in API ref. 2025-07-25 16:35:57 -05:00
Jason Stirnaman 58398e9478 feat(api-docs): enhance /api/v3/write_lp documentation with advanced features
- Add comprehensive description of native InfluxDB 3 write endpoint capabilities
- Document enhanced features: partial writes, asynchronous writes, flexible precision
- Add x-codeSamples with curl examples demonstrating parameter usage
- Clarify no_sync parameter behavior: faster response times vs durability trade-offs
- Update both Core and Enterprise API specifications consistently
- Closes #5775
2025-07-25 16:35:57 -05:00
Jason Stirnaman 9f22dd25f7
Merge pull request #6241 from influxdata/dependabot/npm_and_yarn/axios-1.11.0
chore(deps): bump axios from 1.10.0 to 1.11.0
2025-07-25 12:02:27 -05:00
dependabot[bot] 57f52ed863
chore(deps): bump axios from 1.10.0 to 1.11.0
Bumps [axios](https://github.com/axios/axios) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.11.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 16:55:42 +00:00
Jason Stirnaman cfd0ef26a6
Merge pull request #6237 from influxdata/dependabot/npm_and_yarn/form-data-4.0.4
chore(deps): bump form-data from 4.0.3 to 4.0.4
2025-07-25 11:53:24 -05:00
Jason Stirnaman 3fd4fe0c82
Merge branch 'master' into dependabot/npm_and_yarn/form-data-4.0.4 2025-07-25 11:49:49 -05:00
Jameelah Mercer 47b52eb5fb
Merge pull request #6243 from influxdata/fix/api-docs-query-sql-field-names
Correcting POST request body property names in query SQL
2025-07-25 09:33:01 -07:00
meelahme f4309d7e21 fix: trying to correct POST request body property names in query SQL API docs 2025-07-23 14:25:56 -07:00
Scott Anderson b418ba558f
hotfix: InfluxDB 3 Enterprise nodes don't need to connect to each other 2025-07-23 12:57:26 -05:00
dependabot[bot] b2de7e7e51
chore(deps): bump form-data from 4.0.3 to 4.0.4
Bumps [form-data](https://github.com/form-data/form-data) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/form-data/form-data/releases)
- [Changelog](https://github.com/form-data/form-data/blob/master/CHANGELOG.md)
- [Commits](https://github.com/form-data/form-data/compare/v4.0.3...v4.0.4)

---
updated-dependencies:
- dependency-name: form-data
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-22 05:41:30 +00:00
Scott Anderson f55c363f68 hotfix: update trial license messaging, closes influxdata/DAR#525 2025-07-19 13:53:19 -06:00
Jason Stirnaman 7bccad9dcf
Merge pull request #6214 from influxdata/jts-dar-515-naming
feat(v3): Add naming restrictions reference and guidelines:
2025-07-17 15:26:53 -05:00
Jason Stirnaman b8598c7007
Merge branch 'master' into jts-dar-515-naming 2025-07-17 15:23:31 -05:00
Scott Anderson 81c9d0ba76
feat(monolith): use minio for object storage (#6228)
* feat(monolith): use minio for object storage

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-17 15:14:17 -05:00
Jason Stirnaman 9157711913
Merge pull request #6222 from influxdata/jts-fix-docker-env
fix(docker): v1 and v2 with Docker: env, links, alt_links, formatting
2025-07-15 11:20:38 -05:00
Jason Stirnaman 6b61e8f287 fix(1ent): add v1 alt_link 2025-07-15 11:17:28 -05:00
Jason Stirnaman 8567423938 fix(docker): v1 and v2 with Docker: env, links, alt_links, formatting 2025-07-15 10:59:13 -05:00
Scott Anderson b64e83a44e
feat(html): recursive left nav (#6220)
* feat(html): resursive lef nav

* Update layouts/partials/sidebar/nested-menu.html

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* add depth to left nav template to assign category or item class

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-14 17:29:20 -05:00
Jason Stirnaman 46a0d517f3
Merge branch 'master' into jts-dar-515-naming 2025-07-14 13:56:29 -05:00
Jason Stirnaman e9cd577a72
Merge pull request #6219 from influxdata/jts-hotfix-analytics
hotfix(analytics): typo
2025-07-14 13:55:44 -05:00
Jason Stirnaman 999d16e821 hotfix(analytics): typo 2025-07-14 13:11:24 -05:00
Jason Stirnaman 2e3ec87501
Merge pull request #6217 from influxdata/jts-triggers
Processing engine examples and cleanup
2025-07-11 16:22:03 -05:00
Jason Stirnaman cdc5f0ad9a fix(influxdb3): Cleanup processing engine:
- Add separate Manage Dependencies heading
- Move external plugins for better flow\
- Remove dupes
2025-07-11 13:20:18 -05:00
Jason Stirnaman d971aa340f feat(influxdb3): show how to filter tables using and plugin code 2025-07-11 12:22:10 -05:00
Jason Stirnaman cd21fbcd22
Merge branch 'master' into jts-dar-515-naming 2025-07-11 08:36:35 -05:00
Jason Stirnaman 867324d1b7
Merge pull request #6216 from influxdata/jts-6215-admin-tables
feat(influxdb3): admin table guides for core and ent
2025-07-11 08:36:06 -05:00
Jason Stirnaman 9c14bddb3a fix(influxdb3): add tag priority guidance 2025-07-11 08:24:46 -05:00