Banner reconcile during an in-flight commit absorbs VyManager's own edit

Open
#1,710 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
43/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
networking

Research direction

Start by reading config_state.reconcile_baseline and the execute_batch flow, including where set_managed_config and record_failed_commit are called. Trace how the banner poller and GET /config/diff invoke reconciliation while a commit is in flight. Done when reconciliation preserves the pending edit as unsaved and retains the partial-commit notice after a failed commit.

Written by the indexing model from the issue text.

Description

bug

The 10 s banner poller and GET /config/diff run config_state.reconcile_baseline with no knowledge of a commit in progress. If one runs after the router applied a batch but before execute_batch records the managed snapshot (set_managed_config on success, record_failed_commit on failure), the edit is classed as external and folded into the baseline, so it never shows as unsaved; on a failed commit the partial-commit notice is then dropped too. A per-instance commit-in-flight marker (or generation counter) in config_state that reconcile honours would close it.

Dominant language
TypeScript
Stars
504
Forks
69
Avg merge
55m
Merged PRs (30d)
205

Getting set up

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 Community-VyProjects/VyManager

All issues in Community-VyProjects/VyManager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.