Static Review for a Workshop Rescheduling Feature

Bring a sast scanner finding into a review of workshop rescheduling, then check who can approve a move and which reminder goes out after the booking changes.

A workshop rescheduling pull request should tell reviewers what happens to the existing reservation, who can approve the move, and when participants hear about it. Put those rules in the review description. Then trace how the proposed code updates the reservation, what the venue sees, and what the reminder system is asked to send. Give each resulting record an owner so a reviewer can tell where an unexpected time came from.

Write the rules in the pull request

State the workshop’s policy in terms the maintainer and coordinator can both check. For example, an organizer can ask for a move on their own reservation, a booking administrator can approve it, and the facilitator can see the current schedule. Write down which venue time zone the coordinator uses and what happens to the room, group limit, and booking reference.

The OWASP secure code review guide highlights business logic as an area for manual review. Give the reviewer a short list of transitions. This example assumes the original slot remains booked until the move is approved and the booking keeps its reference.

  • Requested. The organizer asks to move from 10 a.m. to 2 p.m. The request is pending, and the existing booking and reminder are still for 10 a.m.
  • Declined. The administrator records that decision on the request. The confirmed time and reminder stay at 10 a.m.
  • Approved. The administrator confirms 2 p.m. as the single current slot. The move appears in the booking history. The pending reminder for 10 a.m. is superseded and a reminder for 2 p.m. is scheduled.

Ask the workshop coordinator to read the list before approval. If a move to a smaller room requires a fresh capacity check, put that rule in the acceptance criteria and name the role that decides what to do if the group will not fit.

Trace the booking, calendar, and reminder

Start at the changed code that handles an approval. Follow the normal path from the decision to the records it updates. Use the workshop rules as a checklist while you read.

  1. Confirm who can change which reservation. Point to the code that checks the actor’s permission for this booking and makes sure the request can still be approved. Include staff tools or background jobs that use the same operation in the review scope.
  2. Find the authoritative appointment time. Identify where the current slot is stored and where the venue and facilitator read it. Ask how two normal staff decisions on the same request resolve to one outcome. Include the status shown to the second staff member.
  3. Follow the reminder after approval. Identify where a pending reminder tied to the original slot is retired and where its replacement is scheduled. Clarify whether a delivery retry reuses the existing reminder record and how support can tell when delivery is pending.
  4. Read the failure behavior. Agree what the organizer sees if the move cannot be saved and what they see when the move succeeds but the notification is delayed. Decide who can reconcile a venue calendar that updates later than the booking record.

Review the changed code on the same revision cited in the pull request. Where a handler calls shared code that owns one of these rules, include that code in the review notes. For any external scheduling service, list the assumptions that still need confirmation by its owner.

Record scanner findings and review decisions

Attach a scanner finding to the revision, file or component, and operation it concerns. Record the maintainer’s disposition and the narrow evidence that supports it. If the finding points to helper code used by the approval flow, put that context on the ticket so another reviewer can follow the decision.

When bringing a sast scanner finding into code review, keep its reference with the revision that produced it. In its subscription comparison, Topscan’s SAST page lists a dated remediation history for paid plans. For the booking pull request, pair any such record with your team’s own review note and the expected behavior to verify on the follow-up revision.

A ticket about a reminder worker might include the commit, the worker’s name, the reviewer, and the code or test that supports closing the finding. Keep a separate acceptance item for the question of whether an approved move updates the booking and retires the old reminder. Give that item to the reviewer responsible for the rescheduling rules and link it to the booking tests.

Resolve a stale reminder before merging

Take the fictional workshop booked for 10 a.m. in the venue’s local time. The organizer asks for 2 p.m., and the booking administrator approves the move. In the first revision, the reservation and venue schedule show 2 p.m., but a queued 10 a.m. reminder is still eligible to send. The reviewer holds the merge until the booking and delivery records agree about which appointment is current.

The maintainer revises the reminder handling so the old scheduled message is superseded and the replacement uses the current reservation. They also add a visible pending delivery status for the case where notification delivery is delayed. The coordinator can then treat the 2 p.m. booking as confirmed and see that a message still needs attention.

The OWASP authorization guide recommends unit and integration tests for authorization logic. Use fictional bookings when adding checks to your own application. For this example, confirm that the assigned administrator can approve the move and that the facilitator’s access is limited to the schedule view allowed by the workshop policy. Also check that a declined request keeps 10 a.m., an approved move gives the venue a single current time of 2 p.m., and a delivery retry leaves one current reminder.

In the example, the revised build meets those checks, including a pending delivery case. The reviewer records the verified commit and approves the merge. The booking coordinator can check delivery separately and direct attendees to the confirmed slot while the reminder is pending.

Frequently asked questions

Do we need actual names or email addresses in the review?

Use invented bookings and attendees with the same field shapes the feature expects. For reminder tests, use a test inbox or a fixture that captures intended delivery. A small fixture is enough for the example review if it exercises each policy decision.

Should a confirmed move keep the original booking reference?

Write the rule with the workshop coordinator. If staff follow the reservation and its change history under a single reference, keep that reference on the booking. If your policy issues a replacement reference, spell out how staff will identify the single live reservation and find the earlier one.

Which time zone belongs in the acceptance checks?

Start with the venue’s local time and specify how organizers and facilitators will see it. If organizers can be elsewhere, include an example with different local dates or times and verify the reminder text against the confirmed appointment.

What if a new commit follows approval?

Compare it with the reviewed revision. Reopen any review item that depends on modified booking, permissions, or reminder code, then record the commit and evidence for the final approval.

What if the reminder went out before staff approved the move?

Agree who sends the correction and how support can see that the earlier message was delivered. Include this as a distinct case alongside the pending-reminder example, because staff will need to tell attendees which appointment time to use.