Skip to content

SK-271 // replace stable-spec with owner mtime for pod tracking - #265

Open
drmorr0 wants to merge 1 commit into
mainfrom
drmorr/stable-pod-spec-hash
Open

SK-271 // replace stable-spec with owner mtime for pod tracking#265
drmorr0 wants to merge 1 commit into
mainfrom
drmorr/stable-pod-spec-hash

Conversation

@drmorr0

@drmorr0 drmorr0 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Description and Rationale

  • Change 1: Why we made the change

How

  • TODO

Test Steps

  • TODO

Other Notes

  • TODO

  • I certify that this PR does not contain any code that has been generated with GitHub Copilot or any other AI-based code generation tool, in accordance with this project's policies.

@drmorr0
drmorr0 force-pushed the drmorr/stable-pod-spec-hash branch 2 times, most recently from 1af42fe to 8199d4c Compare August 14, 2026 21:11
@drmorr0 drmorr0 mentioned this pull request Aug 17, 2026
1 task
@drmorr0
drmorr0 changed the base branch from main to drmorr/kube-resource-id August 18, 2026 19:51
@drmorr0
drmorr0 changed the base branch from drmorr/kube-resource-id to main August 18, 2026 19:52
@drmorr0
drmorr0 force-pushed the drmorr/stable-pod-spec-hash branch 2 times, most recently from 8fedb7b to 8f50948 Compare August 19, 2026 05:09
@codecov

codecov Bot commented Aug 19, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.75000% with 15 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.39%. Comparing base (4fb263f) to head (9f790f4).

Files with missing lines Patch % Lines
sk-tracer/src/util.rs 73.91% 6 Missing ⚠️
sk-driver/src/runner.rs 83.33% 4 Missing ⚠️
sk-tracer/src/owners_index.rs 98.05% 2 Missing ⚠️
sk-core/src/trace/index.rs 96.29% 1 Missing ⚠️
sk-driver/src/mutation.rs 94.44% 1 Missing ⚠️
sk-tracer/src/manager.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #265      +/-   ##
==========================================
+ Coverage   79.35%   79.39%   +0.04%     
==========================================
  Files          61       62       +1     
  Lines        4000     3999       -1     
==========================================
+ Hits         3174     3175       +1     
+ Misses        826      824       -2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@drmorr0
drmorr0 force-pushed the drmorr/stable-pod-spec-hash branch 3 times, most recently from 1e93c0c to 4321a1b Compare August 19, 2026 17:59
pub fn store_object(&mut self, owner_id: KubeResourceId, hash: u64, mtime: i64) {
let entry = self.m.entry(owner_id).or_default();
entry.hash = Some(hash);
entry.mtimes.push(mtime);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a check here that the mtimes are monotonic

@drmorr0
drmorr0 force-pushed the drmorr/stable-pod-spec-hash branch 3 times, most recently from 98504d4 to 45a1ce0 Compare August 25, 2026 23:05
@drmorr0 drmorr0 changed the title Drmorr/stable pod spec hash SK-271 // replace stable-spec with owner mtime for pod tracking Aug 25, 2026
@linear-code

linear-code Bot commented Aug 25, 2026

Copy link
Copy Markdown

SK-271

@drmorr0
drmorr0 deployed to maintainer-approval August 25, 2026 23:16 — with GitHub Actions Active
@drmorr0
drmorr0 force-pushed the drmorr/stable-pod-spec-hash branch from 45a1ce0 to 29d63cd Compare August 26, 2026 05:11
@drmorr0
drmorr0 deployed to maintainer-approval August 26, 2026 05:18 — with GitHub Actions Active
@drmorr0
drmorr0 deployed to maintainer-approval August 26, 2026 17:12 — with GitHub Actions Active
@drmorr0
drmorr0 force-pushed the drmorr/stable-pod-spec-hash branch from 29d63cd to 56da27b Compare August 26, 2026 20:22
@drmorr0
drmorr0 deployed to maintainer-approval August 26, 2026 20:23 — with GitHub Actions Active
@drmorr0
drmorr0 force-pushed the drmorr/stable-pod-spec-hash branch from 56da27b to 89eca7c Compare August 27, 2026 05:06
@drmorr0
drmorr0 force-pushed the drmorr/stable-pod-spec-hash branch from 89eca7c to 9f790f4 Compare August 27, 2026 05:12
@drmorr0
drmorr0 deployed to maintainer-approval August 27, 2026 05:13 — with GitHub Actions Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant