Commit Graph

93 Commits

Author SHA1 Message Date
Frank Möhle
08529a744e Add code style summary to agent build instructions
Added basic style guidelines for C++, Web UI, and CI/CD workflows.
2026-04-07 19:36:33 +02:00
Copilot
64529bbd84 chore: move coding guidelines from .github to docs/ (#358)
* Reorganized repository documentation and updated internal configuration to reference the new docs location.
Documentation
* Updated contributor and instruction guides to point to the relocated documentation files so links and references remain correct.
---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-04-07 19:02:20 +02:00
Frank
e4c8e349da minor clarifications 2026-04-07 17:56:41 +02:00
Frank Möhle
a718caf4f7 Update FreeRTOS task management instructions
Clarify usage of delay() and yield() in FreeRTOS tasks, emphasizing the differences between ESP32 and ESP8266. Update instructions on task management and watchdog behavior.
2026-04-07 17:18:30 +02:00
Copilot
6c9922d072 docs(esp-idf): add millis/micros internals, precision-wait pattern, PDM 16-bit note, ESP_ERROR_CHECK_WITHOUT_ABORT (#357)
* Clarified PDM microphone behavior: data unit width is effectively 16-bit in PDM mode
* Updated microsecond timing with Arduino-ESP32 note about direct timer usage
* Added "Precision waiting" subsection: coarse delay then busy-spin for microsecond accuracy
* Expanded error-handling docs with non-aborting check example
* Adjusted logging example presentation for human readers

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-04-06 19:32:02 +02:00
Frank
231373acac small update to AI instructions
upstream sync
2026-04-06 18:07:48 +02:00
Frank
eb2352774d align AI instructions with upstream
some updates coming from ongoing work
2026-04-06 17:14:40 +02:00
Frank Möhle
a8463fa510 Fix ArduinoJSON path in copilot instructions
Corrected the path for ArduinoJSON and AsyncJSON dependencies.
2026-04-06 00:46:04 +02:00
copilot-swe-agent[bot]
2ac93463f5 fix: make agent-build.instructions.md visible to agent mode; fix cpp.instructions.md glob whitespace
Agent-Logs-Url: https://github.com/MoonModules/WLED-MM/sessions/cc079927-b059-4d79-9290-886ef72964c8

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-04-05 15:34:11 +00:00
Frank
1fce76600c strengthen that at one firmware build is necessary after code changes. 2026-04-05 15:21:30 +02:00
Frank
19b44b73c4 add ArduinoJSON location to project overview 2026-04-05 14:58:51 +02:00
Frank Möhle
4452a6c955 Update repository structure section in instructions
small readability improvement
2026-04-05 14:32:43 +02:00
Frank Möhle
1243c7b1fa Revise *.instructions.md: separate AI-relevant special knowledge from background information for contributors (#354)
Revising AI review instructions:
* Reduce context window use for AI review tools, by avoiding repeating common knowledge and API information that is (usually) part of the AI training datasets any way.
* Introduce a mechanism to maintain both parts in single files, to avoid "silent diversion" over time
* Adding a coderabbit path instruction that ensures cross-checking of both parts whenever a PR modifies instruction files

Objectives:
* Primary Goal: only inject content in AI-visible areas that are WLED-MM–specific or which deviate from general knowledge (the context window "token cost" of true false-positive suppressors is always worth it).
* Soft goal: keep each file's AI-facing section lean enough that the signal-to-noise ratio in the attention layer stays high — around 1,500–2,000 words per file type is a reasonable practical ceiling for current models.
* Aspirational: 500 words per file if achievable without sacrificing review quality.

This is an evolution of #353, based on the discussion in https://github.com/MoonModules/WLED-MM/pull/353#issuecomment-4186989873

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-04 22:58:30 +02:00
Frank Möhle
5bf6306755 Update guidelines for code review process
Added a guideline to justify or remove unused/dead code.
2026-04-04 02:48:37 +02:00
Frank Möhle
774efc3768 Enhance instructions on acknowledging good patterns
Expanded the guideline on acknowledging good patterns to include summarizing good practices as part of reviews.
2026-04-04 02:39:38 +02:00
Copilot
44a96c311d Revise copilot-instructions.md: consolidate, shorten, extract and extend language-specific rules (#353)
Revise copilot-instructions.md: consolidate redundant sections, extract language-specific rules
* Added comprehensive internal documentation files establishing coding standards and development workflows for C++, Web UI, CI/CD, and ESP-IDF components.
* Implemented CodeRabbit configuration to enforce repository-specific code review guidance and quality standards across pull requests.
* Documented development workflow procedures and contribution expectations to streamline the development process and improve code consistency.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-04 01:41:06 +02:00
Frank
280a8d070b python update for build.yml 2026-04-02 11:51:15 +02:00
Frank
28834aa17c documentation sync with upstream 2026-04-02 11:37:35 +02:00
Frank Möhle
9d73bcc2ad Clarify instructions to always use the correct source code branch
Updated instructions for providing references in analysis results.
2026-03-30 00:19:48 +02:00
Frank
a233e99909 Update copilot-instructions.md
align with instruction used in upstream
2026-03-28 11:37:39 +01:00
Frank
855cfae224 align filtering in release.yml and nightly.yml 2026-01-16 23:46:25 +01:00
Frank Möhle
28b43d564f Update excluded labels in nightly workflow
Added additional labels to exclude from changelog generation:
question,use-as-is,not_planned
2026-01-16 20:25:27 +01:00
copilot-swe-agent[bot]
cdcea319fe Fix garbled nightly build release notes by using body_path instead of encoded output
Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 20:18:56 +00:00
copilot-swe-agent[bot]
649c86d83f Change nightly release title from "Nightly Release" to "Nightly mdev Build"
Updated the release name in nightly.yml to better reflect that this is a
development build (mdev) rather than a production release.

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 12:46:51 +00:00
copilot-swe-agent[bot]
7dff6c7b65 Update changelog generator action from v2.3 to v2.4 to fix set-output deprecation
The v2.4 release fixes the deprecated set-output command by using GITHUB_OUTPUT
environment file instead. This eliminates the deprecation warning in nightly builds.

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 12:43:33 +00:00
copilot-swe-agent[bot]
143f89243c Fix changelog generator parameter name from exclude-labels to excludeLabels
The action janheinrichmerker/action-github-changelog-generator@v2.3 expects
camelCase parameter names. Changed 'exclude-labels' to 'excludeLabels' in both
nightly.yml and release.yml to fix the nightly release action failure.

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 11:04:58 +00:00
copilot-swe-agent[bot]
39899c1061 Implement nightly VERSION automation using PlatformIO script
- Created pio-scripts/set_nightly_version.py following existing set_version.py pattern
- Script sets VERSION to yymmddb format with build number 0 for nightly builds
- Modified build.yml to accept nightly_build boolean input
- Modified nightly.yml to pass nightly_build=true flag
- Added set_nightly_version.py to platformio.ini extra_scripts
- Uses WLED_NIGHTLY_BUILD environment variable to conditionally set VERSION

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 10:11:48 +00:00
copilot-swe-agent[bot]
8c70acad65 Add automatic VERSION setting for nightly builds
- Modified build.yml to accept optional version input parameter
- Modified nightly.yml to calculate VERSION from build date in format yymmddb
- VERSION is passed as PLATFORMIO_BUILD_FLAGS to override default in wled.h
- Other workflows (wled-ci.yml, release.yml) unchanged and will use default VERSION

Co-authored-by: softhack007 <91616163+softhack007@users.noreply.github.com>
2026-01-15 10:08:10 +00:00
Will Tatam
3e629ce082 release.yml 2026-01-13 19:33:09 +00:00
Will Tatam
1b59f3fa1f nightly 2026-01-13 18:54:12 +00:00
Will Tatam
4a2d5da7b1 common build file 2026-01-13 18:54:12 +00:00
Will Tatam
7b4c853418 renname common builds commands 2026-01-13 18:54:12 +00:00
Will Tatam
315f147d87 Add build instruction for common environment
Added instruction to run a build for the common environment before finishing changes.
2025-09-20 12:26:16 +01:00
netmindz
08c415dbaf Change npm install to npm ci for dependencies
Updated installation instructions for dependencies.
2025-09-20 12:26:06 +01:00
copilot-swe-agent[bot]
4cad8befda Add comprehensive GitHub Copilot instructions for WLED development
Co-authored-by: netmindz <442066+netmindz@users.noreply.github.com>
2025-09-20 12:25:56 +01:00
Frank
636dd2afa8 Fix CI builds by explicitly requiring ubuntu-22.04 2024-12-12 17:35:32 +01:00
Frank
2cc08486fd change version numbering scheme
* use 14.5.0-dev instead of "0.14.5.0-b32.41.dev"
* new release name "Small Step"

* semantic versioning compatibility checked, see  https://jubianchi.github.io/semver-check/#/version/14.5.0-dev
2024-12-11 15:09:05 +01:00
Will Tatam
d429293741 WLEDMM*.bin only 2024-10-04 23:10:35 +01:00
Will Tatam
e665b34236 Move bins to single directory 2024-10-04 23:02:03 +01:00
Will Tatam
2bbb890fb9 tweak caching of build 2024-10-04 22:51:10 +01:00
Will Tatam
f4e9292849 Download all artifacts 2024-10-04 22:49:00 +01:00
Will Tatam
2276080c67 Fix artifact upload 2024-09-07 18:56:59 +01:00
Will Tatam
163ba3aaf6 Update actions/download-artifct action 2024-09-07 18:32:22 +01:00
Will Tatam
678243f5ca Fix artifact upload 2024-09-07 18:23:30 +01:00
Will Tatam
3f674aeaa3 Fix artifact upload 2024-09-07 18:11:31 +01:00
Will Tatam
d08b4a51fa Fix artifact upload 2024-09-07 18:07:48 +01:00
Will Tatam
1e04f4bdb7 Update actions/setup-python action 2024-09-07 17:59:53 +01:00
Will Tatam
dabda3a02c Update actions/cache action 2024-09-07 17:56:00 +01:00
Will Tatam
ebbd06800e Update actions/setup-python action 2024-09-07 17:55:12 +01:00
Will Tatam
fff7a47ab5 Update actions/checkout action 2024-09-07 17:53:49 +01:00