Skip to content

Populate architecture docs time daemon - #171

Draft
ryan-steel wants to merge 17 commits into
eclipse-score:mainfrom
etas-contrib:populate-architecture-docs-time-daemon
Draft

Populate architecture docs time daemon#171
ryan-steel wants to merge 17 commits into
eclipse-score:mainfrom
etas-contrib:populate-architecture-docs-time-daemon

Conversation

@ryan-steel

@ryan-steel ryan-steel commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Moves feature/time_daemon/index.rst docs to the detailed design.

Related ticket

Part of #95

Stack Info

Part of stacked PR chain (layer 3 of 3):

  1. docs: add module_template docs boilerplate to time_daemon #172
  2. add time_daemon component requirements #153
  3. Populate architecture docs time daemon #171 (this PR)

Commits in this layer: 7

@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: cef63aba-b42a-4c90-8f8c-74f6e4cc1247
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 3 packages loaded
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Loading: 3 packages loaded
    currently loading: 
Analyzing: target //:license-check (4 packages loaded, 0 targets configured)
Analyzing: target //:license-check (4 packages loaded, 0 targets configured)

Analyzing: target //:license-check (52 packages loaded, 10 targets configured)

Analyzing: target //:license-check (134 packages loaded, 227 targets configured)

Analyzing: target //:license-check (154 packages loaded, 4158 targets configured)

Analyzing: target //:license-check (159 packages loaded, 6206 targets configured)

Analyzing: target //:license-check (164 packages loaded, 6255 targets configured)

Analyzing: target //:license-check (164 packages loaded, 6255 targets configured)

Analyzing: target //:license-check (164 packages loaded, 6255 targets configured)

Analyzing: target //:license-check (167 packages loaded, 8142 targets configured)

Analyzing: target //:license-check (170 packages loaded, 11342 targets configured)

Analyzing: target //:license-check (171 packages loaded, 11350 targets configured)

Analyzing: target //:license-check (171 packages loaded, 11350 targets configured)

Analyzing: target //:license-check (172 packages loaded, 11476 targets configured)

INFO: Analyzed target //:license-check (172 packages loaded, 11476 targets configured).
INFO: From Generating Dash formatted dependency file ...:
INFO: Successfully converted 2 packages from Cargo.lock to bazel-out/k8-fastbuild/bin/formatted.txt
[14 / 16] [Prepa] JavaToolchainCompileBootClasspath external/rules_java+/toolchains/platformclasspath.jar
INFO: Found 1 target...
Target //:license.check.license_check up-to-date:
  bazel-bin/license.check.license_check
  bazel-bin/license.check.license_check.jar
INFO: Elapsed time: 30.415s, Critical Path: 2.45s
INFO: 16 processes: 12 internal, 3 processwrapper-sandbox, 1 worker.
INFO: Build completed successfully, 16 total actions
INFO: Running command line: bazel-bin/license.check.license_check ./formatted.txt <args omitted>
usage: org.eclipse.dash.licenses.cli.Main [-batch <int>] [-cd <url>]
       [-confidence <int>] [-ef <url>] [-excludeSources <sources>] [-help] [-lic
       <url>] [-project <shortname>] [-repo <url>] [-review] [-summary <file>]
       [-timeout <seconds>] [-token <token>]

@ryan-steel
ryan-steel force-pushed the populate-architecture-docs-time-daemon branch from ff08e12 to 0cc2680 Compare August 14, 2026 09:52
@ryan-steel
ryan-steel force-pushed the populate-architecture-docs-time-daemon branch from 0cc2680 to 126318c Compare August 14, 2026 09:54
@ryan-steel
ryan-steel force-pushed the populate-architecture-docs-time-daemon branch from 126318c to 050d741 Compare August 14, 2026 10:05
@ryan-steel
ryan-steel force-pushed the populate-architecture-docs-time-daemon branch from 050d741 to bb49beb Compare August 14, 2026 10:12
@ryan-steel
ryan-steel force-pushed the populate-architecture-docs-time-daemon branch from 994e266 to 1b59267 Compare August 17, 2026 09:01
@ryan-steel
ryan-steel force-pushed the populate-architecture-docs-time-daemon branch from 1b59267 to 51a629d Compare August 17, 2026 09:01
ryan-steel and others added 15 commits August 17, 2026 13:45
Update readme

---------

Co-authored-by: Ryan Steel <ryan.steel@etas.com>
* Update README.md (eclipse-score#152)
* ci(codeql): production-only build via cquery;
Replace SARIF post-processing with build-level test exclusion:
- Use bazel cquery --config=codeql with 'except attr(testonly, 1, ...)' to
  resolve production-only labels before the traced build; testonly targets,
  platform-incompatible targets (e.g. QNX-only), and multi-config duplicates
  are all excluded before any source file enters the database
- Add --skip_incompatible_explicit_targets to bazel build so explicit label
  lists tolerate platform-incompatible targets gracefully

Fix BUILD hygiene:
- Add testonly=True to svt_receiver_mock alias (//score/time_daemon/src/ipc)
- Add testonly=True to HighResSteadyTimeBenchmark cc_binary

Add RULE-7-0-4 deviation (tool defect: stream operator<< mis-flagged as shift)

Refactor tooling layout (module-agnostic vs module-specific split):
- Extract codeql.bzl macro; BUILD reduced to a 3-line load + call
- Move coding-standards.yaml to tools/static_analysis/ (process_coding_standards_config
  scans recursively, root location is not required)
- coding-standards.yaml declared as explicit Bazel filegroup for incremental
  rebuild tracking

Update README: file layout section, cquery-based phase descriptions,
build-level test exclusion explanation, remove stale gap eclipse-score#4

* ci(codeql): run codeql on ci
Replace the shared eclipse-score/cicd-workflows CodeQL wrapper with a direct
invocation of tools/static_analysis:codeql_lint, mirroring the local workflow
exactly.

Motivation:
- The shared wrapper used github/codeql-action/init (unpinned CodeQL version)
  and packs: codeql/misra-cpp-coding-standards (downloaded from registry at
  runtime, no deviation processing).
- Our codeql_lint uses the pinned CLI (@codeql_bundle v2.21.4), the pinned
  MISRA pack (@codeql_coding_standards_compiled v2.61.0), and runs
  process_coding_standards_config to apply coding-standards.yaml deviations
  before the analysis. Findings from known tool defects (e.g. RULE-7-0-4)
  are suppressed in the results.

Changes:
- Replace reusable workflow call with a standalone job
- Add more-disk-space (level 4) — CodeQL database + tooling requires headroom
- Run bazel run //tools/static_analysis:codeql_lint with the same arguments
  as the local invocation; output goes to runner.temp
- Upload codeql-time.sarif to GitHub Security tab via upload-sarif@v3
- Upload analysis_reports/ as a build artifact for audit/compliance use

Co-authored-by: Ryan Steel <ryan.steel@etas.com>
@ryan-steel
ryan-steel force-pushed the populate-architecture-docs-time-daemon branch from 51a629d to 4e864d8 Compare August 17, 2026 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants