Check the systemd unit's hooks locally before pushing

Open
#252 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
docker, rust
Domain
devops, testing

Research direction

Start by reading the unit file and hook scripts involved in the systemd behavior described in the issue, then inspect the release smoke test to understand how tinyobserve is currently launched. The issue calls for a documented script that runs tinyobserve in an ubuntu:24.04 container under systemd, reloads it, and reports whether the hooks succeeded; done when that flow works locally and the release smoke test remains separate.

Written by the indexing model from the issue text.

Description

area:ops chore priority:low

As the maintainer,
I want to run the unit's start and reload hooks under real systemd on my machine,
so that systemd-only behaviour fails before CI does.

Acceptance criteria

  • Given a documented script, when I run it, then it starts tinyobserve under systemd in an ubuntu:24.04 container, reloads it, and reports whether the hooks succeeded.

Success signal: unit changes stop failing first on CI.
Out of scope: replacing the release smoke test.
Open questions: none.

Technical notes

Found during #218 (PR #246): the hook failed with EXDEV only under systemd 255's per-unit mount namespace, which was first seen on CI.

Dominant language
Rust
Stars
0
Forks
0
Avg merge
40m
Merged PRs (30d)
91

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from jdrouet/tinyobserve

All issues in jdrouet/tinyobserve

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.